Subject: Solution to building subversion under MacOS X 10.3.9 - CarbonCore/MacTypes.h not found
To: None <>
From: munch paulson <>
List: pkgsrc-users
Date: 04/27/2007 21:45:47
I wanted to build packages using pkgsrc for MacOS X (10.3.9), having tried
fink & darwinports and not being completely satisfied (for various
reasons which
I've since put out of my mind).

The build of subversion failed with the error message:

In file included from
                 from subversion/libsvn_subr/simple_providers.c:734:
CarbonCore/MacTypes.h: No such file or directory

I solved the problem using a very blunt instrument.  Whoever is maintaining
subversion-base might want to include a variation of this hack in the build

. cd devel/subversion-base
. sudo bmake
--- get the error message above

### ugly hack
. cd work/subversion-1.4.3/include
. sudo mkdir CarbonCore
. sudo ln -sf /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacTypes.h
### /ugly hack

, cd ../../..
. sudo bmake

It's ugly, but it works.  The include problem arises because of the
-DDARWIN on the
gcc command.  It might also be because I'm still using 10.3 instead of
10.4; the problem
might not exist under 10.4.