Page 1 of 1

Scilab (debian package)

Posted: 04 Apr 2013, 11:21
by seany
Hello, I started using Porteus today.

However, I need the package scilab, so i downloaded it from debian repos (5.4.1 version, not the nightly build, which has a ~git token in its name, and then tried that too) , and made a module of it, and activated it.
now the whereis command finds the scilab executable in /usr/bin

however, the usual directory structure for scilab is : scilab-version>bin. in this bin, there is a launcher (the scilab executable) and the scilab engine (scilab-bin is the name). However, the scilab-bin seems to be missing after activating the module.


since i am totally new, i wonder how to deal with this issue (i thought of changing environment variables, probably a stupid idea, probably it has got nothing to do with environemnt vars, but i dont even know which variable i should change in this case to what). a find command does not seem to find the scilab-bin executable.

could anyone help me, please?

ps: please elt me know if more info is needed. also please forgive me if this is the wrong place to ask this question.

Re: Scilab (debian package)

Posted: 04 Apr 2013, 12:06
by fanthom
moving this thread to 'Newbies questions' as we supposed to post 'ready to go' modules in 'x86_64 xzm modules'.

instead of grabbing this package from Debian, please create it through PPM->Slackbuilds.
mind that 'jdk' (did not try 'jre' but should be also ok) is required to launch this application.
you can get it from Alien repo.

Re: Scilab (debian package)

Posted: 04 Apr 2013, 12:07
by seany
many thanks, i will test i this afternoon. need a nap now..

Re: Scilab (debian package)

Posted: 04 Apr 2013, 13:33
by fanthom
allright - it's not that easy as one may think.

scilab is 32bit package and requires compat32 module to be run in 64bit environment, please download and activate from here:
http://ponce.cc/porteus/x86_64/current/extras/

that did not resolve all missing libs and i had to add extra 2 paths to /etc/ld.so.conf:

Code: Select all

/opt/scilab/lib/scilab
/opt/scilab/lib/thirdparty
and run 'ldconfig' (as root) to reload shared libs database.

java was still missing so i had to download 32bit java package (and not 64bit) from here:
http://www.slackware.com/~alien/slackbu ... 1alien.txz
please convert to xzm and activate.

after installation 'libjava.so' was still not seen and for some reason adding:

Code: Select all

/usr/lib/java/jre/lib/i386
to /etc/ld.so.conf did not help so i ended up with creating symlinks manually:

Code: Select all

cd /usr/lib
ln -s /usr/lib/java/jre/lib/i386/libjava.so libjava.so
ln -s /usr/lib/java/jre//lib/i386/libverify.so libverify.so
finally i was able to launch scilab successfully:
http://oi46.tinypic.com/2usv6mg.jpg

please give this instruction a shot (and i will understand if you give up as i was close myself).

Re: Scilab (debian package)

Posted: 06 Apr 2013, 07:26
by seany
Hello..

Scilab also comes with a 64 bit version. I run scilab in Chakra (www.chakra-linux.org) in 64 bit, with openJDK, not JRE - but for that i down load scilab from scilab.org, and just extract it, and it works.

I will try the steps you mentioned later today, yesterday i was sick, and today have some work to do first.