From: Heinz N. <hei...@ma...> - 2008-03-20 22:15:31
|
Begin forwarded message: > From: Martin Costabel <cos...@wa...> > Date: March 20, 2008 7:38:21 PM GMT+01:00 > To: Heinz Nabielek <hei...@ma...> > Cc: fin...@li... > Subject: Re: [Fink-beginners] I have gfortran but scilab still > complains > > 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 iMacDuo:~ heinz$ fink list -i scilab Information about 6517 packages read in 1 seconds. i scilab 4.1.2-1003 Software package for numerical computations .. so it is a fink compiled SciLab version which has Scilab 4.1.2 in the top strip (and I added "on an Intel Mac" manually). And I start it with /sw/bin/scilab & in an X-window. Ha: when I do export PATH=$PATH:/sw/bin and start with scilab & everything works perfect. How do I make my export PATH=$PATH:/sw/bin permanent? Best Heinz Best Heinz |