Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49492 - snort_inline-2.1.1: configure: error: libipq.h not found
Summary: snort_inline-2.1.1: configure: error: libipq.h not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-30 06:24 UTC by Hans-Christian Armingeon
Modified: 2004-07-05 05:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-04-30 06:24:04 UTC
Hi,

I am having this problem:

checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
checking for mysql... yes
checking for compress in -lz... yes
checking for postgresql... yes
checking libipq.h usability... no
checking libipq.h presence... no
checking for libipq.h... no
configure: error: libipq.h not found ...

!!! ERROR: net-analyzer/snort_inline-2.1.1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

My system is on stable, exept
# cat /etc/portage/package.keywords
net-analyzer/snort_inline       ~x86
net-firewall/ebtables           ~x86
net-firewall/iptables           ~x86

and I am getting the above error.

I have another system, where snort_inline merges fine, on this system libipq.h is owned by iptables.

I installed the same version of iptables on my system, but it doesn't merge thou.

Johnny

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
 

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 
2.4.25-gentoo) 
================================================================= 
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.9 
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache distcc sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://triton/gentoo-portage" 
USE="acl acpi apache2 apm arts avi berkdb cdr crypt cscope cups dvd dvdr 
encode fam foomaticdb gdbm gif gpm imap imlib ipv6 jpeg ldap libg++ libwww mad 
maildir mbox memlimit mikmod mmx motif mpeg mysql ncurses nls obdc oggvorbis 
opengl oss pam pdflib perl png pnp postgres ppds prelude python quicktime 
readline samba sasl sdl slang slp snmp socks5 spell sse ssl svga tcpd tiff 
truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Eric Brown 2004-04-30 11:05:52 UTC
do you have /usr/include/libipq/libipq.h?
when i emerge iptables-1.2.9-r1, it installs that header for me, maybe yours did not?
Comment 2 Hans-Christian Armingeon 2004-05-01 03:39:55 UTC
On that system, No.

But on another system I have it in /usr/include/libipq/libipq.h, and configure says
checking libipq.h usability... no
checking libipq.h presence... no
checking for libipq.h... no
configure: error: libipq.h not found ...

!!! ERROR: net-analyzer/snort_inline-2.1.1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


The interesting thing is, that snort_inline is already installed (I installed it in the past), but when I do an emerge snort_inline, then it fails.

Johnny
Comment 3 Hans-Christian Armingeon 2004-05-07 04:43:37 UTC
Hi,

when I add --with-libipq-includes=/usr/include/libipq/ to the configure commandline, configure finds the headers.

The build works fine. No idea, if the binaries really work. I'll test that in a few days.

Johnny

Maybe this is a configure issue?

Please commit to the cvs, and change it to fixed
Comment 4 Eldad Zack (RETIRED) gentoo-dev 2004-07-05 05:20:23 UTC
fixed in portage.