GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Problems of trunk (external packages) with Ubuntu 12.04
Problems of trunk (external packages) with Ubuntu 12.04 [message #13628] Mon, 18 June 2012 19:10 Go to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
I have tried to install the trunk external packages in my brand new Ubuntu 12.04.
In this case it seems geant3 is properly taken from svn, but Pythia6 does not compile:

*** Compiling Pythia6 ................ 
*** Unpacking pythia6.tar.gz ..............
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Configuring done
-- Generating done
-- Build files have been written to: /home/spataro/trunk/generators/pythia6/build
Scanning dependencies of target Pythia6
[ 25%] Building Fortran object CMakeFiles/Pythia6.dir/pythia6319.f.o
f951: error: unrecognized command line option ‘-fno-second_underscore’
make[2]: *** [CMakeFiles/Pythia6.dir/pythia6319.f.o] Errore 1
make[1]: *** [CMakeFiles/Pythia6.dir/all] Errore 2
make: *** [all] Errore 2
**** Checking libraries in /home/spataro/trunk/generators/lib ****
*** ERROR: Pythia6 could not be created.
*** End installation of external packages with Errors***
spataro@briareos:~/trunk$ 


...
Re: Problems of trunk (external packages) with Ubuntu 12.04 [message #13629 is a reply to message #13628] Mon, 18 June 2012 21:52 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *pools.arcor-ip.net
Hi Stefano,

please remove the option -fno-seconond-underscore from the CMakeLists.txt. This option is not present any longer.

Ciao

Florian
Re: Problems of trunk (external packages) with Ubuntu 12.04 [message #13633 is a reply to message #13629] Tue, 19 June 2012 12:28 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi Florian,
I have solved the problem cmemnting out in file generators/CMakeLists.txt_pythia6 the following lines:

#Set_Source_Files_Properties(${Pythia_FSRCS} PROPERTIES COMPILE_FLAGS
#                           ${UnderScoreString})


Unfortunately with the problem of geant3 svn I cannot go further in compilation. Let's wait...
Re: Problems of trunk (external packages) with Ubuntu 12.04 [message #13699 is a reply to message #13633] Wed, 04 July 2012 12:53 Go to previous message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Hi,
it seems to work (now that I can download the trunk).
I have noticed that the file CMakeLists.txt_pythia6 is existing only in the trunk but not in jan12. Is it really needed? If not, I would propose to take it out, or to take out the "problematic" lines from the trunk version.
Previous Topic: [FIXED] Problems with dashboard and geant4
Next Topic: New pandaroot release july12
Goto Forum:
  


Current Time: Sat Dec 21 17:25:07 CET 2024

Total time taken to generate the page: 0.01051 seconds