Configure options: ./configure --enable-milter
clamav-milter.c:144: getopt.h: No such file or directory *** Error code 1
I found this files in the /usr/lib/ dir libmilter.a , libmilter.so , libmilter.so.2 , libmilter_p.a
From clamav-milter/INSTALL:
>FreeBSD4.7 use /usr/local/bin/gcc30. GCC3.0 is an optional extra on
>FreeBSD. It comes with getopt.h which is handy. To link you need
>-lgnugetopt
> gcc30 -O3 -DCONFDIR=\"/usr/local/etc\" -I. -I.. -I../clamd -I../libclamav -pedantic ->Wuninitialized -Wall -pipe -mcpu=pentium -march=pentium -fomit-frame-pointer -ffast-math -finline->functions -funroll-loops clamav-milter.c -pthread -lmilter ../libclamav/.libs/libclamav.a >../clamd/cfgfile.o ../clamd/others.o -lgnugetopt
How do i go abt linking using that line above ? With the details, am i still lacking something / where am i going wrong ?
Info : OS: FreeBSD 4.9-PRERELEASE Sendmail 8.12.9 (from /usr/ports/mail/sendmail) gcc3.0 (from /usr/ports/lang/gcc30)
Thx, Christopher
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users