GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » New External Packages July 09
Re: New External Packages July 09 [message #9202 is a reply to message #8964] Fri, 14 August 2009 12:43 Go to previous messageGo to previous message
Anonymous Poster From: *inp.nsk.su
Hello Mohammad and Florian,

when I tried to run the installation script I have observed the following error message:

scripts/set_compiler.sh: line 32: [: .: integer expression expected
Could not extract the version of gfortran
Stop script at this point


Looking in the set_compiler.sh script I found that among other issues it makes an analysis of the output text of the gfortran -v command. The problem is that I by default use the ru_RU.utf-8 encoding and the output looks a little bit different of what is expected.

To avoid in the future such an issue I would suggest to include in the text of the set_compiler.sh script the following lines:

default_lang=$(echo $LANG)
LANG=en_EN.utf-8
in the beginning (to set the needed encoding)

export LANG=${default_lang}
at the end (to restore the default encoding)

I checked this correction - it works at least on my computer.

With the best regards,

Andrey Sokolov
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pnddsk?
Next Topic: Setting the minimum required external packages for current trunk to July09
Goto Forum:
  


Current Time: Mon May 06 21:11:02 CEST 2024

Total time taken to generate the page: 0.00990 seconds