fedora compilation problems [Fwd: Re: conntrack compile problem]
Pablo Neira Ayuso
maintainerI'm forwarding this to everyone since many people have reported libnfnetlink, libnetfilter_contrack, et al. compilation problems at configure stage that are related to the fedora setup. I hope that this helps.
Signature · 2 lines
"Será preciso viajar a través de los ojos de los idiotas" -- Poeta en Nueva York -- Federico García Lorca.
[root@ucarp1 libnfnetlink-0.0.30]# pkg-config --exists --print-errors "libnfnetl ink >= 0.0.25"
Package libnfnetlink was not found in the pkg-config search path. Perhaps you should add the directory containing `libnfnetlink.pc' to the PKG_CONFIG_PATH environment variable
No package 'libnfnetlink' found
[root@ucarp1 libnfnetlink-0.0.30]# echo $?
1
[root@ucarp1 libnfnetlink-0.0.30]# echo $PKG_CONFIG_PATH
[root@ucarp1 libnfnetlink-0.0.30]#
________________________________________________________________
Resolving problem:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
./configure success!!
libnetfilter_conntrack-0.0.81 compiling -> OK.
conntrack-tools-0.9.5 compiling -> OK.
For conntrack-tools compile need: bison and flex package.
Thank You!!
Maybe you could put conntrack to the Fedora yum repository, solve many people problems..:)
Bye, Sz.
-----Original Message-----
From: Pablo Neira Ayuso [mailto:[email protected]]
Sent: 2007. augusztus 2. 14:38
To: Dobos Szilárd
Subject: Re: conntrack compile problem
Hi,
This fedora thing is weird. I don't have such problems running debian.
Quoted 5 lines · Dobos Szilárd
Quoted 5 lines
checking pkg-config is at least version 0.9.0... yes
checking for LIBNFNETLINK... no
configure: error: Cannot find libnfnetlink >= 0.0.25
I extracted this from config.log:
configure:19860: $PKG_CONFIG --exists --print-errors "libnfnetlink >= $LIBNFNETLINK_REQUIRED"
configure:19863: $? = 0
Could you run the following command?
pkg-config --exists --print-errors "libnfnetlink >= 0.0.25"
and echo $? to show the return value. Something must be wrong with pkg-config.
Signature · 2 lines
"Será preciso viajar a través de los ojos de los idiotas" -- Poeta en Nueva York -- Federico García Lorca.