William G. Scott wrote:
> 
> On Sep 7, 2009, at 5:23 AM, Martin Costabel wrote:
> 
>> Somehow one needs to place that path-prefix back in front of the PATH,
>> but since this is distribution and architecture dependent, to do so  
>> can
>> become quite a mess.
> 
> Hi Martin:
> 
> I am working on pdb2pqr, an apbs dependency that uses gfortran, gcc,  
> and g++
> 
> It is currently broken on 23-bit 10.6 but works fine on the other  
> platforms.
> 
> If the first three lines are
> 
> #!/bin/zsh -f
> source %p/bin/init.sh
> PATH=%p/bin:%p/sbin:${PATH} ; export PATH
> 
> this appears to put everything right, at least in my experiment.

But on 10.6 "gcc" then would still be "/usr/bin/gcc" (which produces 
64bit binaries) and not "/usr/bin/gcc -arch i386" as it should. Hard to 
see how this can work.

> Because of zsh's path anti-metastasis feature, I HAD to do this  

Are you saying that with zsh, /sw/bin/init.sh does not place Fink's 
paths in front of PATH?

-- 
Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to