How to build HIPL for CentOS 6.4?

Asked by Miika Komu on 2013-08-12

CentOS 6.4 is missing libnetfilter-queue packages. Any way around this?

Question information

Language:
English Edit question
Status:
Solved
For:
HIPL Edit question
Assignee:
No assignee Edit question
Solved by:
Miika Komu
Solved:
2013-08-12
Last query:
2013-08-12
Last reply:
Miika Komu (miika-iki) said : #1

Yes, there is! You can borrow them for Redhat and just install the HIPL binaries.

If you want to build the HIPL binaries yourself, follow these instructions:

1. yum install libnetfilter_conntrack-devel libnfnetlink-devel libmnl libnl

2. Install the following RPM packages for Redhat:

http://rpm.pbone.net/index.php3?stat=26&dist=74&size=13904&name=libnetfilter_queue1-1.0.2-34.1.i686.rpm
http://rpm.pbone.net/index.php3?stat=26&dist=74&size=9128&name=libnetfilter_queue-devel-1.0.2-34.1.i686.rpm

Note: you need different packages for 64-bit machines!

3. Create a couple of links to avoid compilation errors:

ln -s /usr/include/linux/netfilter/nfnetlink.h /usr/include/libnfnetlink/linux_nfnetlink.h
ln -s /usr/include/libnetfilter_queue-1.0.2/libnetfilter_queue/ /usr/include/libnetfilter_queue

4. Follow the rest of the instructions in the INSTALL file for Fedora.