无法在Ubuntu 14.04 VM上构建phantomjs

时间:2015-04-10 11:42:55

标签: phantomjs

我有克隆git://github.com/ariya/phantomjs.git和checkout branch 2.0但运行时出现以下错误./build.sh

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [.obj/loader/FrameLoader.o] Error 4
make[2]: Leaving directory `/home/luc/phantomjs/src/qt/qtwebkit/Source /WebCore'
make[1]: *** [sub-Target-pri-make_first-ordered] Error 2
make[1]: Leaving directory `/home/luc/phantomjs/src/qt/qtwebkit/Source/WebCore'
make: *** [sub-Source-WebCore-WebCore-pro-make_first-ordered] Error 2

在运行构建之前,我已经按照构建文档

中的描述安装了所有软件包
sudo apt-get install build-essential g++ flex bison gperf ruby perl libsqlite3-dev libfontconfig1-dev libicu-dev libfreetype6 libssl-dev libpng-dev libjpeg-dev

知道我可以错过什么吗? 非常感谢, LUC

0 个答案:

没有答案