Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Building nmap 5.50 on RHEL-5 i386 failure
From: m k <mpmab1 () gmail com>
Date: Sun, 30 Jan 2011 05:57:29 +1100

Hi,

I would try this
- Update to the latest version of ilbpcap


(I base this on the following I found after some searching
http://lists.freshrpms.net/pipermail/freshrpms-list/2005-April/012939.html)
he too was getting

- If you try this and it doesn't work try it with the double verbosity
-vv   and post the error messages


Let me know how you go
Cheers
Mehdi


On Sat, Jan 29, 2011 at 11:17 PM, Bjorn S. Nilsson <nilsson () nbi dk> wrote:


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/

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


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault