[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Nmap install WARNING: netinet/if_ether.h: present but cannot be compiled
From: |
F. Alfredo Rego |
Subject: |
Nmap install WARNING: netinet/if_ether.h: present but cannot be compiled |
Date: |
Fri, 12 Sep 2003 21:35:55 -0600 |
System version : Mac OS X 10.2.6 (6L60)
Kernel version : Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003;
root:xnu/xnu-344.34.obj~1/RELEASE_PPC
Last login: Fri Sep 12 15:52:50 on console
Welcome to Darwin!
[Dialup18:~] alfredo% cd /Applications\ \(Mac\ OS\ 9\)/Internet\
applications/Netscape\ downloads/nmap-3.30
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo%
./configure
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking for gethostent... yes
checking for setsockopt... yes
checking for nanosleep... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 pcap.h usability... yes
checking pcap.h presence... yes
checking for pcap.h... yes
checking for pcap_datalink in -lpcap... yes
checking if libpcap version is recent enough... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers?
configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for netinet/if_ether.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking struct ip... yes
checking ip_v in struct ip... yes
checking if sockaddr{} has sa_len member... yes
checking whether byte ordering is bigendian... yes
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking if struct icmp exists... yes
checking if struct ip exists... yes
checking if struct ip has ip_sum member... yes
checking for bzero... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memcpy... yes
checking for usleep... yes
checking for nanosleep... (cached) yes
checking for strerror... yes
checking for strcasestr... no
checking for inet_aton... yes
checking for getopt_long_only... no
checking for gtk-config... no
checking If you have GTK+ installed... no
configure: WARNING: Gtk+ has not been installed -> nmapfe will not be made
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: configuring in nbase
configure: running /bin/sh './configure' --prefix=/usr/local
--cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking for C compiler default output... 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 ANSI C... none needed
checking for ranlib... ranlib
checking build system type... powerpc-apple-darwin6.6
checking host system type... powerpc-apple-darwin6.6
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for string.h... (cached) yes
checking getopt.h usability... no
checking getopt.h presence... no
checking for getopt.h... no
checking for strings.h... (cached) yes
checking for memory.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
configure: WARNING: netinet/if_ether.h: present but cannot be compiled
configure: WARNING: netinet/if_ether.h: check for missing prerequisite headers?
configure: WARNING: netinet/if_ether.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to address@hidden ##
configure: WARNING: ## ------------------------------------ ##
checking for netinet/if_ether.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking libiberty.h usability... no
checking libiberty.h presence... no
checking for libiberty.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for inline... inline
checking for __attribute__... yes
checking whether byte ordering is bigendian... yes
checking for gethostent... yes
checking for setsockopt... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for bzero... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for memcpy... yes
checking for nanosleep... yes
checking for strerror... yes
checking for strcasestr... no
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for signal... yes
checking for inet_aton... yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for asprintf... yes
checking for asnprintf... no
checking for vasprintf... yes
checking for vasnprintf... no
checking for usleep... yes
checking for gettimeofday... yes
checking for sleep... yes
checking for getopt_long_only... no
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for working getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for AF_INET6 definition... yes
checking for IPv6 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbase_config.h
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo% make
Compiling libnbase
cd nbase; make
gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1
-c -o snprintf.o snprintf.c
snprintf.c:52: warning: `rcsid' defined but not used
gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1
-c -o getopt.o getopt.c
gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1
-c -o getopt1.o getopt1.c
gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1
-c -o nbase_str.o nbase_str.c
gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1
-c -o nbase_misc.o nbase_misc.c
Compiling libnbase
rm -f libnbase.a
ar cr libnbase.a snprintf.o getopt.o getopt1.o nbase_str.o nbase_misc.o
ranlib libnbase.a
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
nmap_error.cc -o nmap_error.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified utils.cc -o
utils.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
idle_scan.cc -o idle_scan.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified osscan.cc
-o osscan.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified output.cc
-o output.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
scan_engine.cc -o scan_engine.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified timing.cc
-o timing.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified charpool.cc
-o charpool.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified services.cc
-o services.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
protocols.cc -o protocols.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified nmap_rpc.cc
-o nmap_rpc.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified portlist.cc
-o portlist.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified NmapOps.cc
-o NmapOps.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
TargetGroup.cc -o TargetGroup.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified Target.cc
-o Target.o
g++ -c -no-cpp-precomp -g -O2 -Wall -Inbase -DHAVE_CONFIG_H
-DNMAP_VERSION=\"3.30\" -DNMAP_NAME=\"nmap\"
-DNMAP_URL=\"http://www.insecure.org/nmap/\"
-DNMAP_PLATFORM=\"powerpc-apple-darwin6.6\"
-DNMAPDATADIR=\"/usr/local/share/nmap\" -Ilibpcap-possiblymodified
FingerPrintResults.cc -o FingerPrintResults.o
Compiling nmap
rm -f nmap
g++ -Lnbase -o nmap main.o nmap.o targets.o tcpip.o nmap_error.o utils.o
idle_scan.o osscan.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 -lpcap -lnbase -lpcap
NmapFE will not being made -- your system lacks the capabilities (perhaps GTK)
for this graphical frontend -- you can still run command-line nmap!
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo% su root
Password:
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo# make
install
./shtool mkdir -f -p -m 755 /usr/local/bin /usr/local/man/man1
/usr/local/share/nmap /usr/local/share/gnome/apps/Utilities
./shtool install -c -m 755 nmap /usr/local/bin/nmap
./shtool install -c -m 644 docs/nmap.1 /usr/local/man/man1/nmap.1
./shtool install -c -m 644 nmap-os-fingerprints
/usr/local/share/nmap/nmap-os-fingerprints
./shtool install -c -m 644 nmap-services /usr/local/share/nmap/nmap-services
./shtool install -c -m 644 nmap-protocols /usr/local/share/nmap/nmap-protocols
./shtool install -c -m 644 nmap-rpc /usr/local/share/nmap/nmap-rpc
NmapFE will not being made -- your system lacks the capabilities (perhaps GTK)
for this graphical frontend -- you can still run command-line nmap!
./shtool mkdir -f -p -m 755 /usr/local/bin /usr/local/man/man1
/usr/local/share/nmap /usr/local/share/gnome/apps/Utilities
If the next command fails -- you cannot use the X front end
test -f nmapfe/nmapfe && ./shtool install -c -m 755 nmapfe/nmapfe
/usr/local/bin/nmapfe && rm -f /usr/local/bin/xnmap && ./shtool mkln -f -s
/usr/local/bin/nmapfe /usr/local/bin/xnmap && ./shtool install -c -m 644
nmapfe.desktop /usr/local/share/gnome/apps/Utilities/nmapfe.desktop && ./shtool
install -c -m 644 docs/nmapfe.1 /usr/local/man/man1/nmapfe.1 && ./shtool
install -c -m 644 docs/xnmap.1 /usr/local/man/man1/xnmap.1
make: [install-nmapfe] Error 1 (ignored)
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo# man nmap
No manual entry for nmap
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo# exit
exit
[Dialup18:Internet applications/Netscape downloads/nmap-3.30] alfredo%
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Nmap install WARNING: netinet/if_ether.h: present but cannot be compiled,
F. Alfredo Rego <=