Personal tools
You are here: Home Forum Install & build Errors on installing SALOME-MECA 2010.2

Errors on installing SALOME-MECA 2010.2

Up to Install & build

Errors on installing SALOME-MECA 2010.2

Posted by Russell Hwang at August 28. 2012

I tried to install SALOME-MECA 2010.2(32bit) on Ubuntu 12.04(32bit) as below but failed.

 

I extract file to "/usr/local" directory

tar xzf SALOME-MECA-2010.2-LGPL-i386.tgz


and then I carried out postinstall.py

/usr/local/SALOME-MECA-2010.2-LGPL-i386/postinstall$ python postinstall.py


Looking for terminal command... /usr/bin/xterm -sb -si -geometry 90x32                [ OK ]
Looking for editor command ... /usr/bin/nedit                                         [ OK ]
/usr/local/SALOME-MECA-2010.2-LGPL-i386/SALOME/SALOME5/Prerequis/etchForSalome
Writing flag file...                                                                  [FAILED]
Exit code : 1

Failure occurs on Writing flag file.

 

If I command "runSalomeMeca", the message "run 'python postinstall.py'" appears.
/usr/local/SALOME-MECA-2010.2-LGPL-i386$ ./runSalomeMeca


Please run :
cd /usr/local/SALOME-MECA-2010.2-LGPL-i386/postinstall ; python postinstall.py
Then run :
/usr/local/SALOME-MECA-2010.2-LGPL-i386/runSalomeMeca
 

How can I fix this problem??

Thanks in advance.

Re: Errors on installing SALOME-MECA 2010.2

Posted by jeanpierreaubry at August 29. 2012

hello

 

first i strongly advise not to do the install in /usr

 

if you are a beginner and are planning to use it on a stand alone machine

install in $HOME/salomemeca

this simplifies many permissions problems which you seem to encounter

 

at the end of the process

postinstall.py

then 

runSalomeMeca

 

jean pierre aubry

Re: Errors on installing SALOME-MECA 2010.2

Posted by Russell Hwang at August 30. 2012

It's my pleasure to get your advice!  There is your tutorial on my desk even now.

I managed to guess the cause of problem after fiddling diversely.  And I have exactly realized permission problem with your advice just now.

Even after the process postinstall.py on sudo, the other problem occurred the same as following link

http://www.code-aster.org/forum2/viewtopic.php?id=17294

Finally, I installed Salome and Code-Aster separately,  Perhaps that problem might be caused by the place installed.

Next time I will try to install Salome-Meca 2010.2 again under the Home directory.

 

Previously jeanpierreaubry wrote:

hello

 

first i strongly advise not to do the install in /usr

 

if you are a beginner and are planning to use it on a stand alone machine

install in $HOME/salomemeca

this simplifies many permissions problems which you seem to encounter

 

at the end of the process

postinstall.py

then 

runSalomeMeca

 

jean pierre aubry

 

Re: Errors on installing SALOME-MECA 2010.2

Posted by Russell Hwang at August 31. 2012

I tried to install Salome-Meca 2010.2 again as below.

"Segmentation fault" occurs after commanding ./runSalomeMeca

How can I solve this problem?  I really want to install Salome-Meca 2010.2

 

:~/etc/SALOME-MECA-2010.2-LGPL-i386$ ./runSalomeMeca


./runSalomeMeca: line 45: 13278 Segmentation fault      (core dumped) python $ROOT_SALOME_MECA/postinstall/check_path.py
CHECK /home/p13233
Searching for free port for the SALOME Naming Service: 2810 - Ok
/home/p13233/etc/SALOME-MECA-2010.2-LGPL-i386/runAppli: line 51: 13289 Segmentation fault      (core dumped) python -i /home/p13233/etc/SALOME-MECA-2010.2-LGPL-i386/SALOME/SALOME5/V5_1_4/KERNEL_V5_1_4/bin/salome/runSalome.py
/home/p13233/etc/SALOME-MECA-2010.2-LGPL-i386/runAppli: line 55: 13291 Segmentation fault      (core dumped) python /home/p13233/etc/SALOME-MECA-2010.2-LGPL-i386/SALOME/SALOME5/V5_1_4/KERNEL_V5_1_4/bin/salome/killSalomeWithPort.py ${NSPORT}

Re: Errors on installing SALOME-MECA 2010.2

Posted by Chrys Lides at September 04. 2012

Hello,

 

Strange segmentation fault errors...

 

Have you run the postinstall script before running Salome-Meca?

 

$ cd ~/etc/SALOME-MECA-2010.2-LGPL-i386/postinstall

$ python postinstall.py

$ cd ..

$ ./runSalomeMeca

 

For the issue described in your first post, if you have previously installed Salome-Meca as root on /usr/local, you should run postinstall as root, then run Salome-Meca as a regular user:

 

# cd /usr/local/SALOME-MECA-2010.2-LGPL-i386/postinstall

# python postinstall.py

 

$ cd /usr/local/SALOME-MECA-2010.2-LGPL-i386

$ ./runSalomeMeca

 

Chrys

Powered by Ploneboard
Document Actions