[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: wild osx build problem

From: Stephen Davis <subversion_at_soundgeek.org>
Date: 2005-02-07 17:57:03 CET

On Feb 7, 2005, at 3:51 AM, Jon Scott Stevens wrote:

> Ok, so I just upgraded my server to 10.3. Fresh clean install.
>
> I have installed Python24 via fink. This seems to be my core error in
> judgment.
>
> I was trying to compile subversion and was getting a strange build
> failure when the python bindings were compiled.
>
> After diff'ing config.log on the machine where I have manually
> installed Python 2.4 and the same build script worked just fine, I
> deduced that for some reason the environment variable
> MACOSX_DEPLOYMENT_TARGET is not set (="10.3").
>
> This causes Python to traceback when configure tries to run the
> build/get-py-info.py script (which svn's build should stop if that
> happens!!!). This in turn does not set the ac_cv_python_compile
> variable and the build fails.
>
> The solution is to set the MACOSX_DEPLOYMENT_TARGET variable before
> trying to build svn if you have installed Python24 via fink.
>
> The reason why I'm installing svn manually and not via fink is because
> the fink package has some stupid dependency on some random version of
> Python (along with a bazillion other packages it doesn't need to
> depend on) and I really didn't want to have a total of 3 copies of
> Python on my machine.
>
> What a headache.

Have you just tried building Python 2.4 directly instead of using Fink?
  If I recall correctly, it should just build from source with no
problems. Unfortunately, the Mac OS X python layout is goofy (and
changed from 10.2 to 10.3) so the 2.4 build will probably install into
/usr/local but you're no worse off there than if it's in /sw.

stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 7 17:59:00 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.