pkgsrc-Users archive

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

bootstrapping pkgsrc on os/x

This is probably going to be a question with an obvious answer but I've
wasted enough time on it and am hoping someone can point me in the right

I'm trying to bootstrap pkgsrc on a Snow Leopard (10.6.8) OS/X mac with
case sensitive filesystem.

Using the X/Code gcc:
[transient:135 ~] gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking 
--enable-werror --prefix=/usr --mandir=/share/man 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib 
--build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- 
--host=x86_64-apple-darwin10 --target=i686-apple-darwin10 
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)

I'm running:

./bootstrap --varbase=/private/pkg/var --pkgdbdir=/private/pkg/var/db

as root and its getting to the point of properly building bmake and
failling with:

[ ... ]
===> Installing dependencies for bmake-20110606
=> Build dependency gcc3-c>=3.3.5nb1: NOT found
=> Verifying reinstall for ../../lang/gcc3-c
ERROR: This package is not available for these platforms: Darwin-*-* 
Interix-*-* DragonFly-*-*.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: gcc3-c-3.3.6nb1 is not available for Darwin-10.8.0-x86_64
*** Error code 1

I can't see why it doesn't like the gcc on the system and wants to build
its own.  I've mucked with PKGSRC_COMPILER, CCPATH, and other things
with no succes.

Its been this way for a while.  (I've been trying to build this off and on
for some 6+ months but finally started taking apart the scripts for a bit
and figured someone may just know the answer).

any hints?


Home | Main Index | Thread Index | Old Index