List Info

Thread: I have gfortran but scilab still complains




I have gfortran but scilab still complains
country flaguser name
Germany
2008-03-20 12:45:44
I have

/sw/bin/gfortran
/sw/lib/gcc4.3/bin/gfortran

but the n-pendulum demonstration package in scilab still
complains

>>    make: gfortran: Command not found

Why is that? In fink, everything is of the newest unstable
version.

Help is greatly appreciated....

Best greetings

Heinz
_________________________
Scilab 4.1.2 on an Intel Mac
                   Copyright (c) 1989-2007
               Consortium Scilab (INRIA, ENPC)
         -------------------------------------------
Startup execution:
   loading initial environment

-->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
    make: *** [npend.o] Error 127
  !--error 10000
unix_s: error during ``make -f Makelib npend.o'' execution
at line      56 of function unix_s called by :
line    25 of function ilib_compile called by :
line    29 of function ilib_for_link called by :
line    15 of function npend_build_and_load called by :
line     5 of function demo_pendulum called by :
demo_pendulum()
line    13 of exec file called by :

line     0 of function demoex called by :
      demoex(num)
line    17 of exec file called by :

line     0 of function demoex called by :
      demoex(num)
line    15 of exec file called by :
exec('SCI/demos/alldems.dem');





------------------------------------------------------------
-------------
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
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

Re: I have gfortran but scilab still complains
country flaguser name
France
2008-03-20 13:38:21
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
Fink-beginnerslists.sourceforge.net
h
ttp://news.gmane.org/gmane.os.apple.fink.beginners

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )