GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » FairRoot installation problem (CMAKE_INSTALL_PREFIX=)
FairRoot installation problem [message #20943] Fri, 05 May 2017 14:31 Go to next message
MarcLabiche is currently offline  MarcLabiche
Messages: 7
Registered: March 2016
Location: UK
occasional visitor
From: *dl.ac.uk
Hi,

I've successfully installed FairSoft (march17), defined SIMPATH and did a "git pull" for FairRoot, but when running cmake to install FairRoot I get the following error for the STRIP sub command:

cmake -DCMAKE_INSTALL_PREFIX=/home/mala/FAIR/FairRoot_Install /home/mala/FAIR/FairRoot/
-- fairsoft-config found
CMake Error at cmake/modules/CheckCompiler.cmake:34 (String):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)
CMake Error at cmake/modules/CheckCompiler.cmake:35 (String):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

CMake Error at cmake/modules/CheckCompiler.cmake:36 (String):
string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

CMake Error at cmake/modules/CheckCompiler.cmake:38 (Get_Filename_Component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

CMake Error at cmake/modules/CheckCompiler.cmake:39 (Get_Filename_Component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

CMake Error at cmake/modules/CheckCompiler.cmake:40 (Get_Filename_Component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

CMake Error at cmake/modules/CheckCompiler.cmake:55 (If):
if given arguments:

"NOT" "(" "STREQUAL" "/usr/bin/gcc" ")" "OR" "NOT" "(" "STREQUAL" "/usr/bin/c++" ")"

Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:55 (Check_Compiler)

-- Configuring incomplete, errors occurred!

Can anyone help, please ?
Cheers,
Marc


Marc Labiche
STFC Daresbury Lab.
+44 (0)1925603458
Re: FairRoot installation problem [message #20953 is a reply to message #20943] Mon, 08 May 2017 12:31 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Marc,

could you please execute the following commands in the terminal after you have defined the environment variable SIMPATH and post the results.

$SIMPATH/bin/fairsoft-config --cc
$SIMPATH/bin/fairsoft-config --cxx
$SIMPATH/bin/fairsoft-config --f77

Ciao

Florian
icon14.gif  Re: FairRoot installation problem [message #20981 is a reply to message #20953] Thu, 11 May 2017 11:01 Go to previous message
MarcLabiche is currently offline  MarcLabiche
Messages: 7
Registered: March 2016
Location: UK
occasional visitor
From: *dl.ac.uk
Hi Florian,
I've managed to install everything now.
When I up-graded to FairSoft march 2017, I didn't clean up my previous installation.
So, I was getting the message that FairSoft was installed without errors but I guess that's because my upgrade was ignored.
Rolling Eyes
Thanks anyway.
Marc


Marc Labiche
STFC Daresbury Lab.
+44 (0)1925603458
Previous Topic: Installation fails
Next Topic: FairSoft compilation on MAC
Goto Forum:
  


Current Time: Sat May 11 04:22:11 CEST 2024

Total time taken to generate the page: 0.00836 seconds