If your ISPConfig 2.2.19 update stops, dont panic. Please check if you see the following error message in the compilation output:
This error may occur if you use a older linux distribution like Ubuntu 6.x, SuSE 10 or Fedora 4 (just a few where I heard about this problem). This problem is caused by the ClamAV script, the ClamAV developers have added a check that prevents the compilation of the latest ClamAV version with some gcc compiler versions which are buggy.
The recommended solution from the ClamAV dev's: Update GCC
The problem is, newer gcc packages are not available anymore for these linux distributions. Older gcc versions may work too, so downgrading gcc can be an option.
I collected here some workarounds:
Ubuntu 6.06 LTS:
http://www.howtoforge.com/forums/sho...4&postcount=27
For all other linux distributions, the following steps should help:
1) Execute:
mkdir /root/ispconfig
to make sure that the ispconfig installer performs a update, when we start it again.
2) Unpack the file ISPConfig-2.2.19.tar.gz again. Then edit the file:
install_ispconfig/compile_aps/compile
and replace the line (160):
Code:
./configure --prefix=/home/adm${APPLICATION_NAME}/${APPLICATION_NAME}/tools/clamav --sysconfdir=/home/adm${APPLICATION_NAME}/${APPLICATION_NAME}/tools/clamav/etc --with-user=adm${APPLICATION_NAME} --with-group=adm${APPLICATION_NAME} --disable-clamav --disable-bzip2 --disable-zlib-vcheck || error "Could not configure ClamAV"
with:
Code:
./configure --prefix=/home/adm${APPLICATION_NAME}/${APPLICATION_NAME}/tools/clamav --sysconfdir=/home/adm${APPLICATION_NAME}/${APPLICATION_NAME}/tools/clamav/etc --with-user=adm${APPLICATION_NAME} --with-group=adm${APPLICATION_NAME} --disable-clamav --disable-bzip2 --disable-zlib-vcheck --disable-gcc-vcheck CFLAGS="-O0" || error "Could not configure ClamAV"
The relevant change is that I added the options
--disable-gcc-vcheck CFLAGS="-O0" which disable the gcc check and disable the gcc compiler optimisations.
3) Now run the ispconfig setup script again.
Why did we not add this by default? The changes above disable the compiler optimisations for gcc, this is not recommended and might slow down clamav.
Recent comments
13 hours 7 min ago
22 hours 35 min ago
23 hours 25 min ago
1 day 2 hours ago
1 day 7 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 19 hours ago
2 days 54 min ago
2 days 2 hours ago