PHP5.2.17 and LSPHP Fails

Discussion in 'PHP' started by cmanns, Jul 5, 2011.

  1. cmanns

    cmanns New Member

    I've been going at this for hours, this box used to compile LSPHP5 fine easyapache or ls admin panel.


    I google and such, appears missing lib's, but I've been checking everything, checking it again, installing -dev packages of libs and what not.


    Code:
    
    General settings
    checking whether to include gcov symbols... no
    checking whether to include debugging symbols... no
    checking layout of installed files... PHP
    checking path to configuration file... DEFAULT
    checking where to scan for configuration files... 
    checking whether to enable safe mode by default... no
    checking for safe mode exec dir... /usr/local/php/bin
    checking whether to enable PHP's own SIGCHLD handler... yes
    checking whether to enable magic quotes by default... no
    checking whether to explicitly link against libgcc... no
    checking whether to enable short tags by default... yes
    checking whether to enable dmalloc... no
    checking whether to enable IPv6 support... yes
    checking how big to make fd sets... using system default
    
    Configuring extensions
    checking for long... (cached) yes
    checking size of long... (cached) 8
    checking for int... (cached) yes
    checking size of int... (cached) 4
    checking for int32_t... yes
    checking for uint32_t... yes
    checking for sys/types.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for string.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for strtoll... yes
    checking for atoll... yes
    checking for strftime... (cached) yes
    checking whether to enable LIBXML support... yes
    checking libxml2 install dir... /opt/xml2/
    checking for xml2-config path... /opt/xml2//bin/xml2-config
    checking whether libxml build works... yes
    checking for OpenSSL support... yes
    checking for Kerberos support... yes
    checking for krb5-config... /usr/kerberos/bin/krb5-config
    checking for DSA_get_default_method in -lssl... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... yes
    checking for SSL_CTX_set_ssl_version in -lssl... yes
    checking for PCRE support... yes
    checking for ZLIB support... yes
    checking if the location of ZLIB install directory is defined... /usr
    checking for gzgets in -lz... yes
    checking whether to enable bc style precision math functions... yes
    checking for BZip2 support... yes
    checking for BZip2 in default path... found in /usr
    checking for BZ2_bzerror in -lbz2... yes
    checking whether to enable calendar conversion support... yes
    checking whether to enable ctype functions... yes
    checking for cURL support... yes
    checking if we should use cURL for url streams... no
    checking for cURL in default path... found in /usr
    checking for cURL 7.10.5 or greater... libcurl 7.15.5
    checking for SSL support in libcurl... yes
    checking how to run the C preprocessor... /usr/bin/cpp
    checking for openssl support in libcurl... yes
    checking openssl/crypto.h usability... yes
    checking openssl/crypto.h presence... yes
    checking for openssl/crypto.h... yes
    checking for gnutls support in libcurl... no
    checking for curl_easy_perform in -lcurl... yes
    checking for curl_version_info in -lcurl... yes
    checking for curl_easy_strerror in -lcurl... yes
    checking for curl_multi_strerror in -lcurl... yes
    checking for QDBM support... no
    checking for GDBM support... no
    checking for NDBM support... no
    checking for Berkeley DB4 support... no
    checking for Berkeley DB3 support... no
    checking for Berkeley DB2 support... no
    checking for DB1 support... no
    checking for DBM support... no
    checking for CDB support... no
    checking for INI File support... no
    checking for FlatFile support... no
    checking whether to enable DBA interface... no
    checking whether to enable dbase support... no
    checking whether to enable DOM support... yes
    checking for xml2-config path... (cached) /opt/xml2//bin/xml2-config
    checking whether libxml build works... (cached) yes
    checking whether to enable EXIF (metadata from images) support... yes
    checking for FrontBase SQL92 (fbsql) support... no
    checking for FDF support... no
    checking whether to enable input filter support... yes
    checking pcre install prefix... no
    checking whether to enable FTP support... yes
    checking OpenSSL dir for FTP... /usr
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... (cached) yes
    checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
    checking for GD support... yes
    checking for the location of libjpeg... /usr
    checking for the location of libpng... /usr/lib64
    checking for the location of libXpm... /usr/lib64
    checking for FreeType 1.x support... yes
    checking for FreeType 2... /usr/lib64
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... yes
    checking whether to enable JIS-mapped Japanese font support in GD... no
    checking for fabsf... yes
    checking for floorf... yes
    checking for jpeg_read_header in -ljpeg... yes
    checking for png_write_image in -lpng... yes
    checking for XpmFreeXpmImage in -lXpm... yes
    checking for FT_New_Face in -lfreetype... yes
    checking for FreeType 1 support... no - FreeType 2.x is to be used instead
    checking for GNU gettext support... yes
    checking for bindtextdomain in -lintl... no
    checking for bindtextdomain in -lc... yes
    checking for ngettext in -lc... yes
    checking for dngettext in -lc... yes
    checking for dcngettext in -lc... yes
    checking for bind_textdomain_codeset in -lc... yes
    checking for GNU MP support... no
    checking whether to enable hash support... yes
    checking whether byte ordering is bigendian... (cached) no
    checking for short... yes
    checking size of short... 2
    checking for int... (cached) yes
    checking size of int... (cached) 4
    checking for long... (cached) yes
    checking size of long... (cached) 8
    checking for long long... (cached) yes
    checking size of long long... (cached) 8
    checking for iconv support... yes
    checking for iconv... yes
    checking if iconv is glibc's... yes
    checking if iconv supports errno... yes
    checking if your cpp allows macro usage in include lines... yes
    checking for IMAP support... yes
    checking for IMAP Kerberos support... yes
    checking for IMAP SSL support... /usr
    checking for utf8_mime2text signature... new
    checking for U8T_DECOMPOSE... 
    checking for pam_start in -lpam... yes
    checking for crypt in -lcrypt... yes
    checking for OpenSSL version... >= 0.9.6
    checking for CRYPTO_free in -lcrypto... (cached) yes
    checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
    checking whether build with IMAP works... yes
    checking whether rfc822_output_address_list function present... yes
    checking for InterBase support... no
    checking whether to enable JavaScript Object Serialization support... yes
    checking for ANSI C header files... (cached) yes
    checking for LDAP support... no
    checking for LDAP Cyrus SASL support... no
    checking whether to enable multibyte string support... yes
    checking whether to enable multibyte regex support... yes
    checking whether to check multibyte regex backtrack... yes
    checking for external libmbfl... no
    checking for variable length prototypes and stdarg.h... yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking strings.h usability... yes
    checking strings.h presence... yes
    checking for strings.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking for stdarg.h... (cached) yes
    checking for int... (cached) yes
    checking size of int... (cached) 4
    checking for short... (cached) yes
    checking size of short... (cached) 2
    checking for long... (cached) yes
    checking size of long... (cached) 8
    checking for an ANSI C-conforming const... (cached) yes
    checking whether time.h and sys/time.h may both be included... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... (cached) yes
    checking for working memcmp... yes
    checking for mcrypt support... yes
    checking for libmcrypt version... >= 2.5.6
    checking for mcrypt_module_open in -lmcrypt... yes
    checking for mhash support... yes
    checking whether to include mime_magic support... no
    checking for MING support... no
    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... /tmp/mysql.sock
    checking for MySQL UNIX socket location... /tmp/mysql.sock
    checking for mysql_close in -lmysqlclient... yes
    checking for MySQLi support... yes
    checking whether to enable embedded MySQLi support... no
    checking for mysql_set_server_option in -lmysqlclient... yes
    checking for mysql_stmt_field_count in -lmysqlclient... yes
    checking for ncurses support... no
    checking for Oracle (OCI8) support... no
    checking whether to enable pcntl support... no
    checking whether to enable PDO support... yes
    checking for PDO_DBLIB support via FreeTDS... no
    checking for Firebird support for PDO... no
    checking for MySQL support for PDO... no
    checking Oracle OCI support for PDO... no
    checking for ODBC v3 support for PDO... no
    checking for PostgreSQL support for PDO... no
    checking for sqlite 3 support for PDO... yes
    checking for PDO includes... checking for PDO includes... /usr/local/lsws/phpbuild/php-5.2.17/ext
    checking for char *... yes
    checking size of char *... configure: error: cannot compute sizeof (char *), 77
    See `config.log' for more details.
    **ERROR** Could not configure PHP build
    
  2. webizen

    webizen New Member

    Does this error happen when build PHP with EasyApache or with LSWS Admin CP? Also check config.log for more details about the error as it indicates.
  3. mistwang

    mistwang LiteSpeed Staff

    You need to check /usr/local/lsws/phpbuild/php-5.2.17/config.log

    compiler does not work properly. or try easyApache, then build matching PHP from WHM.
  4. cmanns

    cmanns New Member

    We can't switch to apache which you need to with easyapache. Whenever we do PHP updates via ea3 and litespeed we go down for over an hour.



    I checked config.log let me grab it, it says various things. I've tried a large number of differen't things.

    http://pastebin.com/xKMPMRTK
  5. mistwang

    mistwang LiteSpeed Staff

    You have to locate the gcc error, the part you posted does not help. you can try to compile those code manually, see what you get.
  6. cmanns

    cmanns New Member

    How'd I go about compiling them manually?

    it used to work fine like this, I think it's because of my /tmp setup


    I'll keep ya posted.

    Also would you guys make a modified cpanel /scripts/phpopenbasedir or whatever it's named script? I modified mine and got openbase_dir to write to httpd.conf with mod_fcgid apache but it wrote like 6 things per vhost and only one works.
  7. webizen

    webizen New Member

Share This Page