On 2009-05-30 21:26, Digital Hit Entertainment wrote:
> Just trying to upgrade my server from source to 0.95.1. After running 
> ./configure I rec'd the following errors:
>
> make  all-recursive
> make[1]: Entering directory `/downloads/clamav-0.95.1'
> Making all in libltdl
> make[2]: Entering directory `/downloads/clamav-0.95.1/libltdl'
> make  all-am
> make[3]: Entering directory `/downloads/clamav-0.95.1/libltdl'
> /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  
> -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<clamav-config.h>' -DLTDL -I. -I. 
> -Ilibltdl -I./libltdl -I./libltdl   `echo "-g -O2" | sed -e 
> 's/-Werror[^=-]//'` -MT libltdlc_la-ltdl.lo -MD -MP -MF 
> .deps/libltdlc_la-ltdl.Tpo -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || 
> echo './'`ltdl.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DLTDLOPEN=libltdlc 
> "-DLT_CONFIG_H=<clamav-config.h>" -DLTDL -I. -I. -Ilibltdl -I./libltdl 
> -I./libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF 
> .deps/libltdlc_la-ltdl.Tpo -c ltdl.c  -fPIC -DPIC -o .libs/libltdlc_la-ltdl.o
> ltdl.c:79: `usr' undeclared here (not in a function)
> ltdl.c:79: `local' undeclared here (not in a function)
> ltdl.c:79: `ssl' undeclared here (not in a function)
> ltdl.c:79: `lib' undeclared here (not in a function)
> ltdl.c:79: syntax error before string constant
>   

Something must have gone wrong during configure.
Look in config.log and clamav-config.h, and see if you spot anything
suspicious regarding /usr/local/ssl/lib.

> make[3]: *** [libltdlc_la-ltdl.lo] Error 1
> make[3]: Leaving directory `/downloads/clamav-0.95.1/libltdl'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/downloads/clamav-0.95.1/libltdl'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/downloads/clamav-0.95.1'
> make: *** [all] Error 2
>
> What's my next step? I've had no problems installing upgrades before.
>   

Post your clamav-config.h please.


Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to