X-From-Line: address@hidden Tue Aug 5 23:17:00 2003 Return-path: Envelope-to: address@hidden Delivery-date: Wed, 06 Aug 2003 05:31:07 +0200 Received: from hermes.epita.fr ([163.5.255.10] helo=epita.fr) by kualalumpur.lrde.epita.fr with esmtp (Exim 3.35 #1 (Debian)) id 19kF0z-000307-00 for ; Wed, 06 Aug 2003 05:31:06 +0200 Received: from f7.net (consort.superb.net [209.61.216.22]) by epita.fr id h763KZN05526 for EPITA Paris France Wed, 6 Aug 2003 05:20:35 +0200 (CEST) Received: from monty-python.gnu.org (monty-python.gnu.org [199.232.76.173]) by f7.net (8.11.7/8.11.7) with ESMTP id h763KSr01070; Tue, 5 Aug 2003 23:20:28 -0400 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19kEpd-00019I-1z for address@hidden; Tue, 05 Aug 2003 23:19:21 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19kEpa-000174-0M for address@hidden; Tue, 05 Aug 2003 23:19:18 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19kEp3-0000te-DB for address@hidden; Tue, 05 Aug 2003 23:19:16 -0400 Received: from [65.24.7.37] (helo=ohsmtp02.ogw.rr.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19kEnM-0008L2-HK for address@hidden; Tue, 05 Aug 2003 23:17:00 -0400 Received: from [192.168.2.73] (dhcp065-025-149-220.columbus.rr.com [65.25.149.220]) by ohsmtp02.ogw.rr.com (8.12.5/8.12.2) with ESMTP id h763GvP7000707; Tue, 5 Aug 2003 23:16:58 -0400 (EDT) Mime-Version: 1.0 X-Sender: address@hidden (Unverified) X-Gnus-Mail-Source: pop:address@hidden Message-Id: Date: Tue, 5 Aug 2003 23:17:00 -0400 To: address@hidden From: tioga Content-Type: text/plain; charset="us-ascii" Cc: address@hidden Subject: Nmap install still fails - Mac OS X X-BeenThere: address@hidden X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for autoconf, the GNU build system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: address@hidden Errors-To: address@hidden X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Status: X-Content-Length: 21067 Lines: 488 Xref: nostromo.lrde.epita.fr autoconf.bug:2813 Hi, Earlier today, I sent an e-mail which included the config.log from my trying to install Nmap on Mac OS X v. 10.2.6. I later figured out that indeed, no C compiler could be found, and I rounded up a copy of the Apple Developer Tools, Dec '02 edition, and installed it. It installs gcc 3.1. Next, I installed the gcc 3.3 update from Apple. Then, I tried to install Nmap again. The installation attempt did recognize the C compiler, but I'm pretty sure that the install failed again. Results follow, after my signoff. Thanks for any help, Mike Fish Columbus, OH August 5, 2003 11:15 P.M. EDT Tuesday __________________ __________________ [mBnGG4-R:/Users/mpm2bngg4/Public] mpm2bngg4# cd nmap-3.30 [mBnGG4-R:mpm2bngg4/Public/nmap-3.30] mpm2bngg4# ./configure CPP=/usr/bin/cpp 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... /usr/bin/cpp 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... no configure: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/param.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/param.h... no 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 'CPP=/usr/bin/cpp' --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... /usr/bin/cpp 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... no configure: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/param.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/param.h... no 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... no configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/socket.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/socket.h... no 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... no configure: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: netdb.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for netdb.h... no 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... no configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for arpa/inet.h... no 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... no checking for working getnameinfo... no checking for sockaddr_in6... yes checking for sockaddr_storage... no checking for AF_INET6 definition... no checking for IPv6 support... "no -- no working getaddrinfo" configure: creating ./config.status config.status: creating Makefile config.status: creating nbase_config.h configure: configuring in nbase configure: running /bin/sh './configure' --prefix=/usr/local 'CPP=/usr/bin/cpp' --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... /usr/bin/cpp 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... no configure: WARNING: sys/param.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/param.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/param.h... no 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... no configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: sys/socket.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for sys/socket.h... no 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... no configure: WARNING: netdb.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: netdb.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for netdb.h... no 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... no configure: WARNING: arpa/inet.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: arpa/inet.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to address@hidden ## configure: WARNING: ## ------------------------------------ ## checking for arpa/inet.h... no 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... no checking for working getnameinfo... no checking for sockaddr_in6... yes checking for sockaddr_storage... no checking for AF_INET6 definition... no checking for IPv6 support... "no -- no working getaddrinfo" configure: creating ./config.status config.status: creating Makefile config.status: creating nbase_config.h config.status: nbase_config.h is unchanged [mBnGG4-R:mpm2bngg4/Public/nmap-3.30] mpm2bngg4# 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 gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -c -o getaddrinfo.o getaddrinfo.c getaddrinfo.c: In function `new_ai': getaddrinfo.c:98: error: `AF_INET' undeclared (first use in this function) getaddrinfo.c:98: error: (Each undeclared identifier is reported only once getaddrinfo.c:98: error: for each function it appears in.) getaddrinfo.c:101: error: dereferencing pointer to incomplete type getaddrinfo.c: In function `getaddrinfo': getaddrinfo.c:136: warning: implicit declaration of function `inet_aton' getaddrinfo.c:141: warning: implicit declaration of function `gethostbyname' getaddrinfo.c:141: warning: assignment makes pointer from integer without a cast getaddrinfo.c:142: error: dereferencing pointer to incomplete type getaddrinfo.c:143: error: dereferencing pointer to incomplete type getaddrinfo.c:144: error: dereferencing pointer to incomplete type make[1]: *** [getaddrinfo.o] Error 1 make: *** [nbase/libnbase.a] Error 2 [mBnGG4-R:mpm2bngg4/Public/nmap-3.30] mpm2bngg4# make install Compiling libnbase cd nbase; make gcc -g -O2 -Wall -g -DHAVE_CONFIG_H -DNCRACK_VERSION=\"\" -DHAVE_CONFIG_H=1 -c -o getaddrinfo.o getaddrinfo.c getaddrinfo.c: In function `new_ai': getaddrinfo.c:98: error: `AF_INET' undeclared (first use in this function) getaddrinfo.c:98: error: (Each undeclared identifier is reported only once getaddrinfo.c:98: error: for each function it appears in.) getaddrinfo.c:101: error: dereferencing pointer to incomplete type getaddrinfo.c: In function `getaddrinfo': getaddrinfo.c:136: warning: implicit declaration of function `inet_aton' getaddrinfo.c:141: warning: implicit declaration of function `gethostbyname' getaddrinfo.c:141: warning: assignment makes pointer from integer without a cast getaddrinfo.c:142: error: dereferencing pointer to incomplete type getaddrinfo.c:143: error: dereferencing pointer to incomplete type getaddrinfo.c:144: error: dereferencing pointer to incomplete type make[1]: *** [getaddrinfo.o] Error 1 make: *** [nbase/libnbase.a] Error 2 [mBnGG4-R:mpm2bngg4/Public/nmap-3.30] mpm2bngg4#