pkgsrc-Users archive

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

Solution to building subversion under MacOS X 10.3.9 - CarbonCore/MacTypes.h not found



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
/System/Library/Frameworks/Security.framework/Headers/SecBase.h:26,
                from
/System/Library/Frameworks/Security.framework/Headers/Security.h:44,
                from subversion/libsvn_subr/simple_providers.c:734:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:25:37:
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
procedures.

. 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
CarbonCore
### /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.



Home | Main Index | Thread Index | Old Index