> Message: 2
> Date: Fri, 23 Dec 2005 13:11:05 -0500
> From: Daniel Macks <[EMAIL PROTECTED]>
> To: fink-devel@lists.sourceforge.net
> Subject: Re: [Fink-devel] Re: what is fink policy on system python?
>
> On Fri, Dec 23, 2005 at 12:27:25PM -0500, Jack Howarth wrote:
> > Daniel,
> >     I figured out last night that passing configure 
> > 'py_path=/usr/bin/python'
> > seems allow the system python to be properly located even if the fink
> > python package is installed. I'll take a look at some of the other fink
> > packages still using python as a depends to try to identify which ones
> > are compiling. As for python variants, I created them for pymol and
> > sparky because I had lots of complaints about being forced to install
> > a specific python version to run them.
>
> Sounds good to me! Thanks for finding and working on this problem.
>
> dan
>

In cases where that doesn't work, PATH=/usr/bin:$PATH will permit this.
I've fixed apbs and pdb2pqr along these lines.

The fix, however, is not perfect.  As long as there is only ONE system
python, I think it is ok.  But if for example you build your own
Python.framework in /Library/Frameworks, as I did for Python2.4.2, even
if you specify py_path as /usr/bin/python2.3 (the 10.3 and 10.4 system
default version), if linking against the Framework, it will go for the
latest version framework.  I have been unable to figure out how to
coerce it to build against what is in
/System/Library/Frameworks/Python.framework
instead of the one I put into /Library/Frameworks.  (I've also similarly
been unable to figure out how to build pdb2pqr against the conventional
python libraries in fink, which is probably a safer and more kosher way
to do this.)

In short, it isn't the ideal fix.

Bill




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to