Nmap Development mailing list archives

Building nmap 5.50 on RHEL-5 i386 failure


From: "Bjorn S. Nilsson" <nilsson () nbi dk>
Date: Sat, 29 Jan 2011 13:17:31 +0100


Hello,

Thanks for 5.50, but I can't build it. I have a RedHat 5.6 i386
workstation. Some output:

rpmbuild --define "buildnping 0" -bb nmap-5.50-1.spec
...
ranlib liblua.a
make[1]: Leaving directory `/usr/src/redhat/BUILD/nmap-5.50/liblua'
Compiling libpcap
make[1]: Entering directory `/usr/src/redhat/BUILD/nmap-5.50/libpcap'
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -O2 -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-linux.c
./pcap-linux.c:154:31: error: netlink/genl/genl.h: No such file or directory
./pcap-linux.c:155:33: error: netlink/genl/family.h: No such file or directory
./pcap-linux.c:156:31: error: netlink/genl/ctrl.h: No such file or directory

...

make[1]: *** [pcap-linux.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nmap-5.50/libpcap'
make: *** [pcap_build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.4834 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.4834 (%build)

Can you see what I am missing? I'll happily send more information if
needed.

/Björn

--
====================================================================
Bjorn S. Nilsson          Email:             Bjorn.S.Nilsson () nbi dk
Niels Bohr Institute              or just    nilsson () nbi dk
Blegdamsvej 17            Phone:             +45 35325283
DK-2100 Copenhagen        CellPhone:         +45 28755283
Denmark                   Fax:               +45 35325016

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: