[Scilab-Dev] Beginner in Scilab

Sylvestre Ledru sylvestre.ledru at inria.fr
Sat Apr 11 01:28:12 CEST 2009


Le vendredi 10 avril 2009 à 19:18 -0300, Guilherme Kunigami a écrit :
> Hi,
> 
> Sorry if I'm being inconvenient, but I'm really stuck. 
Don't worry. We all have been beginners with Scilab ... and we are here
to help!

> I tried some other things:
> 
> I included in my $LD_LIBRARY_PATH the directories for libjava.so,
> libverify.so and libhpi.so.
It was just a warning. No big deal!

>  The error I get now is:
> 
> http://pastebin.com/f1f57518f
> 
> I'm not sure why the system is searching for the file in:
> 
> > /usr/local/lib/scilab/libscilinear_algebra.so
> 
> since it should be looked for in:
> 
> > /home/kunigami/development/scilab/scilab/modules/linear_algebra/.libs/libscilinear_algebra.so
Indeed.

> Should I uninstall my installed copy of scilab to use the development
> version?
Yep, please try this solution.
However, that is a bug. The build system should try to load first the
current source tree and not /usr/local/
I reported it here:
http://bugzilla.scilab.org/show_bug.cgi?id=4382

Sylvestre


> Thanks,
> 
> On Fri, Apr 10, 2009 at 3:22 PM, Guilherme Kunigami
> <kunigami at gmail.com> wrote:
>         Hi again,
>         
>         I think I got the latest version using GIT, but this time I'm
>         not being able to compile it. When I run 'make' I get some
>         dependence errors. I think the relevant messages are these:
>         
>         http://pastebin.com/f4a117ca3
>         
>         It seems I'm missing libjava.so, libverify.so, libjvm.so and
>         libhpi.so at /usr/bin/ld. 
>         
>         Executing a 'locate libjava.so' it show that I have this file
>         at the following locations:
>         
>         /home/kunigami/downloads/scilab-5.1/java/jdk1.6.0_11/jre/lib/i386/libjava.so
>         /home/kunigami/downloads/scilab-5.1/java/jre1.6.0_11/lib/i386/libjava.so
>         /usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/i386/libjava.so
>         
>         The first two locations refer to a package I downloaded from
>         Scilab page because of dependencies (but I haven't used those
>         yet). I thought that setting the third location at
>         $LD_LIBRARY_PATH would solve the problem, but that still give
>         me some errors.
>         
>         I'm able to compile the stable version perfectly, but not the
>         git version. Any clues?
>         
>         Thank you again,
>         
>         
>         
>         On Fri, Apr 10, 2009 at 11:50 AM, Sylvestre Ledru
>         <sylvestre.ledru at scilab.org> wrote:
>                 Hello Guilherme,
>                 
>                 Le vendredi 10 avril 2009 à 11:44 -0300, Guilherme
>                 Kunigami a écrit :
>                 > Hi all,
>                 >
>                 > I'd like to start developing something for Scilab,
>                 but I'm not quite
>                 > sure from where to start.
>                 
>                 Cool!
>                 
>                 > I've downloaded the source code (I think this is not
>                 the latest
>                 > version though) and took a look at some source code
>                 from modules (e.g.
>                 > gui module). But I still don't know much about the
>                 architecture of
>                 > Scilab or how it works.
>                 
>                 We are using git to manage the source. If you clone
>                 the current git, you
>                 will get the future version 5.2 of Scilab. You can
>                 also checkout the
>                 branch 5.1 to get the future version 5.1.1.
>                 
>                 > Documents I've tried to read:
>                 >
>                 >
>                 http://www.scilab.org/developers/doxygen_scilab/index.html
>                 
>                 Well, don't start with that. It is hard to start
>                 understanding a
>                 software with the whole documentation.
>                 
>                 > http://wiki.scilab.org/Developers
>                 >
>                 > I also tried to look for some bugs. This one seems
>                 quite simple to
>                 > fix:
>                 >
>                 > http://bugzilla.scilab.org/show_bug.cgi?id=3264
>                 >
>                 > but I'm not sure on how to proceed.
>                 
>                 Indeed, this one is easy.
>                 You just have to find out where these strings are in
>                 the code (grep is
>                 your friend) and to remplace them by better.
>                 
>                 After that, if you want to get familiar with Scilab,
>                 you need to have an
>                 objective in Scilab. It is a huge software with many
>                 different
>                 aspects... Just focus on some parts.
>                 
>                 Don't hesitate if you have any other
>                 questions/remarks...
>                 
>                 Sylvestre
>                 
>                 
>         
>         
>         
>         
>         -- 
>         Guilherme Kunigami
> 
> 
> 
> -- 
> Guilherme Kunigami




More information about the dev mailing list