Build phantomjs-2.1 fails on Centos

186 views
Skip to first unread message

Joel DeWitt

unread,
Apr 13, 2016, 9:34:32 AM4/13/16
to phantomjs
The python build for phantomjs-2.1 fails with a stack trace complaining about a missing file, but not showing what file is missing.
The error message is below, followed by installed packages.
Does anyone have advice on what is missing - how to get the build going?

Thanks in advance.

### python build.py
### ... Y
configuring Qt Base, please wait...
Executing in /home/nimble/phantomjs-2.1/src/qt/qtbase: /home/nimble/phantomjs-2.1/src/qt/qtbase/configure -static -opensource -confirm-license -prefix /home/nimble/phantomjs-2.1/src/qt/qtbase -qt-zlib -qt-libpng -qt-libjpeg -qt-pcre -nomake examples -nomake tools -nomake tests -no-qml-debug -no-dbus -no-opengl -no-audio-backend -D QT_NO_GRAPHICSVIEW -D QT_NO_GRAPHICSEFFECT -D QT_NO_STYLESHEET -D QT_NO_STYLE_CDE -D QT_NO_STYLE_CLEANLOOKS -D QT_NO_STYLE_MOTIF -D QT_NO_STYLE_PLASTIQUE -D QT_NO_PRINTPREVIEWDIALOG -qpa phantom -openssl -openssl-linked -no-openvg -no-eglfs -no-egl -no-glib -no-gtkstyle -no-cups -no-sm -no-xinerama -no-xkb -no-xcb -no-kms -no-linuxfb -no-directfb -no-mtdev -no-libudev -no-evdev -no-pulseaudio -no-alsa -no-feature-PRINTPREVIEWWIDGET -fontconfig -icu -release
Traceback (most recent call last):
  File "build.py", line 458, in <module>
    main()
  File "build.py", line 451, in main
    builder.run()
  File "build.py", line 357, in run
    self.buildQtBase()
  File "build.py", line 300, in buildQtBase
    self.configureQtBase()
  File "build.py", line 287, in configureQtBase
    if self.execute(configure, "src/qt/qtbase") != 0:
  File "build.py", line 134, in execute
    process = subprocess.Popen(command, stdout=sys.stdout, stderr=sys.stderr, cwd=workingDirectory)
  File "/usr/lib64/python2.6/subprocess.py", line 642, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.6/subprocess.py", line 1234, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory


### uname -a
Linux c0b1b9ce5c9b 2.6.32-573.7.1.el6.x86_64 #1 SMP Thu Sep 10 13:42:16 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

### yum list installed
Installed Packages
ConsoleKit.x86_64             0.4.1-3.el6                   
ConsoleKit-libs.x86_64           0.4.1-3.el6                   
MAKEDEV.x86_64                   3.24-6.el6                    
acl.x86_64                       2.2.49-6.el6                  
alsa-lib.x86_64                  1.0.22-3.el6                  
attr.x86_64                      2.4.44-7.el6                  
audit.x86_64                     2.3.7-5.el6                   
audit-libs.x86_64                2.3.7-5.el6                   
autoconf.noarch                  2.63-5.1.el6                  
basesystem.noarch                10.0-4.el6                    
bash.x86_64                      4.1.2-29.el6                  
binutils.x86_64                  2.20.51.0.2-5.42.el6          
bison.x86_64                     2.4.1-5.el6                   
bzip2.x86_64                     1.0.5-7.el6_0                 
bzip2-libs.x86_64                1.0.5-7.el6_0                 
ca-certificates.noarch           2014.1.98-65.1.el6            
checkpolicy.x86_64               2.0.22-1.el6                  
chkconfig.x86_64                 1.3.49.3-2.el6_4.1            
cloog-ppl.x86_64                 0.15.7-1.2.el6                
compat-readline5.x86_64          5.2-17.1.el6                  
coreutils.x86_64                 8.4-37.el6                    
coreutils-libs.x86_64            8.4-37.el6                    
cpio.x86_64                      2.10-12.el6_5                 
cpp.x86_64                       4.4.7-11.el6                  
cracklib.x86_64                  2.8.16-4.el6                  
cracklib-dicts.x86_64            2.8.16-4.el6                  
cronie.x86_64                    1.4.4-12.el6                  
cronie-anacron.x86_64            1.4.4-12.el6                  
crontabs.noarch                  1.10-33.el6                   
crypto-utils.x86_64              2.4.1-24.2.el6                
cryptsetup-luks.x86_64           1.2.0-11.el6                  
cryptsetup-luks-libs.x86_64      1.2.0-11.el6                  
curl.x86_64                      7.19.7-37.el6_5.3             
cyrus-sasl-lib.x86_64            2.1.23-15.el6                 
db4.x86_64                       4.7.25-18.el6_4               
db4-utils.x86_64                 4.7.25-18.el6_4               
dbus.x86_64                      1:1.2.24-7.el6_3              
dbus-glib.x86_64                 0.86-6.el6_4                  
dbus-libs.i686                   1:1.2.24-7.el6_3              
dbus-libs.x86_64                 1:1.2.24-7.el6_3              
dbus-python.x86_64               0.83.0-6.1.el6                
device-mapper.x86_64             1.02.90-2.el6                 
device-mapper-libs.x86_64        1.02.90-2.el6                 
dhclient.x86_64                  12:4.1.1-43.P1.el6            
dhcp-common.x86_64               12:4.1.1-43.P1.el6            
diffutils.x86_64                 2.8.1-28.el6                  
dmidecode.x86_64                 1:2.12-5.el6_5                
e2fsprogs.x86_64                 1.41.12-21.el6                
e2fsprogs-libs.x86_64            1.41.12-21.el6                
eggdbus.x86_64                   0.6-3.el6                     
elfutils-libelf.x86_64           0.158-3.2.el6                 
ethtool.x86_64                   2:3.5-5.el6                   
expat.x86_64                     2.0.1-11.el6_2                
file-libs.x86_64                 5.04-21.el6                   
filesystem.x86_64                2.4.30-3.el6                  
findutils.x86_64                 1:4.4.2-6.el6                 
fipscheck.x86_64                 1.2.0-7.el6                   
fipscheck-lib.x86_64             1.2.0-7.el6                   
flex.x86_64                      2.5.35-9.el6                  
fontconfig.x86_64                2.8.0-5.el6                   
fontconfig-devel.x86_64          2.8.0-5.el6                   
freetype.x86_64                  2.3.11-14.el6_3.1             
freetype-devel.x86_64            2.3.11-14.el6_3.1             
gamin.i686                       0.1.10-9.el6                  
gamin.x86_64                     0.1.10-9.el6                  
gawk.x86_64                      3.1.7-10.el6                  
gcc.x86_64                       4.4.7-11.el6                  
gcc-c++.x86_64                   4.4.7-11.el6                  
gdbm.x86_64                      1.8.0-36.el6                  
giflib.x86_64                    4.1.6-3.1.el6                 
glib2.i686                       2.28.8-4.el6                  
glib2.x86_64                     2.28.8-4.el6                  
glibc.i686                       2.12-1.149.el6                
glibc.x86_64                     2.12-1.149.el6                
glibc-common.x86_64              2.12-1.149.el6                
glibc-devel.x86_64               2.12-1.149.el6                
glibc-headers.x86_64             2.12-1.149.el6                
gmp.x86_64                       4.3.1-7.el6_2.2               
gnupg2.x86_64                    2.0.14-8.el6                  
gpgme.x86_64                     1.1.8-3.el6                   
grep.x86_64                      2.6.3-6.el6                   
groff.x86_64                     1.18.1.4-21.el6               
gzip.x86_64                      1.3.12-22.el6                 
hal.x86_64                       0.5.14-14.el6                 
hal-info.noarch                  20090716-3.1.el6              
hal-libs.x86_64                  0.5.14-14.el6                 
hdparm.x86_64                    9.43-4.el6                    
hwdata.noarch                    0.233-11.1.el6                
info.x86_64                      4.13a-8.el6                   
initscripts.x86_64               9.03.46-1.el6                 
iproute.x86_64                   2.6.32-32.el6_5               
iptables.x86_64                  1.4.7-14.el6                  
iptables-ipv6.x86_64             1.4.7-14.el6                  
iputils.x86_64                   20071127-17.el6_4.2           
java-1.8.0-openjdk.x86_64        1.8.0.20-3.b26.el6            
java-1.8.0-openjdk-headless.x86_64        1.8.0.20-3.b26.el6
jpackage-utils.noarch            1.7.5-3.12.el6                
kbd.x86_64                       1.15-11.el6                   
kbd-misc.noarch                  1.15-11.el6                   
kernel-headers.x86_64            2.6.32-504.el6                
keyutils-libs.i686               1.4-5.el6                     
keyutils-libs.x86_64             1.4-5.el6                     
keyutils-libs-devel.x86_64       1.4-5.el6                     
krb5-devel.x86_64                1.10.3-33.el6                 
krb5-libs.i686                   1.10.3-33.el6                 
krb5-libs.x86_64                 1.10.3-33.el6                 
less.x86_64                      436-13.el6                    
libICE.x86_64                    1.0.6-1.el6                   
libSM.x86_64                     1.2.1-2.el6                   
libX11.x86_64                    1.6.0-2.2.el6                 
libX11-common.noarch             1.6.0-2.2.el6                 
libX11-devel.x86_64              1.6.0-2.2.el6                 
libXau.x86_64                    1.0.6-4.el6                   
libXau-devel.x86_64              1.0.6-4.el6                   
libXdamage.x86_64                1.1.3-4.el6                   
libXdmcp.x86_64                  1.1.1-3.el6                   
libXext.x86_64                   1.3.2-2.1.el6                 
libXext-devel.x86_64             1.3.2-2.1.el6                 
libXfixes.x86_64                 5.0.1-2.1.el6                 
libXfont.x86_64                  1.4.5-3.el6_5                 
libXi.x86_64                     1.7.2-2.2.el6                 
libXinerama.x86_64               1.1.3-2.1.el6                 
libXrender.x86_64                0.9.8-2.1.el6                 
libXtst.x86_64                   1.2.2-2.1.el6                 
libXv.x86_64                     1.0.9-2.1.el6                 
libXxf86dga.x86_64               1.1.4-2.1.el6                 
libXxf86misc.x86_64              1.0.3-4.el6                   
libXxf86vm.x86_64                1.1.3-2.1.el6                 
libacl.x86_64                    2.2.49-6.el6                  
libattr.x86_64                   2.4.44-7.el6                  
libblkid.x86_64                  2.17.2-12.18.el6              
libcap.x86_64                    2.16-5.5.el6                  
libcap-ng.x86_64                 0.6.4-3.el6_0.1               
libcom_err.i686                  1.41.12-21.el6                
libcom_err.x86_64                1.41.12-21.el6                
libcom_err-devel.x86_64          1.41.12-21.el6                
libcurl.x86_64                   7.19.7-37.el6_5.3             
libdmx.x86_64                    1.1.3-3.el6                   
libdrm.x86_64                    2.4.52-4.el6                  
libffi.x86_64                    3.0.5-3.2.el6                 
libfontenc.x86_64                1.0.5-2.el6                   
libgcc.i686                      4.4.7-11.el6                  
libgcc.x86_64                    4.4.7-11.el6                  
libgcrypt.x86_64                 1.4.5-11.el6_4                
libgomp.x86_64                   4.4.7-11.el6                  
libgpg-error.x86_64              1.7-4.el6                     
libgudev1.x86_64                 147-2.57.el6                  
libidn.x86_64                    1.18-2.el6                    
libjpeg-turbo.x86_64             1.2.1-3.el6_5                 
libjpeg-turbo-devel.x86_64       1.2.1-3.el6_5                 
libnih.x86_64                    1.0.1-7.el6                   
libnl.x86_64                     1.1.4-2.el6                   
libpciaccess.x86_64              0.13.3-0.1.el6                
libpng.x86_64                    2:1.2.49-1.el6_2              
libpng-devel.x86_64              2:1.2.49-1.el6_2              
libselinux.i686                  2.0.94-5.8.el6                
libselinux.x86_64                2.0.94-5.8.el6                
libselinux-devel.x86_64          2.0.94-5.8.el6                
libselinux-utils.x86_64          2.0.94-5.8.el6                
libsemanage.x86_64               2.0.43-4.2.el6                
libsepol.x86_64                  2.0.41-4.el6                  
libsepol-devel.x86_64            2.0.41-4.el6                  
libss.x86_64                     1.41.12-21.el6                
libssh2.x86_64                   1.4.2-1.el6                   
libstdc++.i686                   4.4.7-11.el6                  
libstdc++.x86_64                 4.4.7-11.el6                  
libstdc++-devel.x86_64           4.4.7-11.el6                  
libtasn1.x86_64                  2.3-6.el6_5                   
libudev.x86_64                   147-2.57.el6                  
libusb.x86_64                    0.1.12-23.el6                 
libuser.x86_64                   0.56.13-5.el6                 
libutempter.x86_64               1.1.5-4.1.el6                 
libuuid.x86_64                   2.17.2-12.18.el6              
libxcb.x86_64                    1.9.1-2.el6                   
libxcb-devel.x86_64              1.9.1-2.el6                   
libxkbfile.x86_64                1.0.6-1.1.el6                 
libxml2.x86_64                   2.7.6-14.el6_5.2              
libxml2-python.x86_64            2.7.6-14.el6_5.2              
libxslt.x86_64                   1.1.26-2.el6_3.1              
logrotate.x86_64                 3.7.8-17.el6                  
lua.x86_64                       5.1.4-4.1.el6                 
m2crypto.x86_64                  0.20.2-9.el6                  
m4.x86_64                        1.4.13-5.el6                  
mailx.x86_64                     12.4-7.el6                    
make.x86_64                      1:3.81-20.el6                 
mesa-dri-drivers.x86_64          10.1.2-2.el6                  
mesa-dri-filesystem.x86_64       10.1.2-2.el6                  
mesa-dri1-drivers.x86_64         7.11-8.el6                    
mesa-libGL.x86_64                10.1.2-2.el6                  
mesa-private-llvm.x86_64         3.4-3.el6                     
mingetty.x86_64                  1.08-5.el6                    
module-init-tools.x86_64         3.9-24.el6                    
mpfr.x86_64                      2.4.1-6.el6                   
ncurses.x86_64                   5.7-3.20090208.el6            
ncurses-base.x86_64              5.7-3.20090208.el6            
ncurses-libs.x86_64              5.7-3.20090208.el6            
net-tools.x86_64                 1.60-110.el6_2                
newt.x86_64                      0.52.11-3.el6                 
newt-python.x86_64               0.52.11-3.el6                 
nspr.x86_64                      4.10.6-1.el6_5                
nss.x86_64                       3.16.1-14.el6                 
nss-softokn.x86_64               3.14.3-17.el6                 
nss-softokn-freebl.i686          3.14.3-17.el6                 
nss-softokn-freebl.x86_64        3.14.3-17.el6                 
nss-sysinit.x86_64               3.16.1-14.el6                 
nss-tools.x86_64                 3.16.1-14.el6                 
nss-util.x86_64                  3.16.1-3.el6                  
openldap.x86_64                  2.4.39-8.el6                  
openssh.x86_64                   5.3p1-104.el6                 
openssh-server.x86_64            5.3p1-104.el6                 
openssl.i686                     1.0.1e-30.el6                 
openssl.x86_64                   1.0.1e-30.el6                 
openssl-devel.x86_64             1.0.1e-30.el6                 
p11-kit.x86_64                   0.18.5-2.el6_5.2              
p11-kit-trust.x86_64             0.18.5-2.el6_5.2              
pam.x86_64                       1.1.1-20.el6                  
passwd.x86_64                    0.77-4.el6_2.2                
pciutils-libs.x86_64             3.1.10-4.el6                  
pcre.x86_64                      7.8-6.el6                     
perl.x86_64                      4:5.10.1-136.el6              
perl-Module-Pluggable.x86_64     1:3.90-136.el6                
perl-Newt.x86_64                 1.08-26.el6                   
perl-Pod-Escapes.x86_64          1:1.04-136.el6                
perl-Pod-Simple.x86_64           1:3.13-136.el6                
perl-libs.x86_64                 4:5.10.1-136.el6              
perl-version.x86_64              3:0.77-136.el6                
pinentry.x86_64                  0.7.6-6.el6                   
pixman.x86_64                    0.32.4-4.el6                  
pkgconfig.x86_64                 1:0.23-9.1.el6                
pm-utils.x86_64                  1.2.5-11.el6                  
policycoreutils.x86_64           2.0.83-19.47.el6              
polkit.x86_64                    0.96-7.el6                    
popt.x86_64                      1.13-7.el6                    
ppl.x86_64                       0.10.2-11.el6                 
procps.x86_64                    3.2.8-30.el6                  
psmisc.x86_64                    22.6-19.el6_5                 
pth.x86_64                       2.0.7-9.3.el6                 
pyOpenSSL.x86_64                 0.10-2.el6                    
pygobject2.x86_64                2.20.0-5.el6                  
pygpgme.x86_64                   0.1-18.20090824bzr68.el6      
python.x86_64                    2.6.6-52.el6                  
python-dateutil.noarch           1.4.1-6.el6                   
python-dmidecode.x86_64          3.10.13-3.el6_4               
python-ethtool.x86_64            0.6-5.el6                     
python-gudev.x86_64              147.1-4.el6_0.1               
python-iniparse.noarch           0.3.1-2.1.el6                 
python-libs.x86_64               2.6.6-52.el6                  
python-lxml.x86_64               2.2.3-1.1.el6                 
python-pip.noarch                7.1.0-1.el6                   
python-pycurl.x86_64             7.19.0-8.el6                  
python-rhsm.x86_64               1.12.5-2.el6                  
python-setuptools.noarch         0.6.10-3.el6                  
python-urlgrabber.noarch         3.9.1-9.el6                   
qt.i686                          1:4.6.2-28.el6_5              
readline.x86_64                  .0-4.el6                     
redhat-release-server.x86_64     Server-6.6.0.2.el6           
redhat-support-lib-python.noarch  0.9.6-1.el6                   
redhat-support-tool.noarch       0.9.6-2.el6                   
rhn-check.noarch                 1.0.0.1-18.el6                
rhn-client-tools.noarch          1.0.0.1-18.el6                
rhn-setup.noarch                 1.0.0.1-18.el6                
rhnlib.noarch                    2.5.22-15.el6                 
rhnsd.x86_64                     4.9.3-2.el6                   
rootfiles.noarch                 8.1-6.1.el6                   
rpm.x86_64                       4.8.0-37.el6                  
rpm-libs.x86_64                  4.8.0-37.el6                  
rpm-python.x86_64                4.8.0-37.el6                  
rsync.x86_64                     3.0.6-12.el6                  
rsyslog.x86_64                   5.8.10-8.el6                  
ruby.x86_64                      1.8.7.374-2.el6               
ruby-libs.x86_64                 1.8.7.374-2.el6               
sed.x86_64                       4.2.1-10.el6                  
selinux-policy.noarch            3.7.19-260.el6                
selinux-policy-targeted.noarch   3.7.19-260.el6                
setup.noarch                     2.8.14-20.el6_4.1             
shadow-utils.x86_64              2:4.1.4.2-19.el6              
shared-mime-info.x86_64          0.70-6.el6                    
sip.x86_64                       4.9.3-1.el6                   
slang.x86_64                     2.2.1-1.el6                   
sqlite.x86_64                    3.6.20-1.el6                  
sqlite-devel.x86_64              3.6.20-1.el6                  
ssmtp.x86_64                     2.61-22.el6                   
strace.x86_64                    4.5.19-1.19.el6               
subscription-manager.x86_64      1.12.14-7.el6                 
sudo.x86_64                      1.8.6p3-15.el6                
system-setup-keyboard.x86_64     0.7-4.el6                     
sysvinit-tools.x86_64            2.87-5.dsf.el6                
tar.x86_64                       2:1.23-11.el6                 
tcp_wrappers-libs.x86_64         7.6-57.el6                    
ttmkfdir.x86_64                  3.0.9-32.1.el6                
tzdata.noarch                    2014g-1.el6                   
tzdata-java.noarch               2014g-1.el6                   
udev.x86_64                      147-2.57.el6                  
upstart.x86_64                   0.6.5-13.el6_5.3              
usermode.x86_64                  1.102-3.el6                   
ustr.x86_64                      1.0.4-9.1.el6                 
util-linux-ng.x86_64             2.17.2-12.18.el6              
vim-minimal.x86_64               2:7.2.411-1.8.el6             
virt-what.x86_64                 1.11-1.2.el6                  
which.x86_64                     2.19-6.el6                    
xcb-util.x86_64                  0.3.6-5.el6                   
xkeyboard-config.noarch          2.11-1.el6                    
xorg-x11-font-utils.x86_64       1:7.2-11.el6                  
xorg-x11-fonts-Type1.noarch      7.2-9.1.el6                   
xorg-x11-proto-devel.noarch      7.7-9.el6                     
xorg-x11-server-Xorg.x86_64      1.15.0-22.el6                 
xorg-x11-server-common.x86_64    1.15.0-22.el6                 
xorg-x11-utils.x86_64            7.5-6.el6                     
xorg-x11-xkb-utils.x86_64        7.7-4.el6                     
xz-libs.x86_64                   4.999.9-0.5.beta.20091007git.el6
yum.noarch                       3.2.29-60.el6                 
yum-metadata-parser.x86_64       1.1.2-16.el6                  
yum-rhn-plugin.noarch            0.9.1-50.el6                  
zlib.i686                        1.2.3-29.el6                  
zlib.x86_64                      1.2.3-29.el6                  
zlib-devel.x86_64                1.2.3-29.el6                  

Joel DeWitt

unread,
Apr 13, 2016, 9:38:37 AM4/13/16
to phantomjs
Linux 2.6.32-573.7.1.el6.x86_64 is Centos 6.7.

sabyasachi bhattacharya

unread,
May 20, 2016, 8:15:23 AM5/20/16
to phantomjs
did you figure out the issue I am facing
 same issue

Sean McNamara

unread,
May 20, 2016, 8:34:32 AM5/20/16
to phan...@googlegroups.com
RHEL6 is very likely to simply be *too old* to build something as
modern as PhantomJS 2.1. It depends on Qt5 and QtWebKit, which
basically pulls an entirely new platform along with it -- tools and
libraries much newer than those available in CentOS 6. You can either
create a chroot with RHEL7 libraries (or newer), or upgrade your
distro. I don't think you will have very much luck compiling PhantomJS
with the base libraries of CentOS 6.x.
> --
> You received this message because you are subscribed to the Google Groups
> "phantomjs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to phantomjs+...@googlegroups.com.
> Visit this group at https://groups.google.com/group/phantomjs.
> For more options, visit https://groups.google.com/d/optout.

wagh...@gmail.com

unread,
Jun 1, 2016, 6:07:28 AM6/1/16
to phantomjs
git submodule init && git submodule update



should solve the problem
Reply all
Reply to author
Forward
0 new messages