Pkg-config files end in in .pc and are usually included with packages to
help programs find their libraries during a build process.
They look similar to makefiles. Here though, it's suspected that the
packages you installed did not come with the pkg-config files
which is why the configure script is unable to find the libraries. The
search path for these are located in the variable $PKG_CONFIG_PATH.

You can check that a installed package has a pc file by doing something
like rpm -ql $package | fgrep .pc


On Tue, Dec 17, 2013 at 10:12 AM, JP Bourget <[email protected]> wrote:

> Where would I find that? (Sorry never tried to compile this before)
>
>
> On Tuesday, December 17, 2013 3:59:42 AM UTC-5, Daniel Borkmann wrote:
>>
>> On 12/16/2013 09:42 PM, JP Bourget wrote:
>> > Hey there -
>> >
>> > I'm trying to compile netsniff-ng on a RHEL 6.5 box. While I think I
>> have
>> > the needed packages installed, the ./configure script isn't actually
>> > detecting them.
>> >
>> > Is this a known issue?  Help?
>>
>> Hmm, looks like there's no pkg-config script for these?
>>
>> > (note) I'm having similar issues w/a few other packages)
>> >
>> > For example:
>> >
>> > Package libnetfilter_conntrack-0.0.100-2.el6.x86_64 already installed
>> and
>> > latest version
>> >
>> > ./configure output:
>> >
>> > [punkrokk@RHELv6 netsniff-ng]$ ./configure
>> > [*] Checking pkg-config ... [YES]
>> > [*] Checking ccache ... [YES]
>> > [*] Checking flex ... [YES]
>> > [*] Checking bison ... [YES]
>> > [*] Checking nacl ... [NO]
>> > [*] Checking libnl ... [NO]
>> > [*] Checking tpacket_v2 ... [YES]
>> > [*] Checking tpacket_v3 ... [NO]
>> > [*] Checking libnetfilter-conntrack ... [NO]
>> > [*] Checking ncurses ... [NO]
>> > [*] Checking libGeoIP ... [YES]
>> > [*] Checking libz ... [YES]
>> > [*] Checking liburcu ... [NO]
>> > [*] Checking libpcap ... [NO]
>> > [*] Checking hw timestamping ... [YES]
>> > [*] Checking libcli ... [NO]
>> > [*] Checking libnet ... [YES]
>> > [*] Generating config.h ...
>> > [!] Some libraries or header definitions are missing or too old. Thus
>> >      certain tools will not be built (see below). Please refer to the
>> >      INSTALL file for the libraries needed to build the complete
>> >      netsniff-ng toolkit.
>> > [!] The NaCl crypto library is currently not present on your system or
>> >      could not be found. Either install it from your distro or build it
>> >      manually using 'make nacl' and make sure that the NACL_INC_DIR and
>> >      NACL_LIB_DIR environment variables are set appropriately.
>> > [!] The following tools will *not* be built: curvetun trafgen
>> netsniff-ng
>> > flowtop ifpps mausezahn
>> > [*] The following tools will be built: astraceroute bpfc
>> > [!] There were errors in the configure script. Please check the file
>> >      config.log for details.
>> >
>> >
>> > and from config.log
>> >
>> > config.zqke0i/nfcttest.c:1:59: error:
>> > libnetfilter_conntrack/libnetfilter_conntrack.h: No such file or
>> directory
>> > config.zqke0i/nfcttest.c:2:63: error:
>> > libnetfilter_conntrack/libnetfilter_conntrack_tcp.h: No such file or
>> > directory
>> > config.zqke0i/nfcttest.c:3:64: error:
>> > libnetfilter_conntrack/libnetfilter_conntrack_dccp.h: No such file or
>> > directory
>> > config.zqke0i/nfcttest.c:4:64: error:
>> > libnetfilter_conntrack/libnetfilter_conntrack_sctp.h: No such file or
>> > directory
>> >
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "netsniff-ng" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Jon Schipp,
jonschipp.com, sickbits.net

-- 
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to