Problem installing on CentOS 4.2

Discussion in 'Installation/Configuration' started by bokko, Mar 1, 2006.

  1. bokko

    bokko New Member

    Hello, i have a problem installing ispconfig 2.1.2 on centos 4.2.
    I did a clean Centos server installation, installed bison, byacc and compiled zlib 1.2.3. Everything goes fine until the compilation of clamav. I get the following output:

    Code:
    gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o  -L/usr/local/lib ../libclamav/.libs/libclamav.so -lz -lpthread -lnsl -Wl,--rpath -Wl,/home/admispconfig/ispconfig/tools/clamav/lib
    ../libclamav/.libs/libclamav.so: undefined reference to `errno'
    collect2: ld returned 1 exit status
    make[2]: *** [clamscan] Error 1
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.87.1/clamscan'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.87.1'
    make: *** [all] Error 2
    ERROR: Could not make 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
    
    What could be the problem ?
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    I don't know where this error comes from, but if you wait a few hours the new ISPConfig 2.2.0 will be available, and hopefully you have more luck with it (ClamAV has changed in this new version). :)
     
  3. bokko

    bokko New Member

    Thank you, i will wait for the new version and try again.
     
  4. bokko

    bokko New Member

    I tried it with ispconfig-2.2.0 and it hangs on the same error:

    Code:
    ../libclamav/.libs/libclamav.so: undefined reference to `errno'
    collect2: ld returned 1 exit status
    make[2]: *** [clamscan] Error 1
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.88/clamscan'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.88'
    make: *** [all] Error 2
    ERROR: Could not make ClamAV
    Maybe clamav needs some libs i do not have, strange that clamav configure does not complain about anyting?

    Any help on this will be appriciated!

    Thanks!

    UPDATE: tried to configure clamav from the source directly and got the following error:

    Code:
    configure: error: User clamav (and/or group clamav) doesn't exist. Please read the documentation !
     
    Last edited: Mar 1, 2006
  5. bokko

    bokko New Member

    Still nothing...

    Doe anyone has a tip/solution ?

    UPDATE: compiling and installing zlib-1.2.3 made it work....
     
    Last edited: Mar 1, 2006

Share This Page