[Snort-devel] configure cannot find libnet-config

Steven Sturges steve.sturges at ...402...
Fri Dec 21 08:00:22 EST 2007


Thanks for the suggestion, Lee.  We'll look into it,
especially because libnet 1.0.2 is pretty old these days.

Cheers.
-steve

Lee Clemens wrote:
> Hello,
> 
> Configure seems to be unable to locate libnet-config (in libnet's bin dir),
> even with --with-libnet-* options supplied when libnet is installed in an
> 'unusual place'.
> 
> After putting libnet's path (<libnet-path>/bin) in the $PATH for the user
> running configure -- Configure was able to continue.
> 
> However, I wanted to report this because the Configure script may be able to
> be fixed to avoid manually adding libnet's bin directory to $PATH or by
> being provided the root path to libnet as an argument.
> 
> 
> System Architecture/Operating System:
> 
> Linux HOSTNAME 2.6.18-53.1.4.el5xen #1 SMP Wed Nov 14 11:05:57 EST 2007 i686
> athlon i386 GNU/Linux
> 
> 
> Versions:
> 
> Snort:  2.8.0.1
> Libnet: 1.0.2a
> 
> 
> No preprocessors, no rules, no output plug-ins
> 
> 
> Command:
> 
> configure --prefix=/<snort-path> \
>   --enable-debug \
>   --enable-inline \
>   --enable-react \
>   --with-libnet-includes=/<libnet-path>/include \
>   --with-libnet-libraries=/<libnet-path>/lib
> 
> 
> Configure Errors:
> 
> /* snip */
> 
> checking "for libnet.h version 1.0.x"... ./configure: line 25291:
> libnet-config: command not found
> ./configure: line 25291: libnet-config: command not found
> ./configure: line 25292: libnet-config: command not found
> /<libnet-path>/include
> ./configure: line 25918: libnet-config: command not found
> ./configure: line 25918: libnet-config: command not found
> ./configure: line 25930: libnet-config: command not found
> ./configure: line 25935: libnet-config: command not found
> checking libnet.h usability... no
> checking libnet.h presence... no
> checking for libnet.h... no
> 
>    ERROR!  Libnet header not found, go get it from
>    http://www.packetfactory.net/projects/libnet/
>    or use the --with-libnet-* options, if you have it installed
>    in unusual place
> 
> 
> 
> Kind Regards,
> Lee
> snort at ...2953...
> 
> 
> 




More information about the Snort-devel mailing list