Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: Compiling nmap on Red Hat
From: Francois Lachance <digitallachance () gmail com>
Date: Wed, 13 Jun 2012 09:48:50 -0600

I'm pretty much a noob at Red Hat and much prefer Debian (and I'm not that
great at Debian either).  In any case:

[francois () cerberus nmap-6.00]$ sudo find / -name g++ -print
[francois () cerberus nmap-6.00]$ sudo yum search g++
Loaded plugins: rhnplugin, security
Warning: No matches found for: g++
No Matches found

So it appears that I do not have an executable named g++ anywhere on my
system and searching for g++ in yum returns nothing.

Surely someone else has tried to compile nmap on Red Hat before...



On Wed, Jun 13, 2012 at 9:29 AM, stripes <stripes () tigerlair 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
missing something on my system.

The error message is:
/bin/sh: g++: command not found

Looks like you need g++ installed, or if it is, put it in your path.

make: *** [makefile.dep] Error 127
[francois () cerberus nmap-6.00]$ gmake
gmake[1]: g++: Command not found
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
on my system.  I cannot for the life of me figure out how to install g++.

There should be an RPM you can install. If you have yum installed, you
could do yum search g++.

Anyone ever ran into this?  I have not found any postings with this
in this list and Google is less than helpful.

Let us know if that helps.

If you don't know there's a        (\`--/') _ _______ .-r-.
trampoline in the room, you're      >.~.\ `` ` `,`,`. ,'_'~`.
not going to dust the ceiling for  (v_," ; `,-\ ; : ; \/,-~) \
fingerprints. -Law & Order:SVU      `--'_..),-/ ' ' '_.>-' )`.`.__.')
stripes at tigerlair dot com       ((,((,__..'~~~~~~((,__..'  `-..-'fL

Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

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