You are not logged in.

#1 2013-12-03 05:52:46

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

libnet no longer includes libnet.a

tcptraceroute will no longer build due to libnet.a being missing from the libnet package.

Does anyone know if this was a deliberate change in libnet, or should I remove libnet support from tcptraceroute?

==> Starting build()...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gethostbyname... yes
checking for socket... yes
checking for connect... yes
checking for inet_aton... yes
configure: error: No valid libnet library found in /usr/include
$ pacman -Ql libnet | grep -F .a
$ 

Offline

#2 2013-12-03 06:02:54

progandy
Member
Registered: 2012-05-17
Posts: 5,202

Re: libnet no longer includes libnet.a

staticlibs were recently removed from all packages. Now you need to file a bug report and explicitly enable a static libraries for a package if another package requires it. If you could switch to the shared library that would be better.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2013-12-03 13:49:26

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: libnet no longer includes libnet.a

There's a dynamic libnet.so library, I don't see why tcptraceroute can't use that.

Anyway, tcptraceroute has been obsoleted by recent core/traceroute versions, which can use TCP tracing.

Offline

Board footer

Powered by FluxBB