Skip to main content

Problem installing "phantomjs"

Comments

4 comments

  • cPanelMichael
    Hello :) Have you verified the "freetype" package is installed on your system? Also, is this application expecting it at a certain location? Thank you.
    0
  • Pascu
    Hi I recently installed WHM on CentOS 7 and I am trying to install Phantomjs 2.0.0 I have all the dependencies installed I have even disabled the firewall ... no way to compile this ... somebody could tell me where I could come this error? Bests Regards
    #######Please submit a full bug report,########## with preprocessed source if appropriate. See <" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://bugzilla.redhat.com/bugzilla>" rel="nofollow">http://bugzilla.redhat.com/bugzilla> for instructions. make[2]: *** [.obj/qdatetimeparser.o] Error 4 g++: error interno del compilador: Violaci"n de segmento (programa cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <" target="_blank" class="externalLink ProxyLink" data-proxy-href="http://bugzilla.redhat.com/bugzilla>" rel="nofollow">http://bugzilla.redhat.com/bugzilla> for instructions. make[2]: *** [.obj/qdatetime.o] Error 4 make[2]: se sale del directorio `/opt/phantomjs-2.0.0/src/qt/qtbase/src/corelib' make[1]: *** [sub-corelib-make_first] Error 2 make[1]: se sale del directorio `/opt/phantomjs-2.0.0/src/qt/qtbase/src' make: *** [sub-src-make_first] Error 2
    0
  • Pascu
    Hi Here I leave information on how to install Phantomjs on CentOS 7 Basically I need to find the installation package compiled whit build packege made, otherwise execute ./build It takes a lot of mime and from there the problems begin
    PHANTOMJS ON CENTOS 7 / WHM / CPANEL Make sure you have installed the necessary dependencies to compile the script ... typically are this, for more info visit the official website yum install fontconfig freetype libfreetype.so.6 libfontconfig.so.1 libstdc++.so.6 gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel 1. Create a directory for this script, I have created in / opt mkdir -p /opt/phantomjs 2. Download and unzip wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-linux-x86_64.tar.bz2 tar -xjvf phantomjs-1.9.8-linux-x86_64.tar.bz2 3. Moves the files to where the script will reside mv phantomjs-1.9.8-linux-x86_64/* /opt/phantomjs 4. create symbolic links ln -s /opt/phantomjs/bin/phantomjs /usr/bin/phantomjs ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/phantomjs 5.test phantomjs phantomjs /opt/phantomjs/examples/hello.js phantomjs -v 6. Be a clean guy and delete files you no longer need run rm -rf for phantomjs-1.9.8-linux-x86_64.tar.bz2 and phantomjs-1.9.8-linux-x86_64
    Bests regards !!! and if you want to see phantomjs working in a real site visit my website - Removed - and index your WebSite
    0
  • cPanelMichael
    I am happy to see you were able to complete the installation. Thank you for updating us with the method you used.
    0

Please sign in to leave a comment.