New Reply

Installing Modnum with Scicoslab

 
Share Thread
Apr18-11, 09:52 AM   #1
 

Installing Modnum with Scicoslab


I am having problems installing Modnum for use with Scicoslab.

I am using Ubuntu 10.4 LTS 64 bit for AMD processor.

First I tried Scicoslab 4.4.1 (scicoslab-gtk_4.4.1-1_amd64.maverick.deb) and Modnum 4.2.2. When I run Scicoslab, it complains that Modnum was compiled with Scicoslab 4.4 beta 7.

So, I remove 4.4.1 and install 4.4 beta 7. Now I get this message when I launch scicoslab:

Startup execution:
loading initial environment
... Search Scilab version ...
Version of ScicosLab is : 4.4b7
Version of Scicos is : scicos4.4
/home/skippy/modnum_422//interf/scicoslab/../../src/libmodnum_lib.so: wrong ELF class: ELFCLASS32
"/../../src/libmodnum_lib.so")
!--error 236
link: the shared archive was not loaded
at line 55 of exec file called by :
exec(MODNUM+"/interf/scicoslab/loader.sce");
at line 16 of exec file called by :
exec(startup,-1);mclose(startup)
at line 272 of exec file called by :
exec('SCI/scilab.star',-1);;quit

So I try "./configure --with-scisrc=/usr/lib64/scicoslab-gtk-4.4b7" followed by "make all" gives pages of error messages.

Can you suggest which version of Scicoslab and which version of Modnum will be compatible?

Any help or suggestions would be greatly appreciated.

Skippy

PS There is a installation support email address on the Modnum download page but it is dead.
PhysOrg.com science news on PhysOrg.com

>> City-life changes blackbird personalities, study shows
>> Origins of 'The Hoff' crab revealed (w/ Video)
>> Older males make better fathers: Mature male beetles work harder, care less about female infidelity
Apr21-11, 03:03 PM   #2
 
Hi Skippy,

I just installed Modnum to Scicoslab 4.4.1 under Debian 'squeeze' this afternoon. here's what I did:

- Tried to run the binary of Modnum 4.2.2 and got the same complaint as you did.
- Downloaded the source package instead and ran "exec ('builder.sce');)
- I had to install a few packages (and recursive dependencies) over and above what I already had (your mileage may vary): libgtk2.0-dev libvte-dev libwebkit-dev

It doesn't install to the scicoslab directories, but everything compiles and works beautifully. Give it a go.

Cheers,
The Plumber
Apr21-11, 03:39 PM   #3
 
More's the point:

Installing modnum into the scicoslab directories so that it loads automatically is done thus:

- Copy the modnum directory tree, as built using the instructions above, into (in my case): /usr/lib/scicoslab-gtk-4.4.1/contrib/
(you end up with the directory /usr/lib/scicoslab-gtk-4.4.1/contrib/modnum, for example)
- Edit /usr/lib/scicoslab-gtk-4.4.1/contrib/loader.sce to add:
exec(SCI+'/contrib/modnum/loader.sce');

Now scicoslab/scicos loads your shiny new modnum blocks, palettes, help, etc.

Cheers,
Pb
Apr21-11, 08:21 PM   #4
 

Installing Modnum with Scicoslab


Many thanks Plumber
New Reply

Similar discussions for: Installing Modnum with Scicoslab
Thread Forum Replies
Installing CompHEP on Mac OS X 10.5 Math & Science Software 1
installing new HD Computers 6
Installing Windows on a new HDD Computers 3
Installing more RAM than.... Computing & Technology 10