ariya / phantomjs

Scriptable Headless Browser
http://phantomjs.org
BSD 3-Clause "New" or "Revised" License
29.47k stars 5.76k forks source link

Build crash #12552

Closed cbou closed 10 years ago

cbou commented 10 years ago

I can't build the current state of PhantomJS on my VM Debian 64 because it crash at the beginning:

root@debian:~/phantomjs# uname -a
Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux
root@debian:~/phantomjs# ./build.sh --confirm
System architecture... (Linux 3.2.0-4-amd64 x86_64)

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the Open Source license.

Precompiled-headers support enabled.
g++ -c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
g++ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
Symbolic function binding enabled.
DEFAULT_INCDIRS="/usr/include/c++/4.7
/usr/include/c++/4.7/x86_64-linux-gnu
/usr/include/c++/4.7/backward
/usr/lib/gcc/x86_64-linux-gnu/4.7/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.7/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
"
DEFAULT_LIBDIRS="/usr/lib
/usr/lib/gcc/x86_64-linux-gnu/4.7
/usr/lib/x86_64-linux-gnu
/lib/x86_64-linux-gnu
/lib
"
<srcbase> = /root/phantomjs/src/qt/qtbase 
<outbase> = /root/phantomjs/src/qt/qtbase 
Creating qmake...
g++ -c -o qlibraryinfo.o -pipe -g  -I/root/phantomjs/src/qt/qtbase/qmake -I/root/phantomjs/src/qt/qtbase/qmake/library -I/root/phantomjs/src/qt/qtbase/qmake/generators -I/root/phantomjs/src/qt/qtbase/qmake/generators/unix -I/root/phantomjs/src/qt/qtbase/qmake/generators/win32 -I/root/phantomjs/src/qt/qtbase/qmake/generators/mac -I/root/phantomjs/src/qt/qtbase/qmake/generators/integrity -I/root/phantomjs/src/qt/qtbase/include -I/root/phantomjs/src/qt/qtbase/include/QtCore -I/root/phantomjs/src/qt/qtbase/include/QtCore/5.3.0 -I/root/phantomjs/src/qt/qtbase/include/QtCore/5.3.0/QtCore -I/root/phantomjs/src/qt/qtbase/src/corelib/global -DHAVE_QCONFIG_CPP -I/root/phantomjs/src/qt/qtbase/mkspecs/linux-g++ -I/root/phantomjs/src/qt/qtbase/tools/shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY /root/phantomjs/src/qt/qtbase/src/corelib/global/qlibraryinfo.cpp
g++ -o "/root/phantomjs/src/qt/qtbase/bin/qmake" project.o option.o property.o main.o ioutils.o proitems.o qmakevfs.o qmakeglobals.o qmakeparser.o qmakeevaluator.o qmakebuiltins.o makefile.o unixmake2.o unixmake.o mingw_make.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o gbuild.o cesdkhandler.o qtextcodec.o qutfcodec.o qstring.o qstring_compat.o qstringbuilder.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qarraydata.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfiledevice.o qfile.o qfilesystementry.o qfilesystemengine.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qlogging.o qjson.o qjsondocument.o qjsonparser.o qjsonarray.o qjsonobject.o qjsonvalue.o qfilesystemengine_unix.o qfilesystemiterator_unix.o qfsfileengine_unix.o qlocale_unix.o 
Running configuration tests...
Determining architecture... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -g -Wall -W -fPIE  -I../../mkspecs/linux-g++ -I. -o arch.o arch.cpp
g++  -o arch arch.o    
    Found architecture in binary
CFG_ARCH="x86_64"
CFG_CPUFEATURES=" mmx sse sse2"
System architecture: 'x86_64'
Host architecture: 'x86_64'
C++11 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -std=c++0x -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o c++11.o c++11.cpp
g++ -Wl,-O1 -o c++11 c++11.o    
C++11 enabled.
floatmath auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o floatmath.o floatmath.cpp
floatmath.cpp:44:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
floatmath.cpp:44:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
g++ -Wl,-O1 -o floatmath floatmath.o    
floatmath enabled.
sse2 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -msse2 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o sse2.o sse2.cpp
g++  -o sse2 sse2.o    
sse2 enabled.
sse3 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -msse3 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o sse3.o sse3.cpp
g++  -o sse3 sse3.o    
sse3 enabled.
ssse3 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -mssse3 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o ssse3.o ssse3.cpp
g++  -o ssse3 ssse3.o    
ssse3 enabled.
sse4_1 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -msse4.1 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o sse4_1.o sse4_1.cpp
g++  -o sse4_1 sse4_1.o    
sse4_1 enabled.
sse4_2 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -msse4.2 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o sse4_2.o sse4_2.cpp
g++  -o sse4_2 sse4_2.o    
sse4_2 enabled.
avx auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -mavx -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o avx.o avx.cpp
g++  -o avx avx.o    
avx enabled.
avx2 auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -mavx2 -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o avx2.o avx2.cpp
g++  -o avx2 avx2.o    
avx2 enabled.
POSIX iconv auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o iconv.o iconv.cpp
g++ -Wl,-O1 -o iconv iconv.o    
POSIX iconv enabled.
ICU auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o icu.o icu.cpp
g++ -Wl,-O1 -o icu icu.o   -licui18n -licuuc 
ICU enabled.
FontConfig auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -isystem /usr/include/freetype2 -o fontconfig.o fontconfig.cpp
fontconfig.cpp: In function ‘int main(int, char**)’:
fontconfig.cpp:56:13: warning: variable ‘face’ set but not used [-Wunused-but-set-variable]
fontconfig.cpp:58:16: warning: variable ‘pattern’ set but not used [-Wunused-but-set-variable]
g++ -Wl,-O1 -o fontconfig fontconfig.o   -lfreetype -lfontconfig 
FontConfig enabled.
XLib auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o xlib.o xlib.cpp
g++ -Wl,-O1 -o xlib xlib.o    -lXext -lX11 -lm
XLib enabled.
STL auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o stltest.o stltest.cpp
stltest.cpp: In function ‘int main()’:
stltest.cpp:136:13: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
stltest.cpp:138:16: warning: variable ‘second’ set but not used [-Wunused-but-set-variable]
stltest.cpp:109:9: warning: variable ‘v1size’ set but not used [-Wunused-but-set-variable]
stltest.cpp:111:9: warning: variable ‘v1capacity’ set but not used [-Wunused-but-set-variable]
stltest.cpp:115:10: warning: variable ‘v1notfound’ set but not used [-Wunused-but-set-variable]
stltest.cpp:119:10: warning: variable ‘v1found’ set but not used [-Wunused-but-set-variable]
stltest.cpp:124:9: warning: variable ‘v2size’ set but not used [-Wunused-but-set-variable]
stltest.cpp:132:9: warning: variable ‘m1size’ set but not used [-Wunused-but-set-variable]
stltest.cpp:142:9: warning: variable ‘m2size’ set but not used [-Wunused-but-set-variable]
stltest.cpp:146:9: warning: unused variable ‘n’ [-Wunused-variable]
g++ -Wl,-O1 -o stl stltest.o    
STL enabled.
POSIX clock_gettime() auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o clock-gettime.o clock-gettime.cpp
g++ -Wl,-O1 -o clock-gettime clock-gettime.o    -lrt
POSIX clock_gettime() enabled.
POSIX Monotonic Clock auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o clock-monotonic.o clock-monotonic.cpp
g++ -Wl,-O1 -o clock-monotonic clock-monotonic.o    -lrt
POSIX Monotonic Clock enabled.
posix_fallocate auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o posix_fallocate.o posix_fallocate.cpp
g++ -Wl,-O1 -o posix_fallocate posix_fallocate.o    
posix_fallocate enabled.
mremap auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o mremap.o mremap.cpp
g++ -Wl,-O1 -o mremap mremap.o    
mremap enabled.
getaddrinfo auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o getaddrinfotest.o getaddrinfotest.cpp
g++ -Wl,-O1 -o getaddrinfo getaddrinfotest.o    
getaddrinfo enabled.
inotify auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o inotifytest.o inotifytest.cpp
g++ -Wl,-O1 -o inotify inotifytest.o    
inotify enabled.
eventfd auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o main.o main.cpp
g++ -Wl,-O1 -o eventfd main.o    
eventfd enabled.
IPv6 interface name auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o ipv6ifname.o ipv6ifname.cpp
g++ -Wl,-O1 -o ipv6ifname ipv6ifname.o    
IPv6 interface name enabled.
getifaddrs auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o getifaddrs.o getifaddrs.cpp
g++ -Wl,-O1 -o getifaddrs getifaddrs.o    
getifaddrs enabled.
OpenSSL auto-detection... ()
g++ -c -pipe -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -O2 -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o openssl.o openssl.cpp
g++ -Wl,-O1 -o openssl openssl.o    
OpenSSL enabled.

WARNING: Using static linking will disable the WebKit module.

Testing size of pointers ... (/root/phantomjs/src/qt/qtbase/mkspecs/linux-g++ yes /root/phantomjs/src/qt/qtbase /root/phantomjs/src/qt/qtbase)
rm -f ptrsizetest.o
rm -f *~ core *.core
g++ -c -pipe -g -Wall -W -fPIE  -I../../../mkspecs/linux-g++ -I. -o ptrsizetest.o ptrsizetest.cpp
g++  -o ptrsizetest ptrsizetest.o    
Pointer size: 8

   Configure summary

Build type:    linux-g++ (x86_64, CPU features: mmx sse sse2)
Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx

qmake vars .......... styles += mac fusion windows DEFINES += QT_NO_MTDEV QMAKE_CFLAGS_FONTCONFIG =  QMAKE_LIBS_FONTCONFIG = -lfreetype -lfontconfig DEFINES += QT_NO_LIBUDEV DEFINES += QT_NO_EVDEV DEFINES +=  "QT_NO_GRAPHICSVIEW" "QT_NO_GRAPHICSEFFECT" "QT_NO_STYLESHEET" "QT_NO_STYLE_CDE" "QT_NO_STYLE_CLEANLOOKS" "QT_NO_STYLE_MOTIF" "QT_NO_STYLE_PLASTIQUE" sql-drivers =  sqlite sql-plugins =  qmake switches ......... 

Build options:
  Configuration .......... accessibility audio-backend avx avx2 c++11 clock-gettime clock-monotonic concurrent eventfd fontconfig full-config getaddrinfo getifaddrs gif harfbuzz iconv icu inotify ipv6ifname jpeg large-config largefile medium-config minimal-config mremap no-pkg-config openssl-linked pcre png posix_fallocate precompile_header qpa qpa reduce_exports reduce_relocations release rpath small-config sse2 sse3 sse4_1 sse4_2 ssse3 static system-freetype system-jpeg system-png system-zlib xlib 
  Build parts ............ libs
  Mode ................... release
  Using C++11 ............ yes
  Using PCH .............. yes
  Target compiler supports:
    SSE2/SSE3/SSSE3 ...... yes/yes/yes
    SSE4.1/SSE4.2 ........ yes/yes
    AVX/AVX2 ............. yes/yes

Qt modules and options:
  Qt D-Bus ............... no
  Qt Concurrent .......... yes
  Qt GUI ................. yes
  Qt Widgets ............. yes
  Large File ............. yes
  QML debugging .......... no
  Use system proxies ..... no

Support enabled for:
  Accessibility .......... yes
  ALSA ................... no
  CUPS ................... no
  Evdev .................. no
  FontConfig ............. yes
  FreeType ............... yes (system library)
  Glib ................... no
  GTK theme .............. no
  HarfBuzz ............... qt
  Iconv .................. yes
  ICU .................... yes
  Image formats: 
    GIF .................. yes (in QtGui, using bundled copy)
    JPEG ................. yes (in QtGui, using system library)
    PNG .................. yes (in QtGui, using system library)
  journald ............... no
  mtdev .................. no
  Networking: 
    getaddrinfo .......... yes
    getifaddrs ........... yes
    IPv6 ifname .......... yes
    OpenSSL .............. yes (linked to the libraries)
  NIS .................... no
  OpenGL / OpenVG: 
    EGL .................. no
    OpenGL ............... no
    OpenVG ............... no
  PCRE ................... yes (bundled copy)
  pkg-config ............. no 
  PulseAudio ............. no
  QPA backends: 
    DirectFB ............. no
    EGLFS ................ no
    KMS .................. no
    LinuxFB .............. no
    XCB .................. no
  Session management ..... no
  SQL drivers: 
    DB2 .................. no
    InterBase ............ 
    MySQL ................ 
    OCI .................. no
    ODBC ................. 
    PostgreSQL ........... 
    SQLite 2 ............. no
    SQLite ............... qt-qt
    TDS .................. no
  udev ................... no
  xkbcommon .............. no
  zlib ................... yes (system library)

WARNING: Using static linking will disable the use of dynamically
loaded plugins. Make sure to import all needed static plugins,
or compile needed modules into the library.

NOTE: When linking against OpenSSL, you can override the default
library names through OPENSSL_LIBS.
For example:
    OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked

Qt is now configured for building. Just run 'make'.
Once everything is built, Qt is installed.
You should not run 'make install'.

Prior to reconfiguration, make sure you remove any leftovers from
the previous build.

Building Qt...

cd src/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/src.pro -o Makefile ) && make -f Makefile 
make[1]: Entering directory `/root/phantomjs/src/qt/qtbase/src'
cd tools/bootstrap/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/tools/bootstrap/bootstrap.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/tools/bootstrap'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/tools/bootstrap'
cd tools/moc/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/tools/moc/moc.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/tools/moc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/tools/moc'
cd tools/rcc/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/tools/rcc/rcc.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/tools/rcc'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/tools/rcc'
cd corelib/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/corelib/corelib.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/corelib'
g++ -c -include .pch/Qt5Core -pipe -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DPCRE_HAVE_CONFIG_H -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtCore -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -Iglobal -I../3rdparty/pcre -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc -o .obj/qlibraryinfo.o global/qlibraryinfo.cpp
rm -f libQt5Core.a
ar cqs libQt5Core.a .obj/qstring_compat.o .obj/qabstractanimation.o .obj/qvariantanimation.o .obj/qpropertyanimation.o .obj/qanimationgroup.o .obj/qsequentialanimationgroup.o .obj/qparallelanimationgroup.o .obj/qpauseanimation.o .obj/qatomic_unix.o .obj/qglobal.o .obj/qglobalstatic.o .obj/qlibraryinfo.o .obj/qmalloc.o .obj/qnumeric.o .obj/qlogging.o .obj/qatomic.o .obj/qexception.o .obj/qresultstore.o .obj/qfutureinterface.o .obj/qfuturewatcher.o .obj/qmutex.o .obj/qreadwritelock.o .obj/qrunnable.o .obj/qmutexpool.o .obj/qsemaphore.o .obj/qthread.o .obj/qthreadpool.o .obj/qthreadstorage.o .obj/qthread_unix.o .obj/qwaitcondition_unix.o .obj/qarraydata.o .obj/qbitarray.o .obj/qbytearray.o .obj/qbytearraymatcher.o .obj/qcollator.o .obj/qcommandlineoption.o .obj/qcommandlineparser.o .obj/qcryptographichash.o .obj/qdatetime.o .obj/qdatetimeparser.o .obj/qeasingcurve.o .obj/qelapsedtimer.o .obj/qfreelist.o .obj/qhash.o .obj/qline.o .obj/qlinkedlist.o .obj/qlist.o .obj/qlocale.o .obj/qlocale_tools.o .obj/qpoint.o .obj/qmap.o .obj/qmargins.o .obj/qmessageauthenticationcode.o .obj/qcontiguouscache.o .obj/qrect.o .obj/qregexp.o .obj/qregularexpression.o .obj/qrefcount.o .obj/qshareddata.o .obj/qsharedpointer.o .obj/qsimd.o .obj/qsize.o .obj/qstring.o .obj/qstringbuilder.o .obj/qstringlist.o .obj/qtextboundaryfinder.o .obj/qtimeline.o .obj/qtimezone.o .obj/qtimezoneprivate.o .obj/qunicodetools.o .obj/qvector.o .obj/qvsnprintf.o .obj/qelapsedtimer_unix.o .obj/qlocale_unix.o .obj/qtimezoneprivate_tz.o .obj/qlocale_icu.o .obj/qcollator_icu.o .obj/qtimezoneprivate_icu.o .obj/pcre16_byte_order.o .obj/pcre16_chartables.o .obj/pcre16_compile.o .obj/pcre16_config.o .obj/pcre16_dfa_exec.o .obj/pcre16_exec.o .obj/pcre16_fullinfo.o .obj/pcre16_get.o .obj/pcre16_globals.o .obj/pcre16_jit_compile.o .obj/pcre16_maketables.o .obj/pcre16_newline.o .obj/pcre16_ord2utf16.o .obj/pcre16_refcount.o .obj/pcre16_string_utils.o .obj/pcre16_study.o .obj/pcre16_tables.o .obj/pcre16_ucd.o .obj/pcre16_utf16_utils.o .obj/pcre16_valid_utf16.o .obj/pcre16_version.o .obj/pcre16_xclass.o .obj/harfbuzz-buffer.o .obj/harfbuzz-gdef.o .obj/harfbuzz-gsub.o .obj/harfbuzz-gpos.o .obj/harfbuzz-impl.o .obj/harfbuzz-open.o .obj/harfbuzz-stream.o .obj/harfbuzz-shaper-all.o .obj/qharfbuzz.o .obj/qabstractfileengine.o .obj/qbuffer.o .obj/qdatastream.o .obj/qdataurl.o .obj/qtldurl.o .obj/qdebug.o .obj/qdir.o .obj/qdiriterator.o .obj/qfile.o .obj/qfiledevice.o .obj/qfileinfo.o .obj/qipaddress.o .obj/qiodevice.o .obj/qlockfile.o .obj/qnoncontiguousbytedevice.o .obj/qprocess.o .obj/qtextstream.o .obj/qtemporarydir.o .obj/qtemporaryfile.o .obj/qresource.o .obj/qresource_iterator.o .obj/qsavefile.o .obj/qstandardpaths.o .obj/qurl.o .obj/qurlidna.o .obj/qurlquery.o .obj/qurlrecode.o .obj/qsettings.o .obj/qfsfileengine.o .obj/qfsfileengine_iterator.o .obj/qfilesystemwatcher.o .obj/qfilesystemwatcher_polling.o .obj/qfilesystementry.o .obj/qfilesystemengine.o .obj/qfileselector.o .obj/qloggingcategory.o .obj/qloggingregistry.o .obj/qfsfileengine_unix.o .obj/qfilesystemengine_unix.o .obj/qlockfile_unix.o .obj/qprocess_unix.o .obj/qfilesystemiterator_unix.o .obj/qstandardpaths_unix.o .obj/qfilesystemwatcher_inotify.o .obj/qabstractitemmodel.o .obj/qabstractproxymodel.o .obj/qitemselectionmodel.o .obj/qidentityproxymodel.o .obj/qsortfilterproxymodel.o .obj/qstringlistmodel.o .obj/qjson.o .obj/qjsondocument.o .obj/qjsonobject.o .obj/qjsonarray.o .obj/qjsonvalue.o .obj/qjsonwriter.o .obj/qjsonparser.o .obj/qpluginloader.o .obj/qfactoryloader.o .obj/quuid.o .obj/qlibrary.o .obj/qelfparser_p.o .obj/qmachparser.o .obj/qlibrary_unix.o .obj/qabstracteventdispatcher.o .obj/qabstractnativeeventfilter.o .obj/qbasictimer.o .obj/qeventloop.o .obj/qcoreapplication.o .obj/qcoreevent.o .obj/qmetaobject.o .obj/qmetatype.o .obj/qmetaobjectbuilder.o .obj/qmimedata.o .obj/qobject.o .obj/qobjectcleanuphandler.o .obj/qsignalmapper.o .obj/qsocketnotifier.o .obj/qtimer.o .obj/qtranslator.o .obj/qvariant.o .obj/qcoreglobaldata.o .obj/qsharedmemory.o .obj/qsystemsemaphore.o .obj/qpointer.o .obj/qmath.o .obj/qsystemerror.o .obj/qcore_unix.o .obj/qcrashhandler.o .obj/qeventdispatcher_unix.o .obj/qtimerinfo_unix.o .obj/qsharedmemory_unix.o .obj/qsystemsemaphore_unix.o .obj/qisciicodec.o .obj/qlatincodec.o .obj/qtextcodec.o .obj/qtsciicodec.o .obj/qutfcodec.o .obj/qicucodec.o .obj/qstatemachine.o .obj/qabstractstate.o .obj/qstate.o .obj/qfinalstate.o .obj/qhistorystate.o .obj/qabstracttransition.o .obj/qsignaltransition.o .obj/qeventtransition.o .obj/qmimedatabase.o .obj/qmimetype.o .obj/qmimemagicrulematcher.o .obj/qmimetypeparser.o .obj/qmimemagicrule.o .obj/qmimeglobpattern.o .obj/qmimeprovider.o .obj/qxmlstream.o .obj/qxmlutils.o .obj/qrc_mimetypes.o .obj/moc_qabstractanimation_p.o .obj/moc_qnamespace.o .obj/moc_qthread.o .obj/moc_qthreadpool.o .obj/moc_qfuturewatcher.o .obj/moc_qeasingcurve.o .obj/moc_qlocale.o .obj/moc_qtimeline.o .obj/moc_qfile.o .obj/moc_qfiledevice.o .obj/moc_qiodevice.o .obj/moc_qnoncontiguousbytedevice_p.o .obj/moc_qtextstream_p.o .obj/moc_qtemporaryfile.o .obj/moc_qsavefile.o .obj/moc_qsettings.o .obj/moc_qfilesystemwatcher_p.o .obj/moc_qfilesystemwatcher_polling_p.o .obj/moc_qfilesystemwatcher_inotify_p.o .obj/moc_qabstractitemmodel.o .obj/moc_qstringlistmodel.o .obj/moc_qpluginloader.o .obj/moc_qlibrary.o .obj/moc_qfactoryloader_p.o .obj/moc_qabstracteventdispatcher.o .obj/moc_qeventloop.o .obj/moc_qcoreapplication.o .obj/moc_qcoreevent.o .obj/moc_qmimedata.o .obj/moc_qsocketnotifier.o .obj/moc_qtimer.o .obj/moc_qtranslator.o .obj/moc_qobjectcleanuphandler.o .obj/moc_qsharedmemory.o .obj/moc_qeventdispatcher_unix_p.o .obj/moc_qabstractstate.o .obj/moc_qstate.o .obj/moc_qfinalstate.o .obj/moc_qhistorystate.o .obj/moc_qabstracttransition.o .obj/moc_qsignaltransition.o .obj/moc_qeventtransition.o
rm -f ../../lib/libQt5Core.a
mv -f libQt5Core.a ../../lib/ 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/corelib'
cd tools/qlalr/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/tools/qlalr/qlalr.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/tools/qlalr'
g++ -Wl,-O1 -o ../../../bin/qlalr .obj/compress.o .obj/cppgenerator.o .obj/dotgraph.o .obj/lalr.o .obj/main.o .obj/parsetable.o .obj/recognizer.o .obj/grammar.o   -L/root/phantomjs/src/qt/qtbase/lib -lQt5Core -lz -licui18n -licuuc -lm -ldl -lrt -lpthread 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/tools/qlalr'
cd network/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/network/network.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/network'
rm -f libQt5Network.a
ar cqs libQt5Network.a .obj/qftp.o .obj/qhttpnetworkheader.o .obj/qhttpnetworkrequest.o .obj/qhttpnetworkreply.o .obj/qhttpnetworkconnection.o .obj/qhttpnetworkconnectionchannel.o .obj/qabstractprotocolhandler.o .obj/qhttpprotocolhandler.o .obj/qspdyprotocolhandler.o .obj/qnetworkaccessauthenticationmanager.o .obj/qnetworkaccessmanager.o .obj/qnetworkaccesscache.o .obj/qnetworkaccessbackend.o .obj/qnetworkaccessdebugpipebackend.o .obj/qnetworkaccessfilebackend.o .obj/qnetworkaccesscachebackend.o .obj/qnetworkaccessftpbackend.o .obj/qnetworkcookie.o .obj/qnetworkcookiejar.o .obj/qnetworkrequest.o .obj/qnetworkreply.o .obj/qnetworkreplyimpl.o .obj/qnetworkreplydataimpl.o .obj/qnetworkreplyhttpimpl.o .obj/qnetworkreplyfileimpl.o .obj/qabstractnetworkcache.o .obj/qnetworkdiskcache.o .obj/qhttpthreaddelegate.o .obj/qhttpmultipart.o .obj/qnetworksession.o .obj/qnetworkconfigmanager.o .obj/qnetworkconfiguration.o .obj/qnetworkconfigmanager_p.o .obj/qbearerengine.o .obj/qbearerplugin.o .obj/qsharednetworksession.o .obj/qauthenticator.o .obj/qdnslookup.o .obj/qhostaddress.o .obj/qhostinfo.o .obj/qurlinfo.o .obj/qnetworkproxy.o .obj/qnetworkinterface.o .obj/qdnslookup_unix.o .obj/qhostinfo_unix.o .obj/qnetworkinterface_unix.o .obj/qnetworkproxy_generic.o .obj/qabstractsocketengine.o .obj/qhttpsocketengine.o .obj/qsocks5socketengine.o .obj/qabstractsocket.o .obj/qtcpsocket.o .obj/qudpsocket.o .obj/qtcpserver.o .obj/qlocalsocket.o .obj/qlocalserver.o .obj/qnativesocketengine.o .obj/qnativesocketengine_unix.o .obj/qlocalsocket_unix.o .obj/qlocalserver_unix.o .obj/qssl.o .obj/qsslcertificate.o .obj/qsslconfiguration.o .obj/qsslcipher.o .obj/qsslerror.o .obj/qsslkey.o .obj/qsslsocket.o .obj/qsslsocket_openssl.o .obj/qsslsocket_openssl_symbols.o .obj/qsslcertificateextension.o .obj/qsslcontext.o .obj/moc_qhttpnetworkreply_p.o .obj/moc_qspdyprotocolhandler_p.o .obj/moc_qnetworkaccesscache_p.o .obj/moc_qnetworkaccessbackend_p.o .obj/moc_qnetworkaccessdebugpipebackend_p.o .obj/moc_qnetworkaccessfilebackend_p.o .obj/moc_qnetworkaccessftpbackend_p.o .obj/moc_qnetworkcookiejar.o .obj/moc_qnetworkreply.o .obj/moc_qnetworkreplyhttpimpl_p.o .obj/moc_qabstractnetworkcache.o .obj/moc_qnetworkdiskcache.o .obj/moc_qhttpthreaddelegate_p.o .obj/moc_qhttpmultipart.o .obj/moc_qnetworkconfigmanager_p.o .obj/moc_qnetworksession_p.o .obj/moc_qbearerplugin_p.o .obj/moc_qdnslookup_p.o .obj/moc_qhostinfo_p.o .obj/moc_qabstractsocketengine_p.o .obj/moc_qhttpsocketengine_p.o .obj/moc_qsocks5socketengine_p.o .obj/moc_qtcpsocket.o .obj/moc_qudpsocket.o .obj/moc_qnativesocketengine_p.o .obj/moc_qsslsocket_openssl_p.o
rm -f ../../lib/libQt5Network.a
mv -f libQt5Network.a ../../lib/ 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/network'
cd sql/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/sql/sql.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/sql'
rm -f libQt5Sql.a
ar cqs libQt5Sql.a .obj/qsqlquery.o .obj/qsqldatabase.o .obj/qsqlfield.o .obj/qsqlrecord.o .obj/qsqldriver.o .obj/qsqldriverplugin.o .obj/qsqlerror.o .obj/qsqlresult.o .obj/qsqlindex.o .obj/qsqlcachedresult.o .obj/qsql_sqlite.o .obj/sqlite3.o .obj/qsqlquerymodel.o .obj/qsqltablemodel.o .obj/qsqlrelationaldelegate.o .obj/qsqlrelationaltablemodel.o .obj/moc_qsqldriver.o .obj/moc_qsqldriverplugin.o .obj/moc_qsql_sqlite_p.o .obj/moc_qsqlquerymodel.o .obj/moc_qsqltablemodel.o .obj/moc_qsqlrelationaltablemodel.o
rm -f ../../lib/libQt5Sql.a
mv -f libQt5Sql.a ../../lib/ 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/sql'
cd xml/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/xml/xml.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/xml'
rm -f libQt5Xml.a
ar cqs libQt5Xml.a .obj/qdom.o .obj/qxml.o
rm -f ../../lib/libQt5Xml.a
mv -f libQt5Xml.a ../../lib/ 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/xml'
cd concurrent/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/concurrent/concurrent.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/concurrent'
rm -f libQt5Concurrent.a
ar cqs libQt5Concurrent.a .obj/qtconcurrentfilter.o .obj/qtconcurrentmap.o .obj/qtconcurrentrun.o .obj/qtconcurrentthreadengine.o .obj/qtconcurrentiteratekernel.o
rm -f ../../lib/libQt5Concurrent.a
mv -f libQt5Concurrent.a ../../lib/ 
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/concurrent'
cd 3rdparty/harfbuzz-ng/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng/harfbuzz-ng.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/3rdparty/harfbuzz-ng'
cd gui/ && ( test -e Makefile || /root/phantomjs/src/qt/qtbase/bin/qmake /root/phantomjs/src/qt/qtbase/src/gui/gui.pro -o Makefile ) && make -f Makefile 
make[2]: Entering directory `/root/phantomjs/src/qt/qtbase/src/gui'
g++ -c -include .pch/Qt5Gui -pipe -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -std=c++0x -fno-exceptions -Wall -W -D_REENTRANT -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_GRAPHICSVIEW -DQT_NO_GRAPHICSEFFECT -DQT_NO_STYLESHEET -DQT_NO_STYLE_CDE -DQT_NO_STYLE_CLEANLOOKS -DQT_NO_STYLE_MOTIF -DQT_NO_STYLE_PLASTIQUE -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_ENABLE_HARFBUZZ_NG -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtGui -I../../include/QtGui/5.3.0 -I../../include/QtGui/5.3.0/QtGui -Iimage -I../3rdparty/harfbuzz-ng/include -I../../include/QtCore/5.3.0 -I../../include/QtCore/5.3.0/QtCore -I../../include/QtCore -I.moc -o .obj/qpnghandler.o image/qpnghandler.cpp
image/qpnghandler.cpp:58:17: fatal error: png.h: No such file or directory
compilation terminated.
make[2]: *** [.obj/qpnghandler.o] Error 1
make[2]: Leaving directory `/root/phantomjs/src/qt/qtbase/src/gui'
make[1]: *** [sub-gui-make_first] Error 2
make[1]: Leaving directory `/root/phantomjs/src/qt/qtbase/src'
make: *** [sub-src-make_first] Error 2
ndrut commented 10 years ago

I had this same issue, I forgot to git checkout 1.9 after cloning. Not sure if you tried that or meant to build master.

cbou commented 10 years ago

I want to build phantomjs2. I didn't run any checkout...

ariya commented 10 years ago

just install libpng-dev and libjpeg-dev.

cbou commented 10 years ago

Ok thanks you, I updated the Building wiki page. I hope it's ok.

channelsteve commented 10 years ago

Is this going to make it to - http://phantomjs.org/build.html ?

hrix commented 9 years ago

in case of CentOS7 these names were libpng-devel libjpeg-devel.

2000liux commented 3 years ago

yes on Kyarrch64 names were libpng-devel libjpeg-devel.