Scilab (debian package)

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
seany
White ninja
White ninja
Posts: 4
Joined: 04 Apr 2013, 11:00
Distribution: Chakra, Porteus
Location: Germany

Scilab (debian package)

Post#1 by seany » 04 Apr 2013, 11:21

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.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4623
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Scilab (debian package)

Post#2 by fanthom » 04 Apr 2013, 12:06

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.
Please add [Solved] to your thread title if the solution was found.

seany
White ninja
White ninja
Posts: 4
Joined: 04 Apr 2013, 11:00
Distribution: Chakra, Porteus
Location: Germany

Re: Scilab (debian package)

Post#3 by seany » 04 Apr 2013, 12:07

many thanks, i will test i this afternoon. need a nap now..

User avatar
fanthom
Site Admin
Site Admin
Posts: 4623
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Scilab (debian package)

Post#4 by fanthom » 04 Apr 2013, 13:33

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).
Please add [Solved] to your thread title if the solution was found.

seany
White ninja
White ninja
Posts: 4
Joined: 04 Apr 2013, 11:00
Distribution: Chakra, Porteus
Location: Germany

Re: Scilab (debian package)

Post#5 by seany » 06 Apr 2013, 07:26

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.

Post Reply