Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 9th January 2008, 19:02
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts
Default ISPConfig 2.2.19: Problems with ClamAV compilation on older Linux distributions

If your ISPConfig 2.2.19 update stops, dont panic. Please check if you see the following error message in the compilation output:

checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045
ERROR: Could not configure ClamAV
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:


and replace the line (160):

./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"

./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.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 9th January 2008 at 19:04.
Reply With Quote
The Following 8 Users Say Thank You to till For This Useful Post:
AphexTwin (10th January 2008), celtic (3rd February 2008), FXT (11th January 2008), Hans (9th January 2008), iverson0881 (11th January 2008), kokez (17th January 2008), RicochetPeter (2nd February 2008), shadowspank (24th January 2008)
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix Problems Rocky Installation/Configuration 22 14th September 2006 10:03
ISPConfig? New to Linux... Possibly using it, Possibly not. skin General 2 12th May 2006 15:44
Problems installing NForce4 sound drivers Wraithfire Installation/Configuration 21 16th April 2006 18:30
KErnel not showing all my memory Jorem Kernel Questions 8 13th April 2006 13:59
Help! Real newbie having problems installing Linux t-kiss Kernel Questions 5 4th April 2006 16:14

All times are GMT +2. The time now is 09:30.

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