Module installation (was: Building scilab-master-1286272063 on Fedora 13)

Dean S. Messing deanm at sharplabs.com
Mon Oct 18 07:12:47 CEST 2010


On Thu, 14 Oct 2010 23:23:22 +0200, Calixte Denizet wrote:
>  Le jeudi 14 octobre 2010 à 14:20 -0700, Dean S. Messing a écrit
> > I get errors in the Scilab Console like this:
> > 
> > Startup execution:
> >   loading initial environment
> > load('SCI/modules/elementary_functions/macros/lib');
> >                                                     !--error 241 
> > File "/usr/local/share/scilab//modules/elementary_functions/macros/lib" does not exist.
> > at line      12 of exec file called by :    
> >   exec("SCI/modules/"+modules(i)+"/etc/"+modules(i)+".start",-1);
> > at line      96 of exec file called by :    
> > exec('SCI/etc/scilab.start',-1);;
> >  
> > 
> > The problem is that none of the .bin files or "lib" or "names" from the
> > modules/*/macros subdirectories got installed in
> > /usr/local/share/scilab/modules/*/macros
<snip>
>
> Try 'make macros' in your SCI dir.

Thanks very much Calixte.

This is an embarrassing question: What is my SCI dir?  Under scilab-4.x
there was a scilab-4.x directory under /usr/local/lib which contained
everything that was the result of the build.

But under 5.3.0 things are spread out. Anyway, modules are in
/usr/local/share/scilab/modules, but there's no Makefile in there.

So in the source (build) directory,
/usr/local/src/scilab-master-1286272063/modules, I did `make install'
and the .bin, lib, and, names file got installed in
/usr/local/share/scilab/modules.

They had already been built during the build, but for some reason they
didn't get installed when I did `make install' in
/usr/local/src/scilab-master-1286272063

On another machine on which I did _exactly_ the name build procedure,
all the module binaries got installed correctly.  Is this is a bug?

Dean




More information about the dev mailing list