Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Compiling nmap on Red Hat
From: stripes <stripes () tigerlair com>
Date: Wed, 13 Jun 2012 11:56:19 -0400

At this point, Google is your friend :)

It looks like you might need the install media, but not being a RHEL person myself, this is as far as I can go. 
However, it looks like you're not alone in this problem. 

https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-g-on-new-red-hat-700670/

-Anne

On Wed, Jun 13, 2012 at 09:48:50AM -0600, Francois Lachance wrote:

   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...
   Thanks,
   Francois
   On  Wed,  Jun  13, 2012 at 9:29 AM, stripes <[1]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 be
   > 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
   missing
   > 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
   problem
   > in this list and Google is less than helpful.

     Let us know if that helps.
     -Anne
     --
     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

References

   1. mailto:stripes () tigerlair com
--
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
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