I'm trying to compile 2.0.4 using: ./configure --prefix=/usr --sysconfdir=/etc --enable-dynamic-linking and right away, it fails telling me that libnet-config isn't found. Which is correct, I don't have it installed. There wasn't anything in the tarball that told me I needed to. A 'grep -ri libnet *' shows a bunch of check in the configure and this ChangeLog entry: ChangeLog: * configure.in: added --with-libnet and --enable-spoof-source Is there a reason this dependency isn't documented inside the tarball, or am I missing some file/reference somewhere? Moving on, I went and downloaded the latest libnet, only to find out that the latest doesn't include libnet-config (it's deprecated). So now I have to downgrade my libnet. Moving on again, the compile fails: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/eventlog -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=k8 -mmmx -msse -msse2 -m3dnow -pipe -fomit-frame-pointer -Wall -g -MT cfg-grammar.o -MD -MP -MF ".deps/cfg-grammar.Tpo" \ -c -o cfg-grammar.o `test -f 'cfg-grammar.c' || echo './'`cfg-grammar.c; \ then mv -f ".deps/cfg-grammar.Tpo" ".deps/cfg-grammar.Po"; \ else rm -f ".deps/cfg-grammar.Tpo"; exit 1; \ fi In file included from /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:15: afinet.h:61: error: syntax error before 'libnet_t' afinet.h:61: warning: no semicolon at end of struct or union afinet.h:63: warning: type defaults to 'int' in declaration of 'AFInetDestDriver' afinet.h:63: warning: data definition has no type or storage class /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y: In function 'yyparse': /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:590: error: syntax error before ')' token /home/bazsi/zwa/git//syslog-ng/syslog-ng--mainline--2.0/src/cfg-grammar.y:623: error: syntax error before ')' token make[2]: *** [cfg-grammar.o] Error 1 make[2]: Leaving directory `/home/doug/syslog-ng-2.0.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/doug/syslog-ng-2.0.4' make: *** [all] Error 2 And there I'm stuck. On a whim, I 'upgrade' my libnet and it suddenly compiles w/o issue.. I think the libnet dependency needs to be re-examined -- Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778 http://doug.hunley.homeip.net I think, therefore, I am ... not related to you.
I'm trying to compile 2.0.4 using: ./configure --prefix=/usr --sysconfdir=/etc --enable-dynamic-linking
and right away, it fails telling me that libnet-config isn't found. Which is correct, I don't have it installed. There wasn't anything in the tarball that told me I needed to. A 'grep -ri libnet *' shows a bunch of check in the configure and this ChangeLog entry: ChangeLog: * configure.in: added --with-libnet and --enable-spoof-source
Is there a reason this dependency isn't documented inside the tarball, or am I missing some file/reference somewhere?
This question has been answered several times already... Compile without spoof support, that depends on libnet. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.
On Wednesday 23 May 2007 03:28:18 Geller, Sandor (IT) wrote:
This question has been answered several times already... Compile without spoof support, that depends on libnet.
Interesting. Is this documented in the tarball somewhere? -- Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778 http://doug.hunley.homeip.net If you can't change the rules, then ignore them -- Anti- Murphy's Laws n°10
participants (2)
-
Douglas J Hunley
-
Geller, Sandor (IT)