Nmap Development mailing list archives

Re: Solution to "configure: error: Cannot find type for 6th argument to recvfrom()"


From: MadHat <madhat () unspecific com>
Date: Sun, 4 Jul 2004 12:56:43 -0500

On Jul 4, 2004, at 2:50 AM, Brian Keefer wrote:
Unfortunately it's still failing on OS X/10.3.4 (previously was failing
on 10.3.3, but I see the .4 release didn't touch the compilers).

I tried /usr/bin
g++-3.3
g++3 (3.1)
cpp-3.3
cpp3 (3.1)

All failed.  See attached output from ./configure

By the way, I'm completely ready to admit it was some kind of blunder on
my own part.  fink has to be the worst ported framework I've ever seen,
so I have zero confidence things are setup correctly.  60% of fink
packages (that I've tried) fail to install correctly on 10.3.x.

Has anyone managed to compile nmap 3.50 on OS X 10.3.x?

Yes. You might try using Darwin ports. I have had better luck with them than Fink. Fink did not work well after an upgrade from 10.2 to 10.3 for me and I like the ports in Darwin ports.

I just do a

./configure --with-openssl
make
make install

Or with darwin ports:

$ port search nmap
nmap net/nmap 3.50 Port scanning utility for large networks
$ port install nmap

Both seem to work fine.

$ uname -a
Darwin hatta-unspecific-com.local 7.4.0 Darwin Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004; root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc
$ gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)


---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to nmap-dev-help () insecure org . List archive: http://seclists.org



Current thread: