CS in UBUNTU 10.04

All questions about installation
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
Renan Neves Nascimento

CS in UBUNTU 10.04

Post by Renan Neves Nascimento »

Hi,
I'm student from UVHC in Valenciennes, FR, and I need to do a project with the Code Saturne.
I've been trying to install the version 2.1.0 since October, but until now, I couldn't do it successfully. I've tried to use the "installer" in their site, but it's appearing one error with HFD5, that I think that I already installed.
I've tried to do it manually by the terminal, but I couldn't either.
Below, there's the errors that appears. If anybody can help me, I would be so greatful! Thanks in advance.
--------------------------------------------------------------------------------------------------------------------------------------------
Using the "installer" by the site:
renanneves@ubuntu:~/Bureau/installer$ ./install_saturne.py
 
        Installation of Code_Saturne
        ____________________________
 
The process will take several minutes.
You can have a look at the log file meanwhile.
 
Check the setup file and some utilities presence.
 
   o Checking for python...  /usr/bin/python
     Python version is 2.6
   o Checking for make...  /usr/bin/make
   o Checking for pdflatex...  /usr/bin/pdflatex
   o Checking for fig2dev...  /usr/bin/fig2dev
 
Installation of HDF5
hdf5-1.8.7.tar.gz is not a tar archive
renanneves@ubuntu:~/Bureau/installer$
 
---------------------------------------------------------------------------------------------
 
Installing one by one in the terminal:
 
1. As long as I try to install the bft
 
renanneves@ubuntu:~/Bureau/bft$ make install
Making install in src
make[1]: entrant dans le répertoire « /home/renanneves/Bureau/bft/src »
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/bft/src »
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libbft.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libbft.so.1.0.0 /usr/local/lib/libbft.so.1.0.0
/usr/bin/install: cannot remove `/usr/local/lib/libbft.so.1.0.0': Permission denied
make[2]: *** [install-libLTLIBRARIES] Erreur 1
make[2]: quittant le répertoire « /home/renanneves/Bureau/bft/src »
make[1]: *** [install-am] Erreur 2
make[1]: quittant le répertoire « /home/renanneves/Bureau/bft/src »
make: *** [install-recursive] Erreur 1
 
2. As long as I try to install preprocessor
 
renanneves@ubuntu:~/Bureau/ecs$ make
make all-recursive
make[1]: entrant dans le répertoire « /home/renanneves/Bureau/ecs »
Making all in src/base
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/src/base »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/src/base »
Making all in src/pre-post
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/src/pre-post »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/src/pre-post »
Making all in src/util
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/src/util »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/src/util »
Making all in src/appli
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/src/appli »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/src/appli »
Making all in src/outils
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/src/outils »
make[2]: Rien à faire pour « all ».
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/src/outils »
Making all in po
make[2]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/po »
test ! -f ./cs_preprocess.pot || \
test -z "fr.gmo" || make fr.gmo
make[3]: entrant dans le répertoire « /home/renanneves/Bureau/ecs/po »
rm -f fr.gmo && : -c --statistics --verbose -o fr.gmo fr.po
mv: impossible d'évaluer «t-fr.gmo»: Aucun fichier ou dossier de ce type
make[3]: *** [fr.gmo] Erreur 1
make[3]: quittant le répertoire « /home/renanneves/Bureau/ecs/po »
make[2]: *** [stamp-po] Erreur 2
make[2]: quittant le répertoire « /home/renanneves/Bureau/ecs/po »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/renanneves/Bureau/ecs »
make: *** [all] Erreur 2
 
 
----
 
Best Regards and thanks again,
 
Renan Neves Nascimento
 
ps: sorry if these errors are sillies, but i'm new in the Ubuntu.
Renan Neves Nascimento

Re: CS in UBUNTU 10.04

Post by Renan Neves Nascimento »

The problem with "bft" I solved. Now, the problem is only with the installation of the preprocessor.
Tks.
Renan Neves Nascimento

Re: CS in UBUNTU 10.04

Post by Renan Neves Nascimento »

I think that I missed some libraries, and now it's almost installed. For those who are having the same problem, I did "ubuntu: sudo apt-get install gettext"
Regards,
Post Reply