Subject: NMap-3.45 build broken? (configure problems)
To: None <tech-pkg@netbsd.org>
From: None <vugdeox@cirrus.mine.nu>
List: tech-pkg
Date: 09/21/2003 11:21:46
I'm getting these strange problems in the latest 3.45 nmap tree:

checking for IPv6 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbase_config.h
configure: configuring in libpcap-possiblymodified
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--with-libpcap=/usr' '--with-libpcre=' '--with-openssl=/usr' '--without-nmapfe' '--host=i386--netbsdelf' '--prefix=/usr/pkg' 'CC=cc' 'CFLAGS=-O2 -O0 -I/usr/pkg/include' 'CPPFLAGS= -O0 -I/usr/pkg/include' 'CXXFLAGS=-O2 -O0 -I/usr/pkg/include -O0' 'CXX=c++' 'LDFLAGS= -L/usr/pkg/lib -Wl,-R/usr/pkg/lib' 'host_alias=i386--netbsdelf' --cache-file=/dev/null --srcdir=.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-unknown-netbsdelf1.6ZC
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for libpcap-possiblymodified
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/nmap
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/nmap
[root@cryogen]$

I have no idea what the problem is, suggestions?