Nmap Development mailing list archives
Compiling nmap on Red Hat
From: Francois Lachance <digitallachance () gmail com>
Date: Wed, 13 Jun 2012 09:16:59 -0600
I am trying to compile nmap 6.0 (fresh download of source) and I seem to be missing something on my system. The error message is: [francois@cerberus nmap-6.00]$ make Makefile:409: makefile.dep: No such file or directory g++ -MM -I./liblinear -I./liblua -I./libdnet-stripped/include -I./libpcre -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 main.cc nmap.cc targets.cc tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc FPEngine.cc FPModel.cc output.cc payload.cc scan_engine.cc timing.cc charpool.cc services.cc protocols.cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResults.cc service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc traceroute.cc portreasons.cc xml.cc nse_main.cc nse_utility.cc nse_nsock.cc nse_dnet.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc > makefile.dep /bin/sh: g++: command not found make: *** [makefile.dep] Error 127 [francois@cerberus nmap-6.00]$ gmake Compiling liblua gmake[1]: Entering directory `/home/francois/Downloads/nmap-6.00/liblua' gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lapi.o lapi.c <snip> gcc -O2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o linit.o linit.c ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o ranlib liblua.a gmake[1]: Leaving directory `/home/francois/Downloads/nmap-6.00/liblua' Compiling liblinear gmake[1]: Entering directory `/home/francois/Downloads/nmap-6.00/liblinear' g++ -c -o linear.o linear.cpp gmake[1]: g++: Command not found gmake[1]: *** [linear.o] Error 127 gmake[1]: Leaving directory `/home/francois/Downloads/nmap-6.00/liblinear' gmake: *** [liblinear_build] Error 2 As you can see, I did not have make available, so I tried gmake instead. That seemed to work until it tried to use g++, which appears to be missing on my system. I cannot for the life of me figure out how to install g++. Anyone ever ran into this? I have not found any postings with this problem in this list and Google is less than helpful. My system is Red Hat Enterprise Linux Client release 5.8 (Tikanga). Thanks, Francois _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Compiling nmap on Red Hat Francois Lachance (Jun 13)
- Re: Compiling nmap on Red Hat stripes (Jun 13)
- Re: Compiling nmap on Red Hat Francois Lachance (Jun 13)
- Re: Compiling nmap on Red Hat stripes (Jun 13)
- Re: Compiling nmap on Red Hat Rob Nicholls (Jun 13)
- Re: Compiling nmap on Red Hat Francois Lachance (Jun 13)
- Re: Compiling nmap on Red Hat stripes (Jun 13)
- Re: Compiling nmap on Red Hat Francois Lachance (Jun 13)
- Re: Compiling nmap on Red Hat Darren VanBuren (Jun 13)
- Re: Compiling nmap on Red Hat Marcus Haebler (Jun 13)
- Re: Compiling nmap on Red Hat Francois Lachance (Jun 13)
- Re: Compiling nmap on Red Hat stripes (Jun 13)