Installing Modnum with Scicoslab

  • Thread starter Thread starter skippy1729
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the installation of Modnum for use with Scicoslab, specifically focusing on compatibility issues between different versions of the software on Ubuntu 10.4 LTS. Participants share their experiences and solutions regarding installation problems and errors encountered during the process.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • Skippy reports issues with Modnum 4.2.2 not being compatible with Scicoslab 4.4.1, receiving an error about the version mismatch with Scicoslab 4.4 beta 7.
  • Skippy attempts to resolve the issue by switching to Scicoslab 4.4 beta 7 but encounters a different error related to the architecture of the shared library.
  • Skippy seeks recommendations for compatible versions of Scicoslab and Modnum.
  • The Plumber shares a successful installation experience with Modnum on Scicoslab 4.4.1 under Debian, suggesting the use of the source package and additional package installations.
  • Pb provides further instructions on how to install Modnum into the Scicoslab directories for automatic loading, detailing the steps to copy the directory and edit the loader script.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the best versions of Scicoslab and Modnum to use, as Skippy's experience contrasts with The Plumber's successful installation on a different operating system. The discussion remains unresolved regarding the compatibility of specific versions.

Contextual Notes

Participants mention various installation errors and dependencies, indicating that the installation process may depend on specific system configurations and additional packages that may not be universally applicable.

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

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 9 ·
Replies
9
Views
8K
Replies
2
Views
6K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
37K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 13 ·
Replies
13
Views
4K