Hi,
Thanks for the pointer below. It seems things do indeed work better when I change the incdir and libdir paths as you suggest (I did not originally write the Portfile for root, so just assumed what was there was correct….).
Sorry for all the noise, and hope I didn't push your patience too far …
Chris
On 14 Sep 2011, at 7:26pm, <wlavrijsen_at_lbl.gov> <wlavrijsen_at_lbl.gov> wrote:
> 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
>
- application/pkcs7-signature attachment: smime.p7s
Received on Thu Sep 15 2011 - 10:18:02 CEST