On Apr 7, 2006, at 4:21 PM, Tom Loredo wrote:

> Quoting Bob Ippolito <[EMAIL PROTECTED]>:
>
> Thanks for the input, Bob.
>
>> Frameworks are dynamic libraries (technically MH_DYLIB on OS X), but
>> they do not follow the same naming scheme, so they're not going to
>> get picked up by a typical dumb configure-search.
>>
>> If you wanted, you could make something look like the appropriate  
>> dylib:
>>
>> % sudo ln -s ../Python /Library/Frameworks/Python.framework/Versions/
>> Current/lib/libpython2.4.dylib
>>
>> Then you'd add Python's lib and include dir to that path.
>
> The person who is maintaining RSPython clearly didn't have full
> cross-platform capability in mind; there were one or two other
> things we had to fix via "ln -s" to get it to go as far as it did.

I'd probably lobby to get them to fix the build process rather than  
maintain platform hack after platform hack.

> Here I'm not quite clear on what you are suggesting---I'm not
> clear on where I should be when I "ln -s ../Python ..."  Somewhere
> there is something called just "Python" that can be linked to
> as if it were a .dylib?

Relative symlinks are relative to the target.  It doesn't matter  
where you do it from, so long as the target is right.  The target I  
gave you is correct.  There is a MH_DYLIB at /Library/Frameworks/ 
Python.framework/Versions/Current/Python, which is the parent dir of  
the above symlink target.

-bob

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to