On Mon, Aug 31, 2009 at 09:42:21AM +0200, Martin Costabel wrote:
> After spending time trying to build apbs in SnowLeopard 32-bit Fink, I 
> have identified a source of breakage, but I have not yet found a good 
> solution:
> 
> CompileScripts that run in zsh, like apbs which has
> #!/bin/zsh -efv
> have a good chance to break on 32-bit Fink on SL. The reason is the 
> following:
> 
> SL has /etc/zshenv, which didn't exist before. This script is always 
> executed at startup of zsh, and according to man zsh, this behavior 
> cannot be overridden. Now /etc/zshenv runs /usr/libexec/path_helper, and 
> this places the system path /usr/bin in front of Fink's path.

Does putting ". %p/bin/init.sh" (or whatever the zsh-syntax is) at the
beginning of the script body solve it?

dan

-- 
Daniel Macks
[email protected]
http://www.netspace.org/~dmacks


------------------------------------------------------------------------------
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
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to