Installing Modnum with Scicoslab

  • Thread starter Thread starter skippy1729
  • Start date Start date
AI Thread Summary
The discussion revolves around installation issues of Modnum with Scicoslab on Ubuntu 10.4 LTS. The user initially faced compatibility problems with Scicoslab versions, receiving errors related to the ELF class and shared libraries. Another user successfully installed Modnum with Scicoslab 4.4.1 by downloading the source package and resolving additional dependencies. They shared steps to ensure Modnum loads automatically by copying the directory tree into the Scicoslab contrib folder and editing the loader script. Overall, the thread highlights the importance of version compatibility and proper installation procedures for successful integration.
skippy1729
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.
 
Physics news on Phys.org
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
 
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
 
Many thanks Plumber
 

Similar threads

Back
Top