Heinz Nabielek wrote:
> I have
> 
> /sw/bin/gfortran
> /sw/lib/gcc4.3/bin/gfortran
[]

> Scilab 4.1.2 on an Intel Mac

What scilab is this? This greeting message does not sound like it comes 
from a scilab installed by a Fink package. Or did you write it?


> -->exec('SCI/demos/alldems.dem');
> Warning :redefining function: cd
> 
>     generate a loader file
>     generate a Makefile: Makelib
>     running the makefile
>     compilation of npend
>     make: gfortran: Command not found

Looks like a PATH problem.
How to solve it depends on what scilab you are using and how you are 
starting it.
If you are not starting it from the command line but by double-clicking 
on some icon, you could try to edit the wrapper script that is started 
in reality and put /sw/bin/ on the PATH variable that is defined there.
If you start it from an X11 drop-down menu, the solution depends on 
which of the 25 or so different versions of X11 that are currently 
circulating you have installed.

Just for the record: With Fink's scilab-4.1.2-1003, started from a 
Terminal.app window, this demo works for me (MacOSX 10.5.2 on Intel). I 
was surprised to see that it does on-the-fly compilation, but it works.

-- 
Martin




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to