Subject: Gettext-Lib Fails Configuration on MacOS X 10.3
To: None <>
From: James Jacocks <>
List: tech-pkg
Date: 12/21/2003 17:38:59
The host system is a PowerBook 17", running 10.3.2, with gcc 3.3.  The 
destination volume is a UFS image, mounted at /Volumes/NetBSD.

Anyone understand this one?  I don't see anything wrong with the line 
where default output is checked.


Output from bmake install:

===> Verifying reinstall for ../../devel/gettext-lib
===> Checking for vulnerabilities in gettext-lib-0.11.5nb2
===> Configuring for gettext-lib-0.11.5nb2
configure: WARNING: If you wanted to set the --build type, don't use 
     If a cross compiler is detected then cross compile mode will be 
checking for a BSD compatible install... /usr/bin/install -c -o root -g 
checking whether build environment is sane... yes
checking for mawk... /usr/bin/awk
checking whether bmake sets ${MAKE}... yes
checking for powerpc-apple-darwin-gcc... gcc
checking for C compiler default output... configure: error: C compiler 
cannot create executables
*** Error code 77

Here is the snippet from config.log that seems appropriate:

configure:1787: $? = 0
configure:1789: gcc -v </dev/null >&5
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
configure:1792: $? = 0
configure:1794: gcc -V </dev/null >&5
gcc: `-V' must come at the start of the command line
configure:1797: $? = 1
configure:1817: checking for C compiler default output
configure:1820: gcc -O2 -I/Volumes/NetBSD/pkg/include  
-D_INTL_REDIRECT_MACROS=1 -DSTATIC=static -no-cpp-precomp 
-I/Volumes/NetBSD/pkg/include  -Wl,-L/usr/lib -liconv 
-L/Volumes/NetBSD/pkg/lib conftest.c  >&5
ld: can't open:  (No such file or directory, errno = 2)
configure:1823: $? = 1
configure: failed program was:
#line 1801 "configure"
#include "confdefs.h"

main ()

   return 0;
configure:1846: error: C compiler cannot create executables