Can developers fix the problem: impossible to do build clamav with separate dir tree? Example (OS Solaris 5.9, gcc 3.4.0):
$ cd clamav-devel-yyyymmdd $ BDIR=obj.`uname -s`.`uname -r`.`uname -m` #in the sendmail manner :) $ mkdir $BDIR $ cd $BDIR $ ../configure --enable-milter LDFLAGS="-L/usr/local/lib -R/usr/local/lib" $ make [...] Making all in clamav-milter if gcc -DHAVE_CONFIG_H -I. -I../../clamav-milter -I.. -I../../clamd -I../../libclamav -I../../shared -I/usr/local/include -g -O2 -MT cfgparser.o -MD -MP -MF ".deps/cfgparser.Tpo" -c -o cfgparser.o `test -f '../../shared/cfgparser.c' || echo '../../clamav-milter/'`../../shared/cfgparser.c; \ then mv -f ".deps/cfgparser.Tpo" ".deps/cfgparser.Po"; else rm -f ".deps/cfgparser.Tpo"; exit 1; fi ../../shared/cfgparser.c:29:30: shared/cfgparser.h: No such file or directory ../../shared/cfgparser.c:30:25: shared/misc.h: No such file or directory ../../shared/cfgparser.c:32:27: libclamav/str.h: No such file or directory ../../shared/cfgparser.c:34: error: elements of array `cfg_options' have incomplete type ../../shared/cfgparser.c:35: warning: excess elements in struct initializer ../../shared/cfgparser.c:35: warning: (near initialization for `cfg_options[0]') [...] Workaround: $ ../configure CPPFLAGS="-I../.." $ make Is it real to fix? -- Best regards, Michael _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
