Message71324
| 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:36 | khinsen | set | recipients:
+ khinsen |
| 2008年08月18日 13:01:36 | khinsen | set | messageid: <1219064496.5.0.0710172743091.issue3588@psf.upfronthosting.co.za> |
| 2008年08月18日 13:01:35 | khinsen | link | issue3588 messages |
| 2008年08月18日 13:01:34 | khinsen | create |
|