Getting the Code

To obtain the code using Git from the official repository github.com/ariya/phantomjs:

git clone git://github.com/ariya/phantomjs.git
cd phantomjs
git checkout 2.1.1
git submodule init
git submodule update
Compile and Link

From the code checkout:

python build.py

在ARM下编译遇到的问题如下:

Build PhantomJS from Source

 解决方法:

打开 src/qt/qtbase/src/gui/Makefile

把-O3改成-O2即可

相关文章:

  • 2021-07-05
  • 2021-12-16
  • 2021-08-18
  • 2022-12-23
  • 2021-04-12
  • 2021-06-26
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-26
  • 2021-10-31
  • 2021-05-19
相关资源
相似解决方案