[Pythonmac-SIG] Re: Python Framework vs 'traditional' was Re:
version numbers and dependencies
Jack Jansen
Jack.Jansen at cwi.nl
Sun Dec 19 01:29:37 CET 2004
>>> did someone already tried to compile python 2.4 with
>>> --enable-framework _and_ tried
>>> to destroot the install?
>>> It seems utterly broken - some stuff relies on already installed
>>> files which are - of course -
>>> not yet in the installdir but inside the destroot...
Hmm, I missed the original of this message, somehow (or was it on
darwinports only)?
This is a known problem, which is explained in Mac/OSX/Dist/README:
> Currently (November 2003) there is still a bug in the build procedure
> for $DESTROOT builds: building some of the applets will fail (in
> ``Mac/OSX/Makefile``) if you don't have the same version of Python
> installed
> normally. So before doing the distribution you should build and install
> a framework Python in the normal way.
Unfortunately, the problem is rather difficult to fix. buildapplet (or
py2app, or similar tools) will need to be told that we're in a destroot
install situation, so that if it wants filenames it should use the
non-destrooted version but if it actually needs the data that's in the
files it should use the destrooted filename.
I can live with the current workaround for MacPython installers, if
it's a problem for darwinports file a bugreport and a solution may be
available sooner:-)
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list