Nmap Development mailing list archives
Nmap 5 and Zenmap, woes on OS X.iv.xi; warnings and nulls
From: "Autymn D. C." <lysdexia () sbcglobal net>
Date: Wed, 12 Aug 2009 09:40:25 -0700 (PDT)
Terminal log>
2009.08.11.20:30:09×1249./Applications/nmap-5.00/zenmap×test·0·sudo python install
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:
running install
running build
running build_py
running build_scripts
running install_lib
creating /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/radialnet
copying build/lib/radialnet/__init__.py ->
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/radialnet
creating /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/radialnet/bestwidgets
...
byte-compiling /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/TopologyPage.py
to TopologyPage.pyc
running install_scripts
copying build/scripts-2.6/zenmap -> /Library/Frameworks/Python.framework/Versions/2.6/bin
changing mode of /Library/Frameworks/Python.framework/Versions/2.6/bin/zenmap to 755
running install_data
creating /Library/Frameworks/Python.framework/Versions/2.6/share/zenmap
creating /Library/Frameworks/Python.framework/Versions/2.6/share/zenmap/pixmaps
copying share/zenmap/pixmaps/throbber.gif -> /Library/Frameworks/Python.framework/Versions/2.6/share/zenmap/pixmaps
...
creating /Library/Frameworks/Python.framework/Versions/2.6/share/zenmap/locale/pt_BR/LC_MESSAGES
copying share/zenmap/locale/pt_BR/LC_MESSAGES/zenmap.mo ->
/Library/Frameworks/Python.framework/Versions/2.6/share/zenmap/locale/pt_BR/LC_MESSAGES
creating /Library/Frameworks/Python.framework/Versions/2.6/share/applications
copying install_scripts/unix/zenmap-root.desktop -> /Library/Frameworks/Python.framework/Versions/2.6/share/applications
copying install_scripts/unix/zenmap.desktop -> /Library/Frameworks/Python.framework/Versions/2.6/share/applications
copying install_scripts/unix/su-to-zenmap.sh -> /Library/Frameworks/Python.framework/Versions/2.6/share/zenmap
running install_egg_info
Writing /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmap-5.00-py2.6.egg-info
2009.08.11.20:30:26×1249./Applications/nmap-5.00/zenmap×test·0·cd ..
2009.08.11.20:30:41×1249./Applications/nmap-5.00×test·0·./configure
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for inline... inline
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether the compiler is gcc 4 or greater... yes
checking for __func__... yes
checking for strip... /usr/bin/strip
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking for library containing setsockopt... none required
checking for library containing gethostbyname... none required
checking for a Python interpreter with version >= 2.4... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking whether /usr/bin/python version >= 2.4... yes
checking for /usr/bin/python version... (cached) 2.6
checking for /usr/bin/python platform... (cached) darwin
checking for /usr/bin/python script directory... (cached) ${prefix}/lib/python2.6/site-packages
checking for /usr/bin/python extension module directory... (cached) ${exec_prefix}/lib/python2.6/site-packages
...
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating nmap_config.h
=== configuring in libpcap (/Applications/nmap-5.00/libpcap)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
...
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating config.h
=== configuring in libpcre (/Applications/nmap-5.00/libpcre)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pcre-config
config.status: creating pcre.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing script-chmod commands
=== configuring in libdnet-stripped (/Applications/nmap-5.00/libdnet-stripped)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./../shtool install -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
...
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
checking for net/if.h... yes
...
checking for net/route.h... yes
checking netinet/in_var.h usability... no
checking netinet/in_var.h presence... yes
configure: WARNING: netinet/in_var.h: present but cannot be compiled
configure: WARNING: netinet/in_var.h: check for missing prerequisite headers?
configure: WARNING: netinet/in_var.h: see the Autoconf documentation
configure: WARNING: netinet/in_var.h: section "Present But Cannot Be Compiled"
configure: WARNING: netinet/in_var.h: proceeding with the preprocessor's result
configure: WARNING: netinet/in_var.h: in the future, the compiler will take precedence
checking for netinet/in_var.h... yes
...
checking for linux/if_tun.h... no
checking netinet/ip_fw.h usability... no
checking netinet/ip_fw.h presence... yes
configure: WARNING: netinet/ip_fw.h: present but cannot be compiled
configure: WARNING: netinet/ip_fw.h: check for missing prerequisite headers?
configure: WARNING: netinet/ip_fw.h: see the Autoconf documentation
configure: WARNING: netinet/ip_fw.h: section "Present But Cannot Be Compiled"
configure: WARNING: netinet/ip_fw.h: proceeding with the preprocessor's result
configure: WARNING: netinet/ip_fw.h: in the future, the compiler will take precedence
checking for netinet/ip_fw.h... yes
checking linux/ip_fw.h usability... no
...
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating dnet-config
config.status: creating include/Makefile
config.status: WARNING: include/Makefile.in seems to ignore the --datarootdir setting
config.status: creating include/dnet/Makefile
config.status: WARNING: include/dnet/Makefile.in seems to ignore the --datarootdir setting
config.status: creating src/Makefile
config.status: WARNING: src/Makefile.in seems to ignore the --datarootdir setting
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing default commands
=== configuring in nbase (/Applications/nmap-5.00/nbase)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
...
checking for sys/stat.h... (cached) yes
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h: check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take precedence
checking for net/if.h... yes
checking netdb.h usability... yes
...
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
config.status: creating nbase_config.h
=== configuring in nsock/src (/Applications/nmap-5.00/nsock/src)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
...
checking if struct ip has ip_sum member... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nsock_config.h
=== configuring in ncat (/Applications/nmap-5.00/ncat)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null
--srcdir=.
...
checking for pcap_datalink in -lpcap... yes
checking if libpcap version is recent enough... no
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating config.h
( ) /\ _ (
\ | ( \ ( \.( ) _____
\ \ \ ` ` ) \ ( ___ / _ \
(_` \+ . 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.
2009.08.11.20:34:25×1249./Applications/nmap-5.00×test·0·make
Makefile:312: makefile.dep: No such file or directory
g++ -MM -Iliblua -Ilibdnet-stripped/include -Ilibpcre -Ilibpcap -Inbase -Insock/include main.cc nmap.cc targets.cc
tcpip.cc nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc scan_engine.cc timing.cc charpool.cc
services.cc protocols.cc nmap_rpc.cc portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResults.cc
service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc traceroute.cc portreasons.cc nse_main.cc
nse_nsock.cc nse_fs.cc nse_nmaplib.cc nse_debug.cc nse_pcrelib.cc nse_binlib.cc nse_bit.cc nse_openssl.cc >
makefile.dep
Compiling liblua
gcc -O2 -Wall -no-cpp-precomp -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME="Nmap"
-DNMAP_URL="http://nmap.org" -DNMAP_PLATFORM="powerpc-apple-darwin8.11.0" -DNMAPDATADIR="/usr/local/share/nmap"
-D_FORTIFY_SOURCE=2 -DLUA_USE_MACOSX -c -o lapi.o lapi.c
...
ranlib liblua.a
Compiling libpcap
gcc -g -O2 -fno-common -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap-bpf.c
gcc -g -O2 -fno-common -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./fad-getad.c
sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' ./VERSION > version.h
gcc -g -O2 -fno-common -fno-strict-aliasing -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -c ./pcap.c
...
ranlib libpcap.a
Compiling libpcre
make all-am
gcc -DHAVE_CONFIG_H -I. -O2 -MT pcre_compile.o -MD -MP -MF .deps/pcre_compile.Tpo -c -o pcre_compile.o
pcre_compile.c
...
ranlib libpcre.a
Compiling libdnet
Making all in include
make all-recursive
Making all in dnet
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in src
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -c -o
addr-util.lo `test -f 'addr-util.c' || echo './'`addr-util.c
mkdir .libs
...
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -g -O2 -Wall -c tun-none.c -o tun-none.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o libdnet.la -rpath /usr/local/lib -version-info 1:1:0 addr-util.lo
addr.lo blob.lo ip-util.lo ip6.lo rand.lo arp-bsd.lo eth-bsd.lo fw-none.lo intf.lo ip.lo route-bsd.lo tun-none.lo
gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libdnet.1.0.1.dylib .libs/addr-util.o
.libs/addr.o .libs/blob.o .libs/ip-util.o .libs/ip6.o .libs/rand.o .libs/arp-bsd.o .libs/eth-bsd.o .libs/fw-none.o
.libs/intf.o .libs/ip.o .libs/route-bsd.o .libs/tun-none.o -install_name /usr/local/lib/libdnet.1.dylib
-Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.1
dsymutil .libs/libdnet.1.0.1.dylib || :
warning: no debug map in executable (-arch ppc)
(cd .libs && rm -f libdnet.1.dylib && ln -s libdnet.1.0.1.dylib libdnet.1.dylib)
(cd .libs && rm -f libdnet.dylib && ln -s libdnet.1.0.1.dylib libdnet.dylib)
ar cru .libs/libdnet.a addr-util.o addr.o blob.o ip-util.o ip6.o rand.o arp-bsd.o eth-bsd.o fw-none.o intf.o ip.o
route-bsd.o tun-none.o
ranlib .libs/libdnet.a
creating libdnet.la
(cd .libs && rm -f libdnet.la && ln -s ../libdnet.la libdnet.la)
make[2]: Nothing to be done for `all-am'.
Compiling libnbase
cd nbase && make
gcc -g -O2 -Wall -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -c -o snprintf.o snprintf.c
...
rm -f libnbase.a
ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o
ranlib libnbase.a
Compiling libnsock
cd nsock/src && make
gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include
-I../../libpcap error.c -o error.o
...
_FORTIFY_SOURCE=2 -I../include -I../../libpcap nsock_event.c -o nsock_event.o
nsock_event.c: In function 'msevent_cancel':
nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'struct gh_list *'
nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'struct gh_list *'
nsock_event.c:244: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'struct gh_list *'
gcc -c -g -O2 -Wall -I../../nbase -DHAVE_CONFIG_H -DNSOCK_VERSION=\"0.02\" -D_FORTIFY_SOURCE=2 -I../include
-I../../libpcap nsock_pool.c -o nsock_pool.o
...
ar cr libnsock.a error.o filespace.o gh_list.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o
nsock_write.o nsock_ssl.o nsock_utils.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o
ranlib libnsock.a
cd ncat && make
Makefile:152: makefile.dep: No such file or directory
gcc -MM -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase ncat_main.c ncat_connect.c ncat_core.c ncat_posix.c ncat_listen.c ncat_proxy.c
ncat_broker.c ncat_hostmatch.c ncat_ssl.c base64.c http.c util.c sys_wrap.c > makefile.dep
gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase -g -O2 -c ncat_main.c -o ncat_main.o
...
gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase -g -O2 -c ncat_broker.c -o ncat_broker.o
ncat_broker.c: In function 'read_and_broadcast':
ncat_broker.c:241: warning: passing argument 2 of 'fix_line_endings' from incompatible pointer type
ncat_broker.c:289: warning: passing argument 4 of 'chat_filter' from incompatible pointer type
gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase -g -O2 -c ncat_hostmatch.c -o ncat_hostmatch.o
gcc -I../libpcap -DHAVE_CONFIG_H -DNCAT_DATADIR="\"/usr/local/share/ncat\"" -D_FORTIFY_SOURCE=2 -I. -I..
-I../nsock/include/ -I../nbase -g -O2 -c ncat_ssl.c -o ncat_ssl.o
ncat_ssl.c: In function 'cert_match_dnsname':
ncat_ssl.c:134: warning: passing argument 2 of 'ASN1_item_d2i' from incompatible pointer type
ncat_ssl.c:138: warning: passing argument 2 of 'method->d2i' from incompatible pointer type
ncat_ssl.c: In function 'ssl_cert_fp_str_sha1':
ncat_ssl.c:335: warning: passing argument 4 of 'X509_digest' from incompatible pointer type
...
include -no-cpp-precomp -g -O2 -Wall -fno-strict-aliasing -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\"
-DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"powerpc-apple-darwin8.11.0\" -DNMAPDATADIR=\"/usr/local/share/nmap\"
-D_FORTIFY_SOURCE=2 nse_openssl.cc -o nse_openssl.o
Compiling nmap
rm -f nmap
g++ -Llibpcap -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_nsock.o nse_fs.o nse_nmaplib.o nse_debug.o nse_pcrelib.o nse_binlib.o
nse_bit.o nse_openssl.o -lnbase -lnsock libpcre/libpcre.a -lpcap -lssl -lcrypto libdnet-stripped/src/.libs/libdnet.a
liblua/liblua.a -lm
cd zenmap && /usr/bin/python setup.py build
running build
running build_py
running build_scripts
cd ndiff && /usr/bin/python setup.py build
running build
running build_scripts
creating build
creating build/scripts-2.6
copying and adjusting ndiff -> build/scripts-2.6
changing mode of build/scripts-2.6/ndiff from 644 to 755
2009.08.11.20:39:10×1249./Applications/nmap-5.00×test·0·
2009.08.11.20:39:10×1249./Applications/nmap-5.00×test·0·sudo make install
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:sendmail: warning: valid_hostname: numeric hostname: 1249
postdrop: warning: valid_hostname: numeric hostname: 1249
/usr/bin/install -c -d /usr/local/bin /usr/local/share/man/man1 /usr/local/share/nmap
/usr/bin/install -c -c -m 755 nmap /usr/local/bin/nmap
/usr/bin/strip -x /usr/local/bin/nmap
/usr/bin/install -c -c -m 644 docs/nmap.1 /usr/local/share/man/man1/
...
byte-compiling /usr/local/lib/python2.6/site-packages/zenmapGUI/TopologyPage.py to TopologyPage.pyc
running install_scripts
copying build/scripts-2.6/zenmap -> /usr/local/bin
changing mode of /usr/local/bin/zenmap to 755
running install_data
copying share/zenmap/pixmaps/throbber.gif -> /usr/local/share/zenmap/pixmaps
...
running install_egg_info
Writing /usr/local/lib/python2.6/site-packages/zenmap-5.00-py2.6.egg-info
/usr/bin/install -c -c -m 644 docs/zenmap.1 /usr/local/share/man/man1/
if [ ! -f /usr/local/bin/nmapfe -o -L /usr/local/bin/nmapfe ]; then \
ln -sf zenmap /usr/local/bin/nmapfe; \
fi
ln -sf zenmap /usr/local/bin/xnmap
Installing Ncat
./shtool mkdir -f -p -m 755 /usr/local/bin /usr/local/share/ncat /usr/local/share/man/man1
/usr/bin/install -c -c -m 755 -s ncat /usr/local/bin/ncat
/usr/bin/install -c -c -m 644 certs/ca-bundle.crt /usr/local/share/ncat/
/usr/bin/install -c -c -m 644 docs/ncat.1 /usr/local/share/man/man1/ncat.1
cd ndiff && /usr/bin/python setup.py install --prefix "/usr/local"
running install
running build
running build_scripts
running install_scripts
copying build/scripts-2.6/ndiff -> /usr/local/bin
changing mode of /usr/local/bin/ndiff to 755
running install_data
copying docs/ndiff.1 -> /usr/local/share/man/man1
running install_egg_info
NMAP SUCCESSFULLY INSTALLED
2009.08.11.21:36:31×1249./Applications/nmap-5.00×test·0·zenmap
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in
<module>
import gtk
ImportError: No module named gtk
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 47, in excepthook
import gtk
ImportError: No module named gtk
Original exception was:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in
<module>
import gtk
ImportError: No module named gtk
2009.08.11.21:40:22×1249./Applications/nmap-5.00×test·0·nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-11 21:41 PDT
Warning: File ./nmap-services exists, but Nmap is using /usr/local/share/nmap/nmap-services for security and
consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files
too).
Interesting ports on localhost (127.0.0.1):
Not shown: 965 closed ports, 32 filtered ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
1033/tcp open netinfo
Nmap done: 1 IP address (1 host up) scanned in 6.69 seconds
2009.08.11.21:42:04×1249./Applications/nmap-5.00×test·0·sudo nmap localhost
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
sendmail: warning: valid_hostname: numeric hostname: 1249
postdrop: warning: valid_hostname: numeric hostname: 1249
Password:
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-11 21:42 PDT
Warning: File ./nmap-services exists, but Nmap is using /usr/local/share/nmap/nmap-services for security and
consistency reasons. set NMAPDIR=. to give priority to files in your local directory (may affect the other data files
too).
Interesting ports on localhost (127.0.0.1):
Not shown: 609 closed ports, 387 filtered ports
PORT STATE SERVICE
25/tcp open smtp
80/tcp open http
631/tcp open ipp
1033/tcp open netinfo
Nmap done: 1 IP address (1 host up) scanned in 3.18 seconds
2009.08.11.21:42:46×1249./Applications/nmap-5.00×test·0·nmap -iflist
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-11 21:43 PDT
Warning: Unable to open interface en1 -- skipping it.
************************INTERFACES************************
DEV (SHORT) IP/MASK TYPE UP MAC
lo0 (lo0) 127.0.0.1/8 loopback up
WARNING: Unable to find appropriate interface for system route to 192.168.1.254
WARNING: Unable to find appropriate interface for system route to 192.168.1.254
WARNING: Unable to find appropriate interface for system route to 192.168.1.254
**************************ROUTES**************************
DST/MASK DEV GATEWAY
127.0.0.1/32 lo0 127.0.0.1
192.168.1.65/32 lo0 127.0.0.1
127.0.0.0/8 lo0 127.0.0.1
2009.08.11.21:43:15×1249./Applications/nmap-5.00×test·0·sudo nmap -iflist
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
sendmail: warning: valid_hostname: numeric hostname: 1249
postdrop: warning: valid_hostname: numeric hostname: 1249
Password:
Starting Nmap 5.00 ( http://nmap.org ) at 2009-08-11 21:43 PDT
************************INTERFACES************************
DEV (SHORT) IP/MASK TYPE UP MAC
lo0 (lo0) 127.0.0.1/8 loopback up
en1 (en1) 192.168.1.65/24 ethernet up 00:0D:93:7E:D2:57
**************************ROUTES**************************
DST/MASK DEV GATEWAY
127.0.0.1/32 lo0 127.0.0.1
192.168.1.65/32 lo0 127.0.0.1
216.246.59.228/32 en1 192.168.1.254
224.0.0.251/32 en1 192.168.1.254
127.0.0.0/8 lo0 127.0.0.1
0.0.0.0/0 en1 192.168.1.254
<Terminal log
There is no /dev/ on my disk, thus no /dev/bpf/. GTK+ 2.14b is installed fine, I think, but I couldn't install PyGTK
2.14 or its dependends—for a while:
(Sadly my prompt also eats linewraps.)
Terminal log>
2009.08.11.21:43:45×1249./Applications/nmap-5.00×test·0·cd /Users/test/Desktop/ject-2.14.2/
2009.08.11.21:57:48×1249.~/Desktop/pygobject-2.14.2×test·0·./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
...
configure: creating libtool
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... darwin
checking for python script directory... ${prefix}/lib/python2.6/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... found
checking for PySignal_SetWakeupFd in Python.h... yes
checking for python module thread... yes
checking whether to enable threading in pygobject... yes
checking for pkg-config... no
checking for GLIB - version >= 2.8.0... no
*** A new enough version of pkg-config was not found.
*** See http://www.freedesktop.org/software/pkgconfig/
configure: error: maybe you want the pygobject-2-4 branch?
2009.08.11.21:58:30×1249.~/Desktop/pygobject-2.14.2×test·0·cd /Applications/pkg-ig-0.23/
2009.08.11.22:00:36×1249./Applications/pkg-config-0.23×test·0·./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether to list both direct and indirect dependencies... no
checking for Win32... no
checking for working alloca.h... yes
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating check/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in glib-1.2.10 (/Applications/pkg-config-0.23/glib-1.2.10)
configure: running /bin/sh ./configure '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
...
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin8.11.0 dyld
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... (cached) powerpc-apple-darwin8.11.0
checking whether to enable memory checking... no
checking whether to enable memory profiling... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for extra flags to get ANSI library prototypes... none needed
checking for extra flags for POSIX compliance... none needed
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for atexit... yes
checking for on_exit... no
checking for char... yes
...
configure: creating ./config.status
config.status: creating glib.spec
config.status: creating Makefile
config.status: creating glib-config
config.status: creating gmodule/gmoduleconf.h
config.status: creating gmodule/Makefile
config.status: creating gthread/Makefile
config.status: creating docs/Makefile
config.status: creating docs/glib-config.1
config.status: creating tests/Makefile
config.status: creating glib.pc
config.status: creating gmodule.pc
config.status: creating gthread.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
creating glibconfig.h
config.status: executing default commands
2009.08.11.22:02:27×1249./Applications/pkg-config-0.23×test·0·make
make all-recursive
Making all in glib-1.2.10
CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status
config.status: executing depfiles commands
config.status: executing default-1 commands
creating glibconfig.h
glibconfig.h is unchanged
config.status: executing default commands
echo timestamp > stamp-gc-h
make all-recursive
Making all in .
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall
-D_REENTRANT -MT garray.lo -MD -MP -MF ".deps/garray.Tpo" \
...
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -MT gstrfuncs.lo -MD -MP
-MF .deps/gstrfuncs.Tpo -c gstrfuncs.c -fno-common -DPIC -o .libs/gstrfuncs.o
gstrfuncs.c: In function 'g_strdown':
gstrfuncs.c:1139: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strup':
gstrfuncs.c:1155: warning: pointer targets in assignment differ in signedness
gstrfuncs.c: In function 'g_strchug':
gstrfuncs.c:1314: warning: pointer targets in assignment differ in signedness
gstrfuncs.c:1317: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -MT gstrfuncs.lo -MD -MP
-MF .deps/gstrfuncs.Tpo -c gstrfuncs.c -o gstrfuncs.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall
-D_REENTRANT -MT gstring.lo -MD -MP -MF ".deps/gstring.Tpo" \
-c -o gstring.lo `test -f 'gstring.c' || echo './'`gstring.c; \
then mv -f ".deps/gstring.Tpo" ".deps/gstring.Plo"; \
else rm -f ".deps/gstring.Tpo"; exit 1; \
fi
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -MT gstring.lo -MD -MP -MF
.deps/gstring.Tpo -c gstring.c -fno-common -DPIC -o .libs/gstring.o
gstring.c: In function 'g_string_down':
gstring.c:446: warning: pointer targets in assignment differ in signedness
gstring.c: In function 'g_string_up':
gstring.c:465: warning: pointer targets in assignment differ in signedness
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -MT gstring.lo -MD -MP -MF
.deps/gstring.Tpo -c gstring.c -o gstring.o >/dev/null 2>&1
...
creating libglib.la
(cd .libs && rm -f libglib.la && ln -s ../libglib.la libglib.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -D_REENTRANT -MT testglib.o -MD
-MP -MF ".deps/testglib.Tpo" \
-c -o testglib.o `test -f 'testglib.c' || echo './'`testglib.c; \
then mv -f ".deps/testglib.Tpo" ".deps/testglib.Po"; \
else rm -f ".deps/testglib.Tpo"; exit 1; \
fi
testglib.c: In function 'g_node_test':
testglib.c:86: warning: reading through null pointer (argument 5)
testglib.c:90: warning: reading through null pointer (argument 5)
testglib.c:98: warning: reading through null pointer (argument 5)
testglib.c:108: warning: reading through null pointer (argument 5)
testglib.c:109: warning: reading through null pointer (argument 5)
testglib.c:110: warning: reading through null pointer (argument 5)
testglib.c:111: warning: reading through null pointer (argument 5)
testglib.c:112: warning: reading through null pointer (argument 5)
testglib.c:113: warning: reading through null pointer (argument 5)
testglib.c:114: warning: reading through null pointer (argument 5)
testglib.c:115: warning: reading through null pointer (argument 5)
testglib.c:116: warning: reading through null pointer (argument 5)
testglib.c:117: warning: reading through null pointer (argument 5)
testglib.c:118: warning: reading through null pointer (argument 5)
testglib.c:123: warning: reading through null pointer (argument 5)
testglib.c:127: warning: reading through null pointer (argument 5)
testglib.c:182: warning: reading through null pointer (argument 5)
testglib.c:183: warning: reading through null pointer (argument 5)
testglib.c: In function 'main':
testglib.c:359: warning: reading through null pointer (argument 5)
testglib.c:361: warning: reading through null pointer (argument 5)
testglib.c:363: warning: reading through null pointer (argument 5)
testglib.c:366: warning: reading through null pointer (argument 5)
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o testglib testglib.o libglib.la
...
Making all in gthread
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=\"GThread\"
-g -O2 -Wall -D_REENTRANT -MT gthread.lo -MD -MP -MF ".deps/gthread.Tpo" \
-c -o gthread.lo `test -f 'gthread.c' || echo './'`gthread.c; \
then mv -f ".deps/gthread.Tpo" ".deps/gthread.Plo"; \
else rm -f ".deps/gthread.Tpo"; exit 1; \
fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=\"GThread\" -g -O2 -Wall -D_REENTRANT -MT gthread.lo
-MD -MP -MF .deps/gthread.Tpo -c gthread.c -fno-common -DPIC -o .libs/gthread.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=\"GThread\" -g -O2 -Wall -D_REENTRANT -MT gthread.lo
-MD -MP -MF .deps/gthread.Tpo -c gthread.c -o gthread.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o libgthread.la -version-info 0:10:0 -release 1.2
-export-dynamic gthread.lo -lpthread
libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
libtool: link: warning: `-release' is ignored for convenience libraries
ar cru .libs/libgthread.a .libs/gthread.o
ranlib .libs/libgthread.a
creating libgthread.la
(cd .libs && rm -f libgthread.la && ln -s ../libgthread.la libgthread.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gthread -DG_LOG_DOMAIN=\"GThread\" -g -O2 -Wall -D_REENTRANT -MT
testgthread.o -MD -MP -MF ".deps/testgthread.Tpo" \
-c -o testgthread.o `test -f 'testgthread.c' || echo './'`testgthread.c; \
then mv -f ".deps/testgthread.Tpo" ".deps/testgthread.Po"; \
else rm -f ".deps/testgthread.Tpo"; exit 1; \
fi
In file included from testgthread.c:6:
../testglib.c: In function 'g_node_test':
../testglib.c:86: warning: reading through null pointer (argument 5)
../testglib.c:90: warning: reading through null pointer (argument 5)
../testglib.c:98: warning: reading through null pointer (argument 5)
../testglib.c:108: warning: reading through null pointer (argument 5)
../testglib.c:109: warning: reading through null pointer (argument 5)
../testglib.c:110: warning: reading through null pointer (argument 5)
../testglib.c:111: warning: reading through null pointer (argument 5)
../testglib.c:112: warning: reading through null pointer (argument 5)
../testglib.c:113: warning: reading through null pointer (argument 5)
../testglib.c:114: warning: reading through null pointer (argument 5)
../testglib.c:115: warning: reading through null pointer (argument 5)
../testglib.c:116: warning: reading through null pointer (argument 5)
../testglib.c:117: warning: reading through null pointer (argument 5)
../testglib.c:118: warning: reading through null pointer (argument 5)
../testglib.c:123: warning: reading through null pointer (argument 5)
../testglib.c:127: warning: reading through null pointer (argument 5)
../testglib.c:182: warning: reading through null pointer (argument 5)
../testglib.c:183: warning: reading through null pointer (argument 5)
../testglib.c: In function 'testglib_main':
../testglib.c:359: warning: reading through null pointer (argument 5)
../testglib.c:361: warning: reading through null pointer (argument 5)
../testglib.c:363: warning: reading through null pointer (argument 5)
../testglib.c:366: warning: reading through null pointer (argument 5)
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o testgthread testgthread.o ../libglib.la
libgthread.la
gcc -g -O2 -Wall -D_REENTRANT -o testgthread testgthread.o ../.libs/libglib.a ./.libs/libgthread.a -lpthread
Making all in docs
make[4]: Nothing to be done for `all'.
Making all in tests
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -D_REENTRANT -MT array-test.o -MD -MP -MF
".deps/array-test.Tpo" \
...
hash-test.c:181: warning: 'not_even_foreach' defined but not used
hash-test.c:206: warning: 'remove_even_foreach' defined but not used
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o hash-test hash-test.o ../libglib.la
gcc -g -O2 -Wall -D_REENTRANT -o hash-test hash-test.o ../.libs/libglib.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -D_REENTRANT -MT list-test.o -MD -MP -MF
".deps/list-test.Tpo" \
-c -o list-test.o `test -f 'list-test.c' || echo './'`list-test.c; \
then mv -f ".deps/list-test.Tpo" ".deps/list-test.Po"; \
else rm -f ".deps/list-test.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o list-test list-test.o ../libglib.la
gcc -g -O2 -Wall -D_REENTRANT -o list-test list-test.o ../.libs/libglib.a
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -Wall -D_REENTRANT -MT node-test.o -MD -MP -MF
".deps/node-test.Tpo" \
-c -o node-test.o `test -f 'node-test.c' || echo './'`node-test.c; \
then mv -f ".deps/node-test.Tpo" ".deps/node-test.Po"; \
else rm -f ".deps/node-test.Tpo"; exit 1; \
fi
node-test.c: In function 'g_node_test':
node-test.c:99: warning: reading through null pointer (argument 5)
node-test.c:103: warning: reading through null pointer (argument 5)
node-test.c:111: warning: reading through null pointer (argument 5)
node-test.c:121: warning: reading through null pointer (argument 5)
node-test.c:122: warning: reading through null pointer (argument 5)
node-test.c:123: warning: reading through null pointer (argument 5)
node-test.c:124: warning: reading through null pointer (argument 5)
node-test.c:125: warning: reading through null pointer (argument 5)
node-test.c:126: warning: reading through null pointer (argument 5)
node-test.c:127: warning: reading through null pointer (argument 5)
node-test.c:128: warning: reading through null pointer (argument 5)
node-test.c:129: warning: reading through null pointer (argument 5)
node-test.c:130: warning: reading through null pointer (argument 5)
node-test.c:131: warning: reading through null pointer (argument 5)
node-test.c:136: warning: reading through null pointer (argument 5)
node-test.c:140: warning: reading through null pointer (argument 5)
node-test.c:195: warning: reading through null pointer (argument 5)
node-test.c:196: warning: reading through null pointer (argument 5)
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o node-test node-test.o ../libglib.la
...
pkg.c: In function 'get_multi_merged':
pkg.c:1015: warning: unused variable 'tmp'
pkg.c: In function 'get_multi_merged_from_back':
pkg.c:1037: warning: unused variable 'tmp'
pkg.c: At top level:
pkg.c:259: warning: 'file_readable' defined but not used
pkg.c:587: warning: 'spew_string_list' defined but not used
pkg.c:714: warning: 'compare_req_version_names' defined but not used
pkg.c:723: warning: 'compare_package_keys' defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig\""
-I./glib-1.2.10 -g -Wall -O2 -g -O2 -MT partial-glib.o -MD -MP -MF ".deps/partial-glib.Tpo" \
...
parse.c: In function 'parse_conflicts':
parse.c:620: warning: unused variable 'iter'
parse.c:619: warning: unused variable 'parsed'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig\""
-I./glib-1.2.10 -g -Wall -O2 -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
main.c: In function 'main':
main.c:207: warning: unused variable 'pkg'
main.c:203: warning: unused variable 'iter'
main.c:202: warning: unused variable 'search_dirs'
main.c:201: warning: unused variable 'pkglibdir'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DPKG_CONFIG_PC_PATH="\"/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig\""
-I./glib-1.2.10 -g -Wall -O2 -g -O2 -MT findme.o -MD -MP -MF ".deps/findme.Tpo" \
...
mkdir .libs
gcc -g -Wall -O2 -g -O2 -o pkg-config pkg.o partial-glib.o parse.o main.o findme.o popt.o poptconfig.o popthelp.o
poptparse.o glib-1.2.10/.libs/libglib.a
2009.08.11.22:04:22×1249./Applications/pkg-config-0.23×test·0·sudo make install
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:sendmail: warning: valid_hostname: numeric hostname: 1249
postdrop: warning: valid_hostname: numeric hostname: 1249
Making install in glib-1.2.10
make install-recursive
Making install in .
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in gmodule
make install-am
make[5]: Nothing to be done for `install-exec-am'.
make[5]: Nothing to be done for `install-data-am'.
Making install in gthread
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in docs
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in tests
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
Making install in check
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
/bin/sh ./mkinstalldirs /usr/local/bin
/bin/sh ./libtool --mode=install /usr/bin/install -c pkg-config /usr/local/bin/pkg-config
/usr/bin/install -c pkg-config /usr/local/bin/pkg-config
/bin/sh ./mkinstalldirs /usr/local/share/aclocal
mkdir -p -- /usr/local/share/aclocal
/usr/bin/install -c -m 644 pkg.m4 /usr/local/share/aclocal/pkg.m4
/bin/sh ./mkinstalldirs /usr/local/share/man/man1
/usr/bin/install -c -m 644 ./pkg-config.1 /usr/local/share/man/man1/pkg-config.1
2009.08.11.22:18:48×1249./Applications/pkg-config-0.23×test·0·cd /Users/test//pygobject-2.14.2/
2009.08.11.22:20:58×1249.~/Desktop/pygobject-2.14.2×test·0·./configure
...
checking for python module thread... yes
checking whether to enable threading in pygobject... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: maybe you want the pygobject-2-4 branch?
<Terminal log
config.log>
configure:4149: checking how to recognize dependent libraries
configure:4335: result: pass_all
configure:4870: checking how to run the C preprocessor
configure:4910: gcc -E conftest.c
configure:4916: $? = 0
configure:4947: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:4953: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "pygobject"
| #define PACKAGE_TARNAME "pygobject"
| #define PACKAGE_VERSION "2.14.2"
| #define PACKAGE_STRING "pygobject 2.14.2"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject"
| #define PYGOBJECT_MAJOR_VERSION 2
| #define PYGOBJECT_MINOR_VERSION 14
| #define PYGOBJECT_MICRO_VERSION 2
| #define PACKAGE "pygobject"
| #define VERSION "2.14.2"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4986: result: gcc -E
configure:5015: gcc -E conftest.c
configure:5021: $? = 0
configure:5052: gcc -E conftest.c
conftest.c:13:28: error: ac_nonexistent.h: No such file or directory
configure:5058: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "pygobject"
| #define PACKAGE_TARNAME "pygobject"
| #define PACKAGE_VERSION "2.14.2"
| #define PACKAGE_STRING "pygobject 2.14.2"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject"
| #define PYGOBJECT_MAJOR_VERSION 2
| #define PYGOBJECT_MINOR_VERSION 14
| #define PYGOBJECT_MICRO_VERSION 2
| #define PACKAGE "pygobject"
| #define VERSION "2.14.2"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:5096: checking for ANSI C header files
configure:5126: gcc -c -g -O2 conftest.c >&5
configure:5132: $? = 0
configure:10884: checking for GLIB - version >= 2.8.0
configure:11044: result: no
configure:11082: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:26:18: error: glib.h: No such file or directory
conftest.c: In function 'main':
conftest.c:32: error: 'glib_major_version' undeclared (first use in this function)
conftest.c:32: error: (Each undeclared identifier is reported only once
conftest.c:32: error: for each function it appears in.)
conftest.c:32: error: 'glib_minor_version' undeclared (first use in this function)
conftest.c:32: error: 'glib_micro_version' undeclared (first use in this function)
configure:11088: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "pygobject"
| #define PACKAGE_TARNAME "pygobject"
| #define PACKAGE_VERSION "2.14.2"
| #define PACKAGE_STRING "pygobject 2.14.2"
| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=pygobject"
| #define PYGOBJECT_MAJOR_VERSION 2
| #define PYGOBJECT_MINOR_VERSION 14
| #define PYGOBJECT_MICRO_VERSION 2
| #define PACKAGE "pygobject"
| #define VERSION "2.14.2"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_PYSIGNAL_SETWAKEUPFD 1
| /* end confdefs.h. */
|
| #include <glib.h>
| #include <stdio.h>
|
| int
| main ()
| {
| return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
| ;
| return 0;
| }
configure:11122: error: maybe you want the pygobject-2-4 branch?
<config.log
The assy PyGTK and PyGObject team wouldn't say where to get GLIB 2.8 or newer in their configure or readmes; why would
they not come with the newest already? pkg-config comes with glib 1.2.10, retarded. I had a Glib 2.0 in my library
already from last year; I don't know how it got there. Luckily, another program on MacPorts gave the same error:
http://trac.macports.org/ticket/14570. There's the FTP address; however, it opens in Finder rather than Safari, and I
couldn't open or copy files—it gave me the often Error code -36. After more Googling, I'd found the solution was to
put a handle in the address: ftp://anonymous () ftp gtk org/pub/glib/. (Then again, I could'v swapped ftp for http.)
Terminal log>
2009.08.11.22:21:34×1249.~/Desktop/pygobject-2.14.2×test·0·cd /Users/test/ib-2.21.4/
2009.08.11.23:39:02×1249.~/Desktop/glib-2.21.4×test·0·./configure
...
checking for LC_MESSAGES... yes
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library. (http://www.gnu.org/software/gettext/gettext.html
<Terminal log
gettext's install was too long—the folder in the end was 98 MB!—but there were a hundred pointer targets warnings. I
can trash gettext, GLib, and PyGObject folders, wriht?
Terminal log>
2009.08.12.01:06:05×1249.~/Desktop/gettext-0.17×test·0·cd /Users/test/Desktop/.21.4/.
2009.08.12.01:14:22×1249.~/Desktop/glib-2.21.4×test·0·./configure
...
checking for dlopen... yes
checking for dlsym... yes
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: unknown flag: -export-dynamic
collect2: ld returned 1 exit status
checking for RTLD_GLOBAL brokenness... no
checking for preceeding underscore in symbols... no
...
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for FAMOpen in -lfam... no
configure: WARNING: *** FAM support will not be built (FAM library not found) ***
checking for getxattr in -lc... yes
...
configure: creating ./config.status
config.status: creating glib-2.0.pc
config.status: creating glib-2.0-uninstalled.pc
config.status: creating gmodule-2.0.pc
config.status: creating gmodule-export-2.0.pc
config.status: creating gmodule-no-export-2.0.pc
config.status: creating gmodule-2.0-uninstalled.pc
...
config.status: creating m4macros/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: executing libtool commands
config.status: executing glibconfig.h commands
config.status: executing chmod-scripts commands
...
2009.08.12.01:20:10×1249.~/Desktop/glib-2.21.4×test·0·make
...
...
2009.08.12.01:37:27×1249.~/Desktop/glib-2.21.4×test·0·sudo make install
...
2009.08.12.01:43:27×1249.~/Desktop/glib-2.21.4×test·0·cd /Users/test/Desktop/ct-2.14.2/
2009.08.12.01:45:02×1249.~/Desktop/pygobject-2.14.2×test·0·./configure
...
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygobject-2.0.pc
config.status: creating pygobject-2.0-uninstalled.pc
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating docs/xsl/fixxref.py
config.status: creating gobject/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
libffi support: no
2009.08.12.01:46:09×1249.~/Desktop/pygobject-2.14.2×test·0·make
...
2009.08.12.01:48:18×1249.~/Desktop/pygobject-2.14.2×test·0·sudo make install
...
2009.08.12.02:00:00×1249./Applications/nmap-5.00×test·0·zenmap
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in
<module>
import gtk
ImportError: No module named gtk
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 47, in excepthook
import gtk
ImportError: No module named gtk
Original exception was:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in
<module>
import gtk
ImportError: No module named gtk
...
2009.08.12.02:33:43×1249./Applications/nmap-5.00×test·0·sudo find / -name rint
sudo: /var/db/sudo owned by uid 501, should be uid 0
WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.
To proceed, enter your password, or type Ctrl-C to abort.
Password:sendmail: warning: valid_hostname: numeric hostname: 1249
postdrop: warning: valid_hostname: numeric hostname: 1249
/Applications/nmap-5.00/zenmap/build/lib/zenmapGUI/higwidgets/gtkutils.py
/Applications/nmap-5.00/zenmap/install_scripts/macosx/gtkrc
/Applications/nmap-5.00/zenmap/zenmapGUI/higwidgets/gtkutils.py
/Applications/Python-2.6.2/pygtk-2.14.1
/Applications/Python-2.6.2/pygtk-2.14.1/docs/html/class-gtkaboutdialog.html
/Applications/Python-2.6.2/pygtk-2.14.1/docs/html/class-gtkaccelgroup.html
/Applications/Python-2.6.2/pygtk-2.14.1/docs/html/class-gtkaccellabel.html
/Applications/Python-2.6.2/pygtk-2.14.1/docs/html/class-gtkaccelmap.html
...
/Library/Frameworks/Gtk.framework/Libraries/libgtk-quartz-2.0.0.dylib
/Library/Frameworks/Gtk.framework/Resources/dev/bin/gtk-builder-convert
/Library/Frameworks/Gtk.framework/Resources/dev/bin/gtk-demo
/Library/Frameworks/Gtk.framework/Resources/dev/bin/gtk-query-immodules-2.0
/Library/Frameworks/Gtk.framework/Resources/dev/bin/gtk-update-icon-cache
/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig/gtk+-2.0.pc
/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig/gtk+-quartz-2.0.pc
/Library/Frameworks/Gtk.framework/Resources/dev/lib/pkgconfig/gtk+-unix-print-2.0.pc
/Library/Frameworks/Gtk.framework/Resources/dev/share/aclocal/gtk-2.0.m4
/Library/Frameworks/Gtk.framework/Resources/etc/gtk-2.0
/Library/Frameworks/Gtk.framework/Resources/etc/gtk-2.0/gtk.immodules
/Library/Frameworks/Gtk.framework/Resources/etc/gtk-2.0/gtkrc
/Library/Frameworks/Gtk.framework/Resources/lib/gtk-2.0
/Library/Frameworks/Gtk.framework/Resources/share/icons/gnome/16x16/actions/gtk-about.png
...
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/higwidgets/gtkutils.py
/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/zenmapGUI/higwidgets/gtkutils.pyc
/Library/Receipts/gtk.pkg
/Library/Receipts/gtkapplication.pkg
...
/usr/local/include/pygtk-2.0
/usr/local/lib/python2.6/site-packages/gtk-2.0
/usr/local/lib/python2.6/site-packages/pygtk.pth
/usr/local/lib/python2.6/site-packages/pygtk.py
/usr/local/lib/python2.6/site-packages/pygtk.pyc
/usr/local/lib/python2.6/site-packages/pygtk.pyo
/usr/local/lib/python2.6/site-packages/zenmapGUI/higwidgets/gtkutils.py
/usr/local/lib/python2.6/site-packages/zenmapGUI/higwidgets/gtkutils.pyc
...
2009.08.12.02:40:20×1249./Applications/nmap-5.00×test·0·python
Python 2.6.2 (r262:71600, Aug 10 2009, 22:02:10)
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
help import
File "<stdin>", line 1
help import
^
SyntaxError: invalid syntax
help
Type help() for interactive help, or help(object) for help about object.
help(import)
File "<stdin>", line 1
help(import)
^
SyntaxError: invalid syntax
help()
... help> modules Please wait a moment while I gather a list of all available modules... Audio_mac _hashlib fnmatch pysqlite2 BaseHTTPServer _heapq formatter quopri Bastion _hotshot fpformat radialnet CGIHTTPServer _json fractions random Canvas _locale ftplib re Carbon _lsprof functools repr CodeWarrior _multibytecodec future_builtins resource ColorPicker _multiprocessing gc rexec ConfigParser _random genericpath rfc822 Cookie _sha256 gensuitemodule rlcompleter Dialog _sha512 gestalt robotparser DocXMLRPCServer _socket getopt runpy EasyDialogs _sqlite3 getpass sched Explorer _sre gettext select FileDialog _ssl glob sets Finder _strptime grp sgmllib FixTk _struct gzip sha ... <Terminal log (some Googling) Terminal log> 2009.08.12.03:29:39×1249./Applications/nmap-5.00×test·0·export PYTHONPATH=/usr//lib/python2.6/site-packages/ 2009.08.12.03:30:39×1249./Applications/nmap-5.00×test·0·python Python 2.6.2 (r262:71600, Aug 10 2009, 22:02:10) [GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin Type "help", "copyright", "credits" or "license" for more information.
help
Type help() for interactive help, or help(object) for help about object.
sys
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'sys' is not defined
modules
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'modules' is not defined
help()
... help> sys help> path no Python documentation found for 'path' help> quit
path
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'path' is not defined
sys.path
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'sys' is not defined
import sys sys.path
['', '/usr/local/lib/python2.6/site-packages', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', '/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages']
modules
Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'modules' is not defined
help
Type help() for interactive help, or help(object) for help about object.
help()
... help> modules Please wait a moment while I gather a list of all available modules... Audio_mac _hashlib fnmatch pygtk BaseHTTPServer _heapq formatter pysqlite2 Bastion _hotshot fpformat quopri CGIHTTPServer _json fractions radialnet Canvas _locale ftplib random Carbon _lsprof functools re CodeWarrior _multibytecodec future_builtins repr ColorPicker _multiprocessing gc resource ConfigParser _random genericpath rexec Cookie _sha256 gensuitemodule rfc822 Dialog _sha512 gestalt rlcompleter DocXMLRPCServer _socket getopt robotparser EasyDialogs _sqlite3 getpass runpy Explorer _sre gettext sched FileDialog _ssl glob select Finder _strptime grp sets FixTk _struct gzip sgmllib ...
quit()
2009.08.12.03:37:56×1249./Applications/nmap-5.00×test·0·zenmap
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/usr/local/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in <module>
import gtk
ImportError: No module named gtk
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 47, in excepthook
import gtk
ImportError: No module named gtk
Original exception was:
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 102, in <module>
import zenmapGUI.App
File "/usr/local/lib/python2.6/site-packages/zenmapGUI/App.py", line 47, in <module>
import gtk
ImportError: No module named gtk
...
2009.08.12.03:54:10×1249./Applications/nmap-5.00×test·0·export PYTHONPATH=/rameworks/Gtk.framework/Resources/
2009.08.12.03:58:23×1249./Applications/nmap-5.00×test·0·python
...
Audio_mac _hashlib fnmatch pysqlite2
BaseHTTPServer _heapq formatter quopri
...
FileDialog _ssl glob sets
Finder _strptime grp sgmllib
FixTk _struct gzip sha
...
_ctypes_test errno pwd zenmapCore
_curses exceptions py_compile zenmapGUI
_curses_panel fcntl pyclbr zipfile
_elementtree filecmp pydoc zipimport
_fileio fileinput pydoc_topics zlib
_functools findertools pyexpat
<Terminal log
oops
Terminal log>
2009.08.12.04:00:56×1249./Applications/nmap-5.00×test·0·export
PYTHONPATH=/usr//lib/python2.6/site-packages/:/usr/local/lib/python2.6/site-packages/gtk-2.0/
2009.08.12.06:17:11×1249./Applications/nmap-5.00×test·0·python
...
Explorer _ssl glob select
FileDialog _strptime gobject sets
Finder _struct grp sgmllib
FixTk _symtable gzip sha
...
_functools findertools pyexpat
_hashlib fnmatch pygtk
<Terminal log
Zenmap still wouldn't work. I gather for there to be a Python module, its name must be in a set of files of .py, .pyc,
and .pyo. I could find them for pygtk, but not gtk anywhere:
Terminal log>
2009.08.12.07:41:13×1249./Applications/nmap-5.00×test·0·find /usr -name *gtk.py* int
/usr/local/lib/python2.6/site-packages/pygtk.py
/usr/local/lib/python2.6/site-packages/pygtk.pyc
/usr/local/lib/python2.6/site-packages/pygtk.pyo
<Terminal log
Could it be the fault of Zenmap's programmer?
I'm not a programmer; which files in nmap and pkg-config folders can I trash?: object files and all folders?
-Aut
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Current thread:
- Nmap 5 and Zenmap, woes on OS X.iv.xi; warnings and nulls Autymn D. C. (Aug 13)
- Re: Nmap 5 and Zenmap, woes on OS X.iv.xi; warnings and nulls David Fifield (Aug 13)
- <Possible follow-ups>
- Re: Nmap 5 and Zenmap, woes on OS X.iv.xi; warnings and nulls Autymn D. C. (Aug 21)
- Re: Nmap 5 and Zenmap, woes on OS X.iv.xi; warnings and nulls David Fifield (Aug 22)
