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

From: <wlavrijsen_at_lbl.gov>
Date: Wed, 14 Sep 2011 10:54:24 -0700


Chris,

> What I can say... works for me (I'm currently using 2.7 on Lion, but
> those worked fine for me on SL).

yes, but most likely b/c it will consider a different directory other than the one you gave it.

> Did you run
>
>> sudo port select python python26
>
> to pick your default python version ?

No, I didn't. Not a MacPorts export here ...

> I still maintain my basic argument that it is not ideal for root to just
> assume 'python' found via the PATH is always the right binary to use.

Well, the main thing for me is to minimize the amount of questions I get about "I tried to install, but ... " especially now that PyROOT is no longer supported and the python actually in PATH is the python of least surprise for most people. Nothing to do with logic or being right. :) Beyond that, the paths that I sent (where Python is located rather than the .dylib in config) work for systems installs, so I think the whole option set is complete as is.

Only confusing part is perhaps that if the provided path does not work, configure falls back to other pre-defined paths. But again, I think that that is less surprising for novice users (and hence fewer support requests).

Best regards,

            Wim

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

This archive was generated by hypermail 2.2.0 : Wed Sep 14 2011 - 23:50:01 CEST