×

Notice

The forum is in read only mode.

Installing Salome5.1.1 binaries in CAELinux2009 (Ubuntu 8.04 64bit)

More
15 years 8 months ago #3261 by JMB
Hello All,

Here are the steps to installing Salome 5.1.1 binaries in a CAELinux2009 PC (which is based on Ubuntu Hardy 8.04 64bit). I have installed and ascertained that basic functionality is there.

[code:1]
# To install Salome 5.1.1 on CAELinux2009 Ubuntu 8.04 64Bit (with all the latest updates installed)

# Some pre-requisites and fixes for installation/run problems...

# Fix for "sh: Syntax error: Bad fd number" during installation
# or cannot write to /tmp sub-directory error...
sudo mv /bin/sh /bin/sh.saved
sudo ln /bin/bash /bin/sh

# Fix for libg2c.so.0; libgfortran.so.0 not found during installation
# Fix libcppunit-1.12.so.0 not found during installation
sudo aptitude install libgfortran2 libqscintilla7 libcppunit-1.12-0 libg2c0 libg2c0-dev

# Install Salome 5.1.1
mkdir /home/caelinux/salome_5.1.1
[/code:1]

Download Salome 5.1.1 for Debian Edgy 64bit from the Salome website to your favorite sub-directory and remember to use that path prior to the gunzip command shown below:

[code:1]
cd /home/.../Download
gunzip InstallWizard_5.1.1_Debian_4.0_64bit.tar.gz | tar -xvf -
cd InstallWizard_5.1.1_Debian_4.0_64bit
./runInstall
# Pick the Debian (Edgy) 64 install
# Follow GUI for install binaries

# Fix for: /usr/lib/libgfortran.so.1 not found during meshing Netgen-1D-2D-3D algorithm
sudo ln -s /usr/lib/libgfortran.so.2 /usr/lib/libgfortran.so.1
# Fix for: /usr/lib/libqscintilla.so.6 not found
sudo ln -s /usr/lib/libqscintilla.so.7 /usr/lib/libqscintilla.so.6
# Fix for: jpeg2yuv not found during screen video recording
sudo aptitude install mjpegtools

# Fix for Salome Help not working
sudo ln -s /usr/bin/firefox-3.0 /usr/bin/mozilla
sudo ln -s /usr/bin/firefox /usr/bin/mozilla

cd ~/salome_appli_5.1.1
source env.d/salome.sh
runSalome # This works!
[/code:1]

Don't try ./runAppli since it will error out with:
[code:1]
#
# Configure parser: Warning : could not find user configuration file
# runSalome running on
# Configure parser: Warning : could not find user configuration file
# Searching for a free port for naming service: 2810 2811 2812 2813 2814 2815 2816 2817 - OK
# Traceback (most recent call last):
# File "/home/caelinux/salome_5.1.1/KERNEL_5.1.1/bin/salome/runSalome.py", line 878, in ?
# clt,args = main()
# File "/home/caelinux/salome_5.1.1/KERNEL_5.1.1/bin/salome/runSalome.py", line 868, in main
# searchFreePort(args, save_config)
# File "/home/caelinux/salome_5.1.1/KERNEL_5.1.1/bin/salome/runSalome.py", line 803, in searchFreePort
# f = open(omniorb_config, "w"«»)
# IOError: [Errno 2] No such file or directory: '/home/user/salome_appli_5.1.1/USERS/.omniORB_user_PC-MST07_2817.cfg'"
[/code:1]

To have higher resolutions with a suitable graphics card and a capable display install the EnvyNG package and choose the latest drivers for nVidia/ATI.

Enjoy,
JMB<br /><br />Post edited by: JMB, at: 2009/07/15 01:29
Moderators: catux
Time to create page: 0.112 seconds
Powered by Kunena Forum