Home page logo
/

nmap-dev logo Nmap Development mailing list archives

error compiling under OS X
From: Rodney Myers <rdmyers () mtpalomar net>
Date: Thu, 10 Apr 2008 15:28:29 -0700

I'm running OS X 10.5.2, XCode 3.0, and the lastest tar-ball from the web page.

I've searched the list archives, but found no asnwer.

./configure does it's thing, as it should, as I get the;

  (  )   /\   _                 (
    \ |  (  \ ( \.(               )                      _____
  \  \ \  `  `   ) \             (  ___                 / _   \
 (_`    \+   . x  ( .\            \/   \____-----------/ (o)   \_
- .-               \+  ;          (  O                           \____
                          )        \_____________  `              \  /
(__                +- .( -'.- <. - _  VVVVVVV VV V\                 \/
(_____            ._._: <_ - <- _  (--  _AAAAAAA__A_/                |
. /./.+- . .- / +-- - . \______________//_ \_______ (__ ' /x / x _/ ( \___' \ / , x / ( ' . / . / | \ / / / _/ / + / \/ ' (__/ / \
             NMAP IS A POWERFUL TOOL -- USE CAREFULLY AND RESPONSIBLY
Configuration complete. Type make (or gmake on some *BSD machines) to compile.

 at the conclusion of ./configure

When I type "make", it errors out with this error message;

echo Compiling nmap
Compiling nmap
rm -f nmap
g++ -L/sw/lib -Lnbase -Lnsock/src/ -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o idle_scan.o osscan.o osscan2.o output.o scan_engine.o timing.o charpool.o services.o protocols.o nmap_rpc.o portlist.o NmapOps.o TargetGroup.o Target.o FingerPrintResults.o service_scan.o NmapOutputTable.o MACLookup.o nmap_tty.o nmap_dns.o traceroute.o portreasons.o nse_main.o nse_auxiliar.o nse_nsock.o nse_init.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_string.o - lnbase -lnsock -lpcre -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/ libdnet.a -llua -lm
Compiling nse-standard-library
./libtool --tag=CC --silent --mode=compile gcc -Ilibdnet-stripped/ include -no-cpp-precomp -I/sw/include -Wall -fno-strict-aliasing - Inbase -Insock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" - DNMAP_URL=\"http://nmap.org\"; -DNMAP_PLATFORM=\"i386-apple- darwin9.2.2\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -DNMAPLIBEXECDIR= \"/usr/local/libexec/nmap\" -c bit.c ./libtool --tag=CC --silent --mode=link gcc -avoid-version -module - rpath /usr/local/lib -o bit.la bit.lo
mv .libs/bit.so bit.so
cd zenmap && /usr/bin/python setup.py build
Traceback (most recent call last):
  File "setup.py", line 283, in <module>
    setup(**setup_args)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/core.py", line 125, in setup
    dist.parse_config_files()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 366, in parse_config_files
    filenames = self.find_config_files()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/dist.py", line 329, in find_config_files
    check_environ()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/util.py", line 208, in check_environ
    os.environ['PLAT'] = get_platform()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/util.py", line 78, in get_platform
    cfgvars = get_config_vars()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/sysconfig.py", line 504, in get_config_vars
    func()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/distutils/sysconfig.py", line 389, in _init_posix
    raise DistutilsPlatformError(my_msg)
distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.4" but "10.5" during configure
make[1]: *** [build-zenmap] Error 1
make: *** [all] Error 2


Not sure what t wants configured, or what the error means.

Attachment: PGP.sig
Description: This is a digitally signed message part


_______________________________________________
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 ]