Nmap Development mailing list archives

Re: Compiling nmap on Red Hat


From: Francois Lachance <digitallachance () gmail com>
Date: Wed, 13 Jun 2012 09:48:07 -0600

Quite right.  I tried make again and this time I get the same output as
gmake:

[francois@cerberus nmap-6.00]$ make
Compiling liblua
make[1]: Entering directory `/home/francois/Downloads/nmap-6.00/liblua'
make[1]: `liblua.a' is up to date.
make[1]: Leaving directory `/home/francois/Downloads/nmap-6.00/liblua'
Compiling liblinear
make[1]: Entering directory `/home/francois/Downloads/nmap-6.00/liblinear'
g++  -c -o linear.o linear.cpp
make[1]: g++: Command not found
make[1]: *** [linear.o] Error 127
make[1]: Leaving directory `/home/francois/Downloads/nmap-6.00/liblinear'
make: *** [liblinear_build] Error 2

This appears to boil down to g++ being missing and me not being able to
figure out how to install it.

Francois

On Wed, Jun 13, 2012 at 9:44 AM, David Fifield <david () bamsoftware com>wrote:

On Wed, Jun 13, 2012 at 09:16:59AM -0600, Francois Lachance wrote:
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

As you can see, I did not have make available, so I tried gmake instead.

You actually do have make; that first error message you see is the
automatic generation of makefile.dep, which is normal and expected. You
also have gmake, but in all likelihood they both point to the same
program.

David Fifield

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


Current thread: