Skip to content

Instantly share code, notes, and snippets.

@macbre
Last active August 29, 2015 14:10
Show Gist options
  • Save macbre/5d83cb2284c97058e6a8 to your computer and use it in GitHub Desktop.
Save macbre/5d83cb2284c97058e6a8 to your computer and use it in GitHub Desktop.
PhantomJS 2 build

https://github.com/ariya/phantomjs/wiki/PhantomJS-2

$ sudo apt-get install qtbase5-dev

$ /usr/lib/x86_64-linux-gnu/qt5/bin/qmake -v
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

$ nice -n 20 ./build.sh --confirm --qt=system --qtwebkit=system
System architecture... (Linux 3.13.0-41-generic x86_64)


Building main PhantomJS application...

cd src/ && ( test -e Makefile.phantomjs || /usr/lib/x86_64-linux-gnu/qt5/bin/qmake /home/macbre/src/github/phantomjs/src/phantomjs.pro -o Makefile.phantomjs ) && make -f Makefile.phantomjs 
Project ERROR: This program can only be compiled with Qt 5.3.x.
make: *** [sub-src-phantomjs-pro-make_first-ordered] Błąd 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment