external packages on Ubuntu [message #7920] |
Thu, 19 February 2009 11:33 |
Felix Boehmer
Messages: 149 Registered: May 2007 Location: Munich
|
first-grade participant |
From: *natpool.mwn.de
|
|
just a short remark for all who want to use pandaroot on Ubuntu (like me) and have problems installing the external packages:
since the g77 is no longer in the standard repositories and the set_compiler.sh script fails to extract the correct version of gfortran, the following lines should be added to the script:
elif [ $(gfortran -dumpversion | grep 'Ubuntu' | cut -c 1-3) ];
then
gfortran_major_version=$(gfortran -dumpversion | grep 'Ubuntu' | cut -c 21)
gfortran_minor_version=$(gfortran -dumpversion | grep 'Ubuntu' | cut -c 23)
Maybe this would be a nice change for the next version.
Cheers,
Felix
[Updated on: Thu, 19 February 2009 11:38] Report message to a moderator
|
|
|
Re: external packages on Ubuntu [message #7922 is a reply to message #7920] |
Thu, 19 February 2009 11:46 |
Florian Uhlig
Messages: 424 Registered: May 2007
|
first-grade participant |
From: *gsi.de
|
|
Hi Felix
Quote: |
since the g77 is no longer in the standard repositories and the set_compiler.sh script fails to extract the correct version of gfortran, the following lines should be added to the script:
Maybe this would be a nice change for the next version.
|
The problem with your suggestion is that for each new system (Ubuntu, WhateverFlavor) which comes with changed output of the
dumpversion we have to add another lines. Sometimes they change the ouptup string even from one version of the compiler to the next.
There is a better and hopefully unique way to get the required information which will be in the next release of the external packages.
Ciao
Florian
|
|
|