ISPConfig php install error

Discussion in 'Installation/Configuration' started by picard, Nov 28, 2005.

  1. picard

    picard New Member

    When i try to install ISPConfig, it dies on the following error:

    Code:
    /tmp/install_ispconfig/compile_aps/php-5.0.4/ext/sqlite/libsqlite/src/vbde.c:491
    6: internal compiler error: in sbitmap_difference, at sbitmap.c:305
    Please submit a full bug report,
    with preprocessed source if appropriate.
    ...
    omitted
    ...
    make: *** [ext/sqlite/libsqlite/src/vdbe.lo] Error1
    ERROR: Coulr not make PHP
    

    I just wanted to know if anyone would know what is missing or what i can do to fix this and get the program installed.

    Picard
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Strange - an SQLite related error...
    Which distribution do you use? Did you follow any of the "Perfect Setup" tutorials on HowtoForge?
    Do you use a 32- or 64-bit system?
     
  3. picard

    picard New Member

    hey,

    i'm using ubuntu 5.10 and yes i did go through the setup for that on the website.

    im running 32bit ubuntu on a 64bit amd..

    ive been reading that i need to edit the installed for 64bit, but i havn't seen this error in the forum, so thought id give it a shot..

    Picard
     
    Last edited: Nov 28, 2005
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    If you are running a 32 bit linux you dont have to edit the compile scripts! You only have to make the changes for 64 bit linux (not 64 bit CPU).
     
  5. picard

    picard New Member

    Hey guys..

    I deleted the install directory and retryed it.. now i get this msg.

    /home/ispconfig/install_ispconfig/compile_aps/php-5.0.4/ext/sqlite/libsqlite/src/vdbe.c: In function 'sqliteVdbeExec':
    /home/ispconfig/install_ispconfig/compile_aps/php-5.0.4/ext/sqlite/libsqlite/src/vdbe.c:4916: internal compiler error: in sbitmap_difference, at sbitmap.c:305
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
    make: *** [ext/sqlite/libsqlite/src/vdbe.lo] Error 1
    ERROR: Could not make PHP


    Running 32bit Ubuntu 5.10 and i followed the ubuntu 5.10 install guide from the website.

    Is there anything that i can do to atleast get further in the installation?

    Picard
     
  6. falko

    falko Super Moderator Howtoforge Staff

    I recommend that you follow the tutorial to the letter (except for settings like hostname or IP addresses). The best way is to use an SSH client like PuTTY and then copy and paste all the commands from the tutorial in order to avoid typos.
     
  7. picard

    picard New Member

    k thanx..

    i will reinstall and see how far i get this time..

    Picard
     
  8. picard

    picard New Member

    k i reinstalled the server following the same instructions that were posted in the perfect setup.

    tried to install the ispconfig again, and again got the same problem.

    Then i deleted the directory and tried to reinstall and got a different msg:

    /home/ispconfig/install_ispconfig/compile_aps/php-5.0.4/ext/pcre/pcrelib/pcre.c: In function 'compile_regex':
    /home/ispconfig/install_ispconfig/compile_aps/php-5.0.4/ext/pcre/pcrelib/pcre.c:3599: internal compiler error: in var_ann, at tree-flow-inline.h:34
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
    make: *** [ext/pcre/pcrelib/pcre.lo] Error 1
    ERROR: Could not make PHP
    ./compile: line 45: 17625 Segmentation fault rm -fr ${OPENSSL}

    Any ideas?

    Picard
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Hm, a segmentation fault can mean anything - it's even possible that it's a problem with your RAM or your hard disk...
     
  10. MrB

    MrB New Member

    Simmilar problems but with a 64AMD processor

    Hello,
    Iam trying to install isp-config on an AMD 64 with ubuntu 5.10 and get the following error:

    Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zen d_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.l o Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.l o Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_e xceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo Zend/zend_object_handlers. lo Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo Zend/ze nd_reflection_api.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache /mod_php5.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lcryp t -lmysqlclient -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -lcrypt -o libph p5.la
    /usr/bin/ld: /root/ispconfig/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_6 4_32 against `a local symbol' can not be used when making a shared object; recom pile with -fPIC
    /root/ispconfig/openssl/lib/libssl.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [libphp5.la] Error 1
    ERROR: Could not make PHP

    Is there any fix for this or? Perhaps that could help for the above posts as well

    MrB
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

  12. falko

    falko Super Moderator Howtoforge Staff

    http://www.howtoforge.com/forums/showthread.php?t=127
    http://www.howtoforge.com/forums/showpost.php?p=1400&postcount=12
     
  13. MrB

    MrB New Member

  14. MrB

    MrB New Member

    Did as you guys advised but get stuck with:

    configure: error: Cannot find libmysqlclient under /usr/local/lib/mysql.
    Note that the MySQL client library is not bundled anymore.
    ERROR: Could not configure PHP

    Did check /usr/local/lib/mysql and libmysqlclient was not there!
    Did
    apt-get install mysql-server mysql-client libmysqlclient12-dev

    mysqladmin -u root password yourrootsqlpassword
    and when running it again it seems that all is installed.

    am I being stupid or?

    MrB
     
  15. falko

    falko Super Moderator Howtoforge Staff

    libmysqlclient is missing.

    Now libmysqlclient should be installed. In order to install ISPConfig, you should remove the remainders of previous installation attempts:
    Code:
    rm -fr /root/ispconfig
    rm -fr /home/admispconfig
    Also delete the ISPConfig database if it exists, and also delete the install_ispconfig directory and unpack the ISPConfig sources again. Then you can try to run the installation again.
     
  16. MrB

    MrB New Member

    Back to sq1

    Falko,
    First ot all thanks for your help!

    But got back to sq 1 with:

    /usr/bin/ld: /root/ispconfig/openssl/lib/libssl.a(s2_srvr.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    /root/ispconfig/openssl/lib/libssl.a: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [libphp5.la] Error 1
    ERROR: Could not make PHP

    Perhaps time to go and buy a good old P4?

    MrB
     
  17. MrB

    MrB New Member

    Blushing...

    Not even BG's buys has manage to make a non-functional wizard that saves modidied files when you delete them...
    So back to sq 2 now!
    Still get stuck on:

    checking for MySQL UNIX socket location... no
    configure: error: Cannot find libmysqlclient under /usr/local/lib/mysql.
    Note that the MySQL client library is not bundled anymore.
    ERROR: Could not configure PHP

    Perhaps a stupid Q: Is it posible to just copy the libmysqlclient into /usr/local/lib/mysql ?
     

Share This Page