Open GoogleCodeExporter opened 9 years ago
請你嘗試從github獲取代碼,並使用cmake編譯,看看是否還有問
題。
Original comment by byvo...@gmail.com
on 5 Aug 2013 at 9:20
您好,cmake错误提示:
ubuntu@ip-172-31-46-25:~/webot-douban-event/node_modules/opencc/build$ make
[ 78%] Built target libopencc
[ 78%] Built target libopencc_static
[ 78%] Built target opencc_dict
[ 78%] Building simp_to_trad_phrases.ocd
Killed
make[2]: *** [data/simp_to_trad_phrases.ocd] Error 137
make[1]: *** [data/CMakeFiles/ocds.dir/all] Error 2
make: *** [all] Error 2
只有ubuntu自带源能够安装,但是我需要部署nodejs应用,安装��
�上opencc会很麻烦,有什么办法解决么?
Original comment by noodleb...@gmail.com
on 5 Aug 2013 at 9:31
根據你的錯誤信息,可能是內存不足導致,你是否在資源十��
�受限的虛擬機上編譯?如果是,可以考慮在資源豐富的計算�
��上編譯,然後複製上去。
Original comment by byvo...@gmail.com
on 5 Aug 2013 at 10:09
[deleted comment]
非常感谢您不厌其烦的帮我解答,我在配置豆瓣同城微信公��
�平台代码,有没有什么办法解决npm install opencc
安装不上的问题呢?
Original comment by noodleb...@gmail.com
on 6 Aug 2013 at 4:31
不要在虛擬機上 npm install opencc
,在你的計算機上運行,然後把node_modules裏面的opencc目錄複��
�到虛擬機的相同目錄中。
Original comment by byvo...@gmail.com
on 6 Aug 2013 at 8:36
Original issue reported on code.google.com by
noodleb...@gmail.com
on 5 Aug 2013 at 8:49