Personal tools
You are here: Home Forum Install & build Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Up to Install & build

Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by Carlos Baptista at August 06. 2012

Dear all,

I have tried to install SALOME (InstallWizard_6.5.0_Debian_6.0_64bit.tar.gz) on Kubuntu 12.04 64 bit. But I did not succeed unfortunately. I am hoping that someone might point out what I am doing wrong or what I can adjust to make SALOME work. I will now explain what I already have done and which errors I came across along the way.

 

First I extracted the tarball then I cd to th extracted directory and issued:

sudo ./runInstall -g -d /opt/salome_650

In the wizard I selected:

- Installation type: Install binaries

- Installation platform: Debian 6.0 64 bit

- Installation directory: /opt/salome_650

- Choice of products: everything

After the installation completed I got a warning that several packages were missing:

RECOMMENDED: libicuuc.so.44, libicui18n.so.44, libicudata.so.44

OPTIONAL: libcppunit-1.12.so.1

Afterwards I ran the post-install script to set the environment variables and tried to run Salome by:

cd /opt/salome_650/KERNEL_6.5.0/

source salome.sh

cd bin/salome

runSalome

I got the following errors:

Traceback (most recent call last):

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/envSalome.py", line 27, in <module>

    import setenv

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/setenv.py", line 26, in <module>

    import orbmodule

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/orbmodule.py", line 31, in <module>

    from omniORB import CORBA

ImportError: No module named omniORB

Then I tried to source by .bashrc and run Salome again by

source ~/.bashrc

runSalome

But then I end up with some other errors:

Traceback (most recent call last):

  File "/opt/salome_650/Sphinx-1.1.3/lib/python2.6/site-packages/site.py", line 73, in <module>

    __boot()

  File "/opt/salome_650/Sphinx-1.1.3/lib/python2.6/site-packages/site.py", line 38, in __boot

    raise ImportError("Couldn't find the real 'site' module")

ImportError: Couldn't find the real 'site' module

 

If any additional information is needed to aid with this problem, please feel free to ask.

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by Chrys Lides at August 06. 2012

Hello,

You can try to source env_products.sh instead:

cd /opt/salome_650

source env_products.sh

runSalome

If it still does not work, please post the result of "echo $PATH" after the source command.

Chrys

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by Carlos Baptista at August 07. 2012

Dear Chrys,

Thank you for your reply. Before reading your post I installed the missing packages and reinstalled Salome. That worked out fine. It is up and running now. However the thing is that I need to source the shell script each and every time I boot my system. So to avoid the manual labour I put:

source /opt/salome_650/env_products.sh

into my .bashrc. However to my disliking, the sourcing takes quit a bit of time. Hence my terminal start-up takes quite long, which is quite annoying. Is there a way to source only once and to make the results of the sourcing permanent?

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by Chrys Lides at August 07. 2012

It's not a good idea to put the source products in .bashrc, since all your applications will be started within the Salome environment, which may contain different versions of the libraries needed by your other applications.

 

To avoid this you can create a file named salome with these lines:

 

#!/bin/bash

DIR=/opt/salome_650

source $DIR/env_products.sh

runSalome $*

 

Then make this file executable:

chmod +x salome

 

Chrys

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by Larabi Hakim at October 18. 2012

Dear Help :)

I have installed SALOME (InstallWizard_6.5.0_Debian_6.0_32bit.tar.gz) successfully on my Ubuntu 12.04 LTS using command line :

sudo ./runInstall -g -d /opt/salome_650

Trying to run it  with :    ~/salome_appli_6.5.00]$ runAppli ,        and I got  some errors :

*********************************************************************************

:~/salome_appli_6.5.00]$ ./runAppli 

runSalome running on lh-cq61

 

Searching for a free port for naming service: 2810 - OK

Traceback (most recent call last):

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/runSalome.py", line 1020, in <module>

    clt,args = main()

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/runSalome.py", line 946, in main

    searchFreePort(args, save_config)

  File "/opt/salome_650/KERNEL_6.5.0/bin/salome/runSalome.py", line 876, in searchFreePort

    f = open(omniorb_config, "w")

IOError: [Errno 13] Permission denied: '/home/lh/salome_appli_6.5.00/USERS/.omniORB_lh_lh-cq61_2810.cfg'

 

The same message error gotten when I added this line :

alias runSalome='/home/lh/salome_appli_6.5.00/.runAppli'

at .bashrc configuration file.

Before installing Salome 6.5.0 in /opt it was installed in /home/ & with an alias at   .bashrc configuration file. it was running correctly with now problem.....

Some one can show me the way to finish building my project with Salome. 

 

PS: When I excut : sudo ./runAppli .....Salome is launching.


Thanks!

 

Sorry for messages, connexion problem !

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by mohammad fereshtehpour at October 24. 2012

Dear Chrys Lides

I also had this problem and could overcome this by your point.  Now I have a question what is the difference between the instruction salome told by your instruction. In readme file :

" To set SALOME environment just type in the terminal window:

               cd <KERNEL_ROOT_DIR>
               source salome.sh
          or
               cd <KERNEL_ROOT_DIR>
               source salome.csh

          where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.
          KERNEL_6.5.0 for the 6.5.0 version."

 

Special thanks

Re: Installation and running errors with SALOME 6.5.0 Debian 6.0 Squeeze 64 bit

Posted by mohammad fereshtehpour at October 24. 2012

Dear Chrys Lides

I also had this problem and could overcome this by your point.  Now I have a question what is the difference between the instruction salome told by your instruction. In readme file :

" To set SALOME environment just type in the terminal window:

               cd <KERNEL_ROOT_DIR>
               source salome.sh
          or
               cd <KERNEL_ROOT_DIR>
               source salome.csh

          where <KERNEL_ROOT_DIR> is KERNEL binaries directory, e.g.
          KERNEL_6.5.0 for the 6.5.0 version."

 

Special thanks

Powered by Ploneboard
Document Actions