Mailing List Archive

libnet-config missing
After installing libnet and running "./ConfigureMe configure" I get an error
...
checking for libnet-config... no
checking which glib config exists... using /usr/bin/glib-config
configure: error: You need libnet to continue. You can get libnet from
http://www.packetfactory.net/libnet

./bootstrap exiting due to error (sorry!).
[pegasus@Reliab07 heartbeat-0.4.9c]$

I find the file libnet-config in the libnet build directory but it never
gets installed anywhere by libnet's make install.

What should be done to fix this problem?

Todd C. Davis (A Linux-HA neophyte)
Telco Systems Development
Intel Corporation, Columbia Design Center
CBA-2, Suite 100
250 Berry Hill Road
Columbia, SC 29210
(803) 461-6108
fax:: (803) 461-6292
mailto:todd.c.davis@intel.com
libnet-config missing [ In reply to ]
On Wed, 4 Sep 2002, Davis, Todd C wrote:

>
> After installing libnet and running "./ConfigureMe configure" I get an error
> ...
> checking for libnet-config... no
> checking which glib config exists... using /usr/bin/glib-config
> configure: error: You need libnet to continue. You can get libnet from
> http://www.packetfactory.net/libnet
>
> ./bootstrap exiting due to error (sorry!).
> [pegasus@Reliab07 heartbeat-0.4.9c]$
>
> I find the file libnet-config in the libnet build directory but it never
> gets installed anywhere by libnet's make install.

That seems to be a problem with libnet 1.1.0. You can fix that by
copying libnet-config into /usr/bin or whatever.

However, I've had problems with libnet 1.1.0 and heartbeat. I'd
recommend you use libnet 1.0.2a instead.

I've managed to get this working (along with autoconf 2.53 and automake
1.6.3), but I'm still working to produce a list of directions that works
consistantly. I'll post it once I've got something I can recommend.


> What should be done to fix this problem?

Someone should report the bug to the libnet team so they can fix it.

I've looked for contact information, but the only contact info I found
was was an invitation to join thier mailing list, and I'm bust with
the linux-ha and linux-ha-dev lists I just joined. ;-}

Fortunately for us (for the moment), libnet 1.0.2a doesn't have this
particular problem.
libnet-config missing [ In reply to ]
Wallwork, Nathan wrote:
> On Wed, 4 Sep 2002, Davis, Todd C wrote:
>
>
>>After installing libnet and running "./ConfigureMe configure" I get an error
>>...
>>checking for libnet-config... no
>>checking which glib config exists... using /usr/bin/glib-config
>>configure: error: You need libnet to continue. You can get libnet from
>>http://www.packetfactory.net/libnet
>>
>>./bootstrap exiting due to error (sorry!).
>>[pegasus@Reliab07 heartbeat-0.4.9c]$
>>
>>I find the file libnet-config in the libnet build directory but it never
>>gets installed anywhere by libnet's make install.
>>
>
> That seems to be a problem with libnet 1.1.0. You can fix that by
> copying libnet-config into /usr/bin or whatever.


Here's a patch to the top level libnet Makefile.am which fixes this problem:

---------------------------------------------
alanr@servidor:~/Libnet-latest> diff -u Makefile.am.save Makefile.am
--- Makefile.am.save Wed Sep 4 22:32:02 2002
+++ Makefile.am Wed Sep 4 22:32:50 2002
@@ -11,3 +11,7 @@
SUBDIRS = include src man sample

EXTRA_DIST = Makefile.am.common
+
+libnetbindir = $(bindir)
+
+libnetbin_SCRIPTS = libnet-config
-----------------------------------------------

I've CCed the author of libnet.

-- Alan Robertson
alanr@unix.sh
libnet-config missing [ In reply to ]
The libnet-config script is being phased out in 1.1.x. You should not need it
anymore under Linux. It exists in the libnet TLD as an artifact...

On Wed, Sep 04, 2002 at 10:38:37PM -0600, Alan Robertson wrote:
> Wallwork, Nathan wrote:
> > On Wed, 4 Sep 2002, Davis, Todd C wrote:
> >
> >
> >>After installing libnet and running "./ConfigureMe configure" I get an error
> >>...
> >>checking for libnet-config... no
> >>checking which glib config exists... using /usr/bin/glib-config
> >>configure: error: You need libnet to continue. You can get libnet from
> >>http://www.packetfactory.net/libnet
> >>
> >>./bootstrap exiting due to error (sorry!).
> >>[pegasus@Reliab07 heartbeat-0.4.9c]$
> >>
> >>I find the file libnet-config in the libnet build directory but it never
> >>gets installed anywhere by libnet's make install.
> >>
> >
> > That seems to be a problem with libnet 1.1.0. You can fix that by
> > copying libnet-config into /usr/bin or whatever.
>
>
> Here's a patch to the top level libnet Makefile.am which fixes this problem:
>
> ---------------------------------------------
> alanr@servidor:~/Libnet-latest> diff -u Makefile.am.save Makefile.am
> --- Makefile.am.save Wed Sep 4 22:32:02 2002
> +++ Makefile.am Wed Sep 4 22:32:50 2002
> @@ -11,3 +11,7 @@
> SUBDIRS = include src man sample
>
> EXTRA_DIST = Makefile.am.common
> +
> +libnetbindir = $(bindir)
> +
> +libnetbin_SCRIPTS = libnet-config
> -----------------------------------------------
>
> I've CCed the author of libnet.
>
> -- Alan Robertson
> alanr@unix.sh
>
>
>

--
Network packets at bargain basement rates -- ask me how.
libnet-config missing [ In reply to ]
The libnet-config script is being phased out in 1.1.x. You should not need it
anymore under Linux. It exists in the libnet TLD as an artifact...

On Wed, Sep 04, 2002 at 10:38:37PM -0600, Alan Robertson wrote:
> Wallwork, Nathan wrote:
> > On Wed, 4 Sep 2002, Davis, Todd C wrote:
> >
> >
> >>After installing libnet and running "./ConfigureMe configure" I get an error
> >>...
> >>checking for libnet-config... no
> >>checking which glib config exists... using /usr/bin/glib-config
> >>configure: error: You need libnet to continue. You can get libnet from
> >>http://www.packetfactory.net/libnet
> >>
> >>./bootstrap exiting due to error (sorry!).
> >>[pegasus@Reliab07 heartbeat-0.4.9c]$
> >>
> >>I find the file libnet-config in the libnet build directory but it never
> >>gets installed anywhere by libnet's make install.
> >>
> >
> > That seems to be a problem with libnet 1.1.0. You can fix that by
> > copying libnet-config into /usr/bin or whatever.
>
>
> Here's a patch to the top level libnet Makefile.am which fixes this problem:
>
> ---------------------------------------------
> alanr@servidor:~/Libnet-latest> diff -u Makefile.am.save Makefile.am
> --- Makefile.am.save Wed Sep 4 22:32:02 2002
> +++ Makefile.am Wed Sep 4 22:32:50 2002
> @@ -11,3 +11,7 @@
> SUBDIRS = include src man sample
>
> EXTRA_DIST = Makefile.am.common
> +
> +libnetbindir = $(bindir)
> +
> +libnetbin_SCRIPTS = libnet-config
> -----------------------------------------------
>
> I've CCed the author of libnet.
>
> -- Alan Robertson
> alanr@unix.sh
>
>
>

--
Network packets at bargain basement rates -- ask me how.

---------------------------------------------------------------------
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com
For additional commands, e-mail: libnet-help@securityfocus.com
libnet-config missing [ In reply to ]
mike schiffman wrote:
> The libnet-config script is being phased out in 1.1.x. You should not need it
> anymore under Linux. It exists in the libnet TLD as an artifact...


OK...

The docs still say you should use it. Right now our autoconf expects it.

What should we do to get the right CFLAGS?

-- Alan Robertson
alanr@unix.sh
libnet-config missing [ In reply to ]
mike schiffman wrote:
> The libnet-config script is being phased out in 1.1.x. You should not need it
> anymore under Linux. It exists in the libnet TLD as an artifact...


OK...

The docs still say you should use it. Right now our autoconf expects it.

What should we do to get the right CFLAGS?

-- Alan Robertson
alanr@unix.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com
For additional commands, e-mail: libnet-help@securityfocus.com
libnet-config missing [ In reply to ]
Alan Robertson wrote:
> mike schiffman wrote:
>
>> The libnet-config script is being phased out in 1.1.x. You should not
>> need it
>> anymore under Linux. It exists in the libnet TLD as an artifact...
>
>
>
> OK...
>
> The docs still say you should use it. Right now our autoconf expects it.
>
> What should we do to get the right CFLAGS?

Never mind. I see it doesn't need this any more.

OK folks, I've changed all the autoconf stuff to allow either version of
libnet, and it compiles, and get_hw_addr looks good.

Someone please check that send_arp still works with the 1.1.x version of libnet.

Mike: Thansk for the info!

Thanks!

-- Alan Robertson
alanr@unix.sh
libnet-config missing [ In reply to ]
Alan Robertson wrote:
> mike schiffman wrote:
>
>> The libnet-config script is being phased out in 1.1.x. You should not
>> need it
>> anymore under Linux. It exists in the libnet TLD as an artifact...
>
>
>
> OK...
>
> The docs still say you should use it. Right now our autoconf expects it.
>
> What should we do to get the right CFLAGS?

Never mind. I see it doesn't need this any more.

OK folks, I've changed all the autoconf stuff to allow either version of
libnet, and it compiles, and get_hw_addr looks good.

Someone please check that send_arp still works with the 1.1.x version of libnet.

Mike: Thansk for the info!

Thanks!

-- Alan Robertson
alanr@unix.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com
For additional commands, e-mail: libnet-help@securityfocus.com