This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author khinsen
Recipients khinsen
Date 2008-08-18.13:01:34
SpamBayes Score 4.0168247e-06
Marked as misclassified No
Message-id <1219064496.5.0.0710172743091.issue3588@psf.upfronthosting.co.za>
In-reply-to
Content
On a MacOS X framework build, the LINKFORSHARED variable obtained from 
distutils.sysconfig.get_config_vars() has the value

  -u _PyMac_Error Python.framework/Versions/2.5/Python

The last item is incomplete, it needs to be prefixed with the path in 
which the Python framework is installed.

Looking at config/Makefile (from which Distutils takes the variables), I 
find

LINKFORSHARED=	-u _PyMac_Error 
$(PYTHONFRAMEWORKDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)

and

PYTHONFRAMEWORKDIR=	Python.framework

One fix would be to use PYTHONFRAMEWORKINSTALLDIR instead of PYTHONFRAMEWORKDIR in the definition of LINKFORSHARED, but I don't know 
if this could have undesirable effects on the build process.
History
Date User Action Args
2008-08-18 13:01:36khinsensetrecipients: + khinsen
2008-08-18 13:01:36khinsensetmessageid: <1219064496.5.0.0710172743091.issue3588@psf.upfronthosting.co.za>
2008-08-18 13:01:35khinsenlinkissue3588 messages
2008-08-18 13:01:34khinsencreate