Home page logo

nmap-dev logo Nmap Development mailing list archives

Re: configure is not checking for g++ in Debian Lenny
From: David Fifield <david () bamsoftware com>
Date: Mon, 29 Jun 2009 16:25:51 -0600

On Sat, Jun 20, 2009 at 12:16:09PM -0300, Mostaço-Guidolin, Luiz C. B. wrote:
I tried to compile nmap
my Debian Lenny (without g++ installed but with gcc installed) and the
./configure script reports no error. So, obviously when I tried to compile
it with make it returns error. Then, after the installation o g++ it
compiles ok.

Thanks for the report. I looked into this. It turns out that the
configure script is in fact looking for a C++ compiler, but it does so
with the AC_PROG_CXX macro, which uses "g++" for a default value if none
was found.


A web search shows that this has been a minor irritation for some other
projects. It appears that the behavior of AC_PROG_CXX may change in the
future to allow detection of a missing compiler, however from what I
could tell it's not changed in the Autoconf git tree.


I think this is a minor enough problem that we can just wait until
Autoconf makes it easy to fix.

David Fifield

Sent through the nmap-dev mailing list
Archived at http://SecLists.Org

  By Date           By Thread  

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