error while installing.....

Discussion in 'Installation/Configuration' started by securitywonks, Dec 23, 2005.

  1. securitywonks

    securitywonks New Member

    getting error with php, and posting here the INSTALLTION log where error occured (after the BUILDing process is complete,

    ----------------------------------------------------------------------
    Build complete.
    (It is safe to ignore warnings about tempnam and tmpnam).

    Installing PHP SAPI module: apache
    [activating module `php5' in /root/ispconfig/httpd/conf/httpd.conf]
    cp libs/libphp5.so /root/ispconfig/httpd/libexec/libphp5.so
    chmod 755 /root/ispconfig/httpd/libexec/libphp5.so
    cp /root/ispconfig/httpd/conf/httpd.conf /root/ispconfig/httpd/conf/httpd.conf.bak
    cp /root/ispconfig/httpd/conf/httpd.conf.new /root/ispconfig/httpd/conf/httpd.conf
    rm /root/ispconfig/httpd/conf/httpd.conf.new
    Installing PHP CLI binary: /root/ispconfig/php/bin/
    Installing PHP CLI man pacompile_aps/php-5.0.4 -I/root/ispconfig/openssl/include -I/root/install_ispconfig/coge: /root/ispconfig/php/man/man1/
    Installing PEAR environment: /root/ispconfig/php/lib/php/
    [PEAR] Archive_Tar: 'xml' PHP extension is not installed
    [PEAR] Console_Getopt: 'xml' PHP extension is not installed
    [PEAR] PEAR: 'xml' PHP extension is not installed
    [PEAR] HTML_Template_IT: 'xml' PHP extension is not installed
    [PEAR] Net_UserAgent_Detect: 'xml' PHP extension is not installed
    [PEAR] XML_RPC: 'xml' PHP extension is not installed

    Installing build environment: /root/ispconfig/php/lib/php/build/
    Installing header files: /root/ispconfig/php/include/php/
    Installing helper programs: /root/ispconfig/php/bin/
    program: phpize
    program: php-config
    program: phpextdist
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    creating target.h - canonical system defines
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gawk... (cached) gawk
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for /usr/bin/ld option to reload object files... -r
    checking for BSD-compatible nm... /usr/bin/nm -B
    checking how to recognise dependant libraries... pass_all
    checking for egrep... grep -E
    checking command to parse /usr/bin/nm -B output... ok
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking for ranlib... ranlib
    checking for strip... strip
    checking for objdir... .libs
    checking for gcc option to produce PIC... -fPIC
    checking if gcc PIC flag -fPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.lo... yes
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking whether the linker (/usr/bin/ld) supports shared libraries... yes
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking whether -lc should be explicitly linked in... no
    creating libtool
    checking for ANSI C header files... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/int_types.h usability... no
    checking sys/int_types.h presence... no
    checking for sys/int_types.h... no
    checking for dlfcn.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking sys/inttypes.h usability... no
    checking sys/inttypes.h presence... no
    checking for sys/inttypes.h... no
    checking for memory.h... (cached) yes
    checking ndir.h usability... no
    checking ndir.h presence... no
    checking for ndir.h... no
    checking for stdlib.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for sys/stat.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking regex.h usability... yes
    checking regex.h presence... yes
    checking for regex.h... ycompile_aps/php-5.0.4 -I/root/ispconfig/openssl/include -I/root/install_ispconfig/coes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking sys/filio.h usability... no
    checking sys/filio.h presence... no
    checking for sys/filio.h... no
    checking sys/uio.h usability... yes
    checking sys/uio.h presence... yes
    checking for sys/uio.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking for off_t... yes
    checking size of short... 2
    checking size of int... 4
    checking size of long... 4
    checking size of long long... 8
    checking for bind in -lsocket... no
    checking for gethostent in -lnsl... yes
    checking for poll... yes
    checking for setsid... yes
    checking for memcpy... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for strerror_r... yes
    checking for strlcpy... no
    checking for strlcat... no
    checking for inet_ntop... yes
    checking for setgroups... yes
    checking for initgroups... yes
    checking for ctime_r... yes
    checking for stdlib.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for getpagesize... yes
    checking for working mmap... yes
    checking for _LARGEFILE_SOURCE value needed for large files... 1
    checking for fseeko... yes
    checking whether snprintf correctly terminates long strings... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for zlib installation... /usr
    configure: error: The installed zlib version may contain a security bug. Please upgrade to 1.2.2 or later: http://www.zlib.net. You can omit this check with --disable-zlib-vcheck but DO NOT REPORT any stability issues then!
    ERROR: Could not configure ClamAV

    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 771: 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@localdomain install_ispconfig]#
    [root@localdomain install_ispconfig]#

    ----------------------------------------------------------------------------------

    Thanks for a nice tool anyhow, eager to see it in full power soon:)

    Cheers
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can ignore the pear errors as ISPConfig does not use pear.

    To fix the zlib error, please have a look here:

    http://www.howtoforge.com/forums/showthread.php?t=302

    Before you run the setup script again, dont forget to remove the /root/ispconfig, /home/admispconfig and install_ispconfig directories as described in the installation manual.
     

Share This Page