Another ERROR: The PHP binary coming with ISPConfig does not work properly on your sy

Discussion in 'Installation/Configuration' started by hoopsx3, Jan 28, 2007.

  1. hoopsx3

    hoopsx3 New Member

    Hello,
    I downloaded UBUNTU, installed it followed the
    The Perfect Setup - Ubuntu 6.06 LTS Server (Dapper Drake) and keep getting errors during install ;(

    The latest attempt...

    checking for realpath... yes
    checking for random... yes
    checking for rand_r... yes
    checking for regcomp... yes
    checking for res_search... (cached) yes
    checking for scandir... yes
    checking for setitimer... yes
    checking for setlocale... yes
    checking for localeconv... yes
    checking for setenv... yes
    checking for setpgid... yes
    checking for setsockopt... yes
    checking for setvbuf... yes
    checking for shutdown... yes
    checking for sin... yes
    checking for snprintf... yes
    checking for srand48... yes
    checking for srandom... yes
    checking for statfs... yes
    checking for statvfs... yes
    checking for std_syslog... no
    checking for strcasecmp... yes
    checking for strcoll... yes
    checking for strdup... yes
    checking for strerror... yes
    checking for strftime... yes
    checking for strptime... yes
    checking for strstr... yes
    checking for strtok_r... yes
    checking for symlink... yes
    checking for tempnam... yes
    checking for tzset... yes
    checking for unlockpt... yes
    checking for unsetenv... yes
    checking for usleep... yes
    checking for nanosleep... yes
    checking for utime... yes
    checking for vsnprintf... yes
    checking for getaddrinfo... yes
    checking for strlcat... no
    checking for strlcpy... no
    checking for getopt... yes
    checking whether utime accepts a null argument... yes
    checking for working alloca.h... (cached) yes
    checking for alloca... yes
    checking for declared timezone... yes
    checking for type of reentrant time-related functions... POSIX
    checking for readdir_r... yes
    checking for type of readdir_r... POSIX
    checking for in_addr_t... yes

    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... /root/ispconfig/php
    checking where to scan for configuration files... DEFAULT
    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... no
    checking whether to enable magic quotes by default... no
    checking whether to enable runpaths... yes
    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
    checking whether to enable versioning... no

    Configuring extensions
    checking whether to enable LIBXML support... no
    checking libxml2 install dir... no
    checking for OpenSSL support... yes
    checking for Kerberos support... no
    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... no
    checking if the location of ZLIB install directory is defined... no
    checking whether to enable bc style precision math functions... no
    checking for BZip2 support... no
    checking whether to enable calendar conversion support... no
    checking whether to enable ctype functions... yes
    checking for cURL support... no
    checking if we should use cURL for url streams... no
    checking size of long... (cached) 4
    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 DBA... no
    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... no
    checking whether to enable EXIF (metadata from images) support... no
    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... no
    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... no
    checking for the location of libjpeg... no
    checking for the location of libpng... no
    checking for the location of libXpm... no
    checking for FreeType 1.x support... no
    checking for FreeType 2... no
    checking for T1lib support... no
    checking whether to enable truetype string function in GD... no
    checking whether to enable JIS-mapped Japanese font support in GD... no
    checking for GNU gettext support... no
    checking for GNU MP support... no
    checking whether to enable hash support... yes
    checking whether byte ordering is bigendian... (cached) no
    checking size of short... 2
    checking size of int... (cached) 4
    checking size of long... (cached) 4
    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... no
    checking for IMAP Kerberos support... no
    checking for IMAP SSL support... no
    checking for Informix support... no
    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 for strings.h... yes
    checking for unistd.h... (cached) yes
    checking for sys/time.h... (cached) yes
    checking for sys/times.h... yes
    checking size of int... (cached) 4
    checking size of short... (cached) 2
    checking size of long... (cached) 4
    checking for working 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 8-bit clean memcmp... yes
    checking for mcrypt support... no
    checking for mhash support... no
    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... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    ./setup2: line 860: ispconfig_tmp/php/bin/php: No such file or directory
    ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
    root@server1:/home/adminpower/Desktop/install_ispconfig#



    Does anyone see my mistake ?

    Thanks,
    Glenn
     
  2. hoopsx3

    hoopsx3 New Member

    nevermind !

    apt-get install cpp
    and mysql-dev !!

    Installed fine ;)

    on a side note, what repository calls it mysql-dev ??/

    Thanks,
    HoopsCoop
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    The error was caused by the missing mysql development files. The mysql dev files are in the pacakge libmysqlclient12-dev when you have mysql 4 installed or in the package libmysqlclient15-dev if you have mysql 5 installed.
     

Share This Page