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
nmap-4.85BETA10.tar.bz2<http://nmap.org/dist/nmap-4.85BETA10.tar.bz2>in
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.

http://www.gnu.org/software/hello/manual/autoconf/C_002b_002b-Compiler.html

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.

http://osdir.com/ml/bug-autoconf-gnu/2009-06/msg00006.html

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
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org

  By Date           By Thread  

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