[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2013-02-27 Thread Andrew Jaffe
Andrew Jaffe added the comment: Was this actually fixed? As per http://bugs.python.org/issue16848 it affects python-config --ldflags which is used by various build systems. -- nosy: +Andrew.Jaffe ___ Python tracker rep...@bugs.python.org

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-18 Thread Tarek Ziadé
Changes by Tarek Ziadé ziade.ta...@gmail.com: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3588 ___ ___ Python-bugs-list

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-17 Thread Tarek Ziadé
Tarek Ziadé ziade.ta...@gmail.com added the comment: I agree with Ronald: making sure all variables in Makefile provide values that can work in any environment just because distutils offers an API to read them would be a major pain. What is planned is to remove sysconfig from distutils, and

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-16 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: To be honest: I don't know. Tarek: do you think LINKFORSHARED should contain a value that works outside of Python's build environment? -- ___ Python tracker rep...@bugs.python.org

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread xdcdx
xdcdx agentr...@gmail.com added the comment: This bug is still present in Python 2.6 and Python 3.0 included with Snow Leopard. Code: /Library/Frameworks/Python.framework/Versions/3.0/bin/python Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52) [GCC 4.0.1 (Apple Inc. build 5490)] on darwin

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- keywords: +easy nosy: +ronaldoussoren, tarek priority: - normal versions: -Python 2.5, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3588

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread xdcdx
xdcdx agentr...@gmail.com added the comment: Correction to my last message: the first two Python installations, located at /Library/Frameworks/Python.framework/Versions/ did not come with Snow Leopard, I installed them from MacPython packages. The Snow Leopard version (/usr/bin/python) does not

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: What do you use LINKFORSHARED for? As a minor rant: the wholesale export of all settings in the main Makefile through distutils sucks big time. I have no idea whether or not LINKFORSHARED is meant to be a public API, and if it is what

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread Ricardo Sánchez-Sáez
Ricardo Sánchez-Sáez agentr...@gmail.com added the comment: I am using it to tell CMake where are the Python Libraries for linking. Here's a snippet from my FindPythonLibs.cmake (I am attaching the whole file as well): ... EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} -c import

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: python-config (or python3-config for python 3.x) is the best way to get this information in recent versions of python (IIRC 2.6 or newer) -- ___ Python tracker rep...@bugs.python.org

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2009-12-15 Thread Ricardo Sánchez-Sáez
Ricardo Sánchez-Sáez agentr...@gmail.com added the comment: Thank you! That's much more convenient. So maybe then this bug report should be closed without a fix, right? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3588

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-05 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I can add that providing the option: -mmacosx-version-min=10.4 or setting the anv var MACOSX_DEPLOYMENT_TARGET=10.4 is it possible to build an extension in MacPython.org too (without that option there was a problem with some 10.5 libs)

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-04 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: I confirm this issue, some handy workaround available? -- nosy: +naufraghi ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3588 ___

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-11-04 Thread Matteo Bertini
Matteo Bertini [EMAIL PROTECTED] added the comment: The solution I found is: LINKFORSHARED = -u _PyMac_Error -framework Python as in the Apple included Python Makefile and LDFLAGS += -F$(PYTHONFRAMEWORKPREFIX) that makes linker use the right framework (not sure, but works with MacPython

[issue3588] sysconfig variable LINKFORSHARED has wrong value for MacOS X framework build

2008-08-18 Thread Konrad Hinsen
New submission from Konrad Hinsen [EMAIL PROTECTED]: 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