View previous topic :: View next topic |
Author |
Message |
costa1977 n00b
Joined: 16 Sep 2003 Posts: 25 Location: PA, US
|
Posted: Sat Nov 29, 2003 6:32 pm Post subject: can't emerge snort |
|
|
when I do , the results were
Code: | checking for pcap_datalink in -lpcap... yes
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
make: *** No targets specified and no makefile found. Stop.
!!! ERROR: net-analyzer/snort-2.0.0 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! compile problem |
Any thoughts? Thanks. |
|
Back to top |
|
|
ikaro Advocate
Joined: 14 Jul 2003 Posts: 2527 Location: Denmark
|
Posted: Sat Nov 29, 2003 7:00 pm Post subject: |
|
|
try installing this :
net-libs/libnet |
|
Back to top |
|
|
costa1977 n00b
Joined: 16 Sep 2003 Posts: 25 Location: PA, US
|
Posted: Sat Nov 29, 2003 7:31 pm Post subject: |
|
|
I believe gentoo changed the libnet 1.0.2 file name, and snort is not compatible with libnet 1.1 yet. How to get around this? |
|
Back to top |
|
|
Dr_Stein Guru
Joined: 21 Mar 2003 Posts: 303 Location: Mountain View, CA
|
Posted: Mon Dec 01, 2003 12:02 am Post subject: Same problem here.. |
|
|
I installed libnet from portage..
checking for mysql... yes
checking for compress in -lz... yes
checking libnet.h usability... yes
checking libnet.h presence... yes
checking for libnet.h... yes
checking for libnet version 1.0.2a... no
ERROR! Snort with --enable-flexresp will *only* work with
libnet version 1.0.2a, go get it from
http://www.packetfactory.net/projects/libnet/
**********************************************
ERROR: unable to find libnet 1.0.2a (libnet.h)
checked in the following places
/usr/include
**********************************************
make: *** No targets specified and no makefile found. Stop.
!!! ERROR: net-analyzer/snort-2.0.0 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! compile problem
jezebel root # emerge -p libnet
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-libs/libnet-1.1.0-r3
jezebel root #
---
The URL spat out says this:
Deprecated Tree (unsupported)
Latest Version: 1.0.2a
The SecurityFocus article on libnet 1.0.x written by Mike Schiffman.
All of the libnet code may be found here.
--
So, the version in portage is the latest & greatest, and the version that Snort is looking for (1.0.2a) is deprecated & unsupported. Whoops. |
|
Back to top |
|
|
Dr_Stein Guru
Joined: 21 Mar 2003 Posts: 303 Location: Mountain View, CA
|
|
Back to top |
|
|
jesterspet Apprentice
Joined: 05 Feb 2003 Posts: 215 Location: Atlanta
|
Posted: Wed Dec 03, 2003 1:40 am Post subject: |
|
|
I got around my libnet problem by installing snort-2.0.2 with Code: | ACCEPT_KEYWORDS='~x86' emerge -v snort |
_________________ (X) Yes! I am a brain damaged lemur on crack, and would like to buy your software package for $499.95 |
|
Back to top |
|
|
|