pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bootstrap on OS X 10.8

Hi Tim,

could you try bootstrapping with --abi 64? I've had problems with the (default) 32-bit pkgsrc interacting badly with 64-bit only libraries (from Homebrew in my case, but may be others too).


On Sun, Apr 14, 2013 at 5:45 PM, Tim Larson <> wrote:
===> Bootstrapping bmake
===> running: /bin/sh /Users/tim/pkgsrc/bootstrap/work/bin/install-sh -d -o tim -g staff /Users/tim/pkgsrc/bootstrap/work/bmake
===> running: (cd /Users/tim/pkgsrc/bootstrap/work/bmake && env  /bin/sh ./boot-strap  -q -o bootstrap.Darwin --prefix=/Users/tim/pkgsrc/bootstrap/work --sysconfdir=/Users/tim/pkgsrc/bootstrap/work --mksrc none --with-default-sys-path=/Users/tim/pkgsrc/bootstrap/work/share/mk )
checking for gcc... gcc -isystem /usr/include
checking whether the C compiler works... no
configure: error: in `/Users/tim/pkgsrc/bootstrap/work/bmake/bootstrap.Darwin':
configure: error: C compiler cannot create executables
See `config.log' for more details
===> exited with status 1

snoopy:~/pkgsrc/bootstrap tim$ grep -15 crt work/bmake/bootstrap.Darwin/config.log
configure:2666: gcc -isystem /usr/include -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/ --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:2677: $? = 0
configure:2666: gcc -isystem /usr/include -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:2677: $? = 1
configure:2666: gcc -isystem /usr/include -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:2677: $? = 1
configure:2697: checking whether the C compiler works
configure:2719: gcc -isystem /usr/include    conftest.c  >&5
ld: library not found for -lcrt1.10.6.o
collect2: ld returned 1 exit status
configure:2723: $? = 1
configure:2761: result: no
configure: failed program was:

snoopy:~/pkgsrc/bootstrap tim$ uname -a
Darwin snoopy.local 12.3.0 Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 x86_64

snoopy:~ tim$ which gcc

Tim Larson

Home | Main Index | Thread Index | Old Index