Contrib:KeesWouters/installproblems

From CAELinuxWiki
Revision as of 10:43, 13 January 2010 by Keeswouters (Talk | contribs) ('''Salome5.1.3 on Ubuntu Karmic (december 2009)''')

Jump to: navigation, search

Installation & problems

with Salome, Code Aster, ASTK, OS (Ubuntu).

Currently I use Ubuntu Karmic 64bit, 9.10.

[continuously under construction]

Salome5.1.3 on Ubuntu Karmic (december 2009)

Salome5.1.3 works straight out of the box.

Create directories

/cae/salome513
/cae/salome513/install
/cae/salome513/salome513

Download Salome5.1.3 from here and save in /cae/salome513/install.
cd /cae/salome513/install
extract downloaded file
cd /cae/salome513/install/InstallWizard_5.1.3_Debian_4.0_64bit
run <python ./runInstall -d /cae/salome513/salome513> and follow instructions
At the end notice the remarks on libBLsurf.so and libcppunit-1.12.so.0 not present and finish.
create text file with content:

#! /bin/bash
# start salome5.1.3
# echo start salome
cd /cae/salome513/salome513/KERNEL_5.1.3
source salome.sh
cd bin/salome
./runSalome

save (as S513karmic.sh on DeskTop)
[donot forgot to allow execution by Properties, Permisisons]
double click (on S513karmic.sh) --> Salome5.1.3 running

See also:
http://code-saturne.blogspot.com/
http://code-saturne.blogspot.com/2009/07/installation-of-salome-414-on-ubuntu.html

SalomeMeca2009 on Ubuntu Karmic

After installation of Ubuntu9.10 Karmic 64bit some problems with 32/64 bit libraries occur.

Problems with 64bit versions of libstc++ and libstdc++

libstdc++ and libstdc++.so.5

I followed the suggestion by Artificial Intelligence, saying that:
So you need to install the 32-bit version of libstdc++5 on your 64-bit system.
cd ~/Desktop
wget http://frozenfox.freehostia.com/cappy/getlibs-all.deb
wget http://nl.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
sudo dpkg -i getlibs-all.deb
getlibs -i libstdc++5_3.3.6-17ubuntu1_i386.deb
See eg: on http://ubuntuforums.org/showthread.php?t=1243005&highlight=%26quot%3Blibstdc+.so.5%26quot%3B

libg2c file missing

Add at the end of the file /etc/apt/sources.list:
deb http://nl.archive.ubuntu.com/ubuntu hardy-updates main universe
Update the synaptic package manager and search for libg2c. Then add:
- libg2c0
- libg2c0-dev
Removed the last line in the /etc/apt/sources.list
See eg: http://caelinux.com/CMS/index.php?option=com_joomlaboard&Itemid=52&func=view&id=3603&catid=3#msg3603