Re: problems build root on OSX against non-system python version

From: <wlavrijsen_at_lbl.gov>
Date: Wed, 14 Sep 2011 11:26:46 -0700


Chris,

> We need to be able to set this to something else, like pythonN.M.

but that is there, namely:

./configure
--with-python-incdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 --with-python-libdir=/opt/local/Library/Frameworks/Python.framework/Versions/2.6 --enable-python

the proper linkable in a framework is "Python" not a .dylib that happens to be there in some sub-directory of it (that is for older Macs when there was this distinction between .so and .dylib, which no longer is the case). I'd have to look up the proper Mac details, but the bottom line is that what you want to do can be done, just give the directory that Mac needs, not the directory that one would use for (old) Linuxes to find the libpythonx.y.a (which these days is only the case for p2.2 and some p2.3s anyway).

Best regards,

            Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Wed Sep 14 2011 - 20:24:31 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 15 2011 - 11:50:01 CEST