On 02/06/2007 11:58 AM, Stephen Gran wrote:
On Tue, Feb 06, 2007 at 09:57:31AM -0600, Roy Carin said:
Hello everyone.
I tried to build clamav-0.90rc3 from a LINUX-ELF subdirectory under the
main source directory:
cd ~/clamav-0.90rc3/LINUX-ELF
../configure
However, the build failed with these errors:
../../shared/cfgparser.c:29:30: shared/cfgparser.h: No such file or
directory
../../shared/cfgparser.c:30:27: shared/memory.h: No such file or directory
../../shared/cfgparser.c:31:25: shared/misc.h: No such file or directory
../../shared/cfgparser.c:33:27: libclamav/str.h: No such file or directory
../../shared/cfgparser.c:35: error: elements of array `cfg_options' have
incomplete type
Evidently, the build system does not support building this way. I
respectfully request that support be added to allow for building from
subdirectories under the main source directory.
I don't have a LINUX-ELF subdirectory here. Where did you get this
source?
Oops. I should have mentioned that I created that subdirectory first :-)
tar xzf /tmp/clamav-0.90rc3.tar.gz
cd clamav-0.90rc3
mkdir LINUX-ELF
cd LINUX-ELF
../configure
I did that to keep the source directory pristine. Normally, everything
is built under LINUX-ELF. Clamav 0.88.7 supported this without any
problem. I think that something is broken in the build system for 0.90rc3.
I was forced to build in the main source directory (clamav-0.90rc3).
--
Send instant messages to your online friends http://au.messenger.yahoo.com
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html