HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Problem installing on CentOS 4.2 (http://www.howtoforge.com/forums/showthread.php?t=2821)

bokko 1st March 2006 13:47

Problem installing on CentOS 4.2
 
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 ?

falko 1st March 2006 14:36

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). :)

bokko 1st March 2006 14:43

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

bokko 1st March 2006 16:49

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 !

bokko 1st March 2006 17:14

Still nothing...

Doe anyone has a tip/solution ?

UPDATE: compiling and installing zlib-1.2.3 made it work....


All times are GMT +2. The time now is 08:18.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.