GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » cmake error
cmake error [message #5419] Thu, 15 November 2007 17:07 Go to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Dear pandaRooters,

I just tried to install a clean version of pandaRoot from the repository. When I try to use cmake ../pandaroot I get the following error message:

-- You're not using the GSI installation of the external packages.
-- If any problems occur this can be due to the fact that the macros
-- were mostly tested at GSI. If you find any problems please contact
-- f.uhlig@gsi.de
-- Found root of the simulation software at /home/stockman/fairroot/cbmsoft
-- Looking for Root...
-- Looking for Root... - found /home/stockman/fairroot/cbmsoft/tools/root/bin/root
-- Looking for Root... - version 5.16/00
-- Looking for GEANT3...
-- Looking for GEANT3... - found /home/stockman/fairroot/cbmsoft/transport/geant3/lib/tgt_linux/libgeant3 21.so
-- Old Version of GEANT3 without GEANE support found.
-- Looking for Pluto...
-- Looking for Pluto... - found /home/stockman/fairroot/cbmsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /home/stockman/fairroot/cbmsoft/generators/lib
-- Looking for GEANT4...
-- Looking for GEANT4... - found /home/stockman/fairroot/cbmsoft/transport/geant4/lib/Linux-g++
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /home/stockman/fairroot/cbmsoft/transport/geant4_vmc/lib/tgt_linux
-- Looking for VGM...
-- Looking for VGM... - found /home/stockman/fairroot/cbmsoft/transport/vgm/lib/Linux-g++
-- Looking for CLHEP...
-- Looking for CLHEP... - found /home/stockman/fairroot/cbmsoft/cern/clhep/lib
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error: Error in cmake code at
£:119:
IF had incorrect arguments: NOT "${unique_tmp}" MATCHES "(^|;)${l}(;|$)" (Regular expression " (^|;)/home/stockman/fairroot/cbmsoft/tools/root/bin:/home/stockman/fairr oot/cbmsoft/tools/root/bin:/home/kph/stockman/bin/LINUX:.:/usr/local/ikp /bin:/opt/bin:/opt/bin:/usr/bin:/usr/local/ikp/bin:.:/home/kph/stockman/ bin:/home/kph/stockman:/usr/local/bin:/usr/X11R6/bin:/bin:/usr/games:/op t/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/local/ insure/bin:/usr/local/ikp/cern/pro/bin:/usr/local/ikp/root/bin:/home/kph /stockman/geant4/bin/Linux-g++:/opt/pbs/bin:/usr/local/ikp/cern/pro/bin: /usr/local/ikp/root/bin:/home/kph/stockman/geant4/bin/Linux-g++:/opt/pbs /bin(;|$) " cannot compile).
Current CMake stack: /home/stockman/fairroot/cbmsoft/pandaroot/CMakeLists.txt;/usr/local/ikp/ share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/local/ikp/share/cma ke-2.4/Modules/CMakeCXXInformation.cmake
CMake Error: Error in cmake code at
£:121:
ENDIF An ENDIF command was found outside of a proper IF ENDIF structure. Or its arguments did not match the opening IF command.
Current CMake stack: /home/stockman/fairroot/cbmsoft/pandaroot/CMakeLists.txt;/usr/local/ikp/ share/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/local/ikp/share/cma ke-2.4/Modules/CMakeCXXInformation.cmake
-- Configuring done

I could figure out that the problem is related to the command CHECK_GSI()

If I comment out this line everything runs smoothly buy I do not think that this is the suggested procedure Smile .

Ciao,

Tobias
Re: cmake error [message #5422 is a reply to message #5419] Fri, 16 November 2007 08:58 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 Tobias

I tried to reproduce your problem, but i don't get your error.
I on't understand why the behavior changes if tou uncomment the
CHECK_GSI() macro, because the macro is executed much earlier.

Can you please check if all your cmake macros in the directory
cmake/modules are up-to-date.

In the moment i don't have any better idea.

Ciao

Florian
Re: cmake error [message #5424 is a reply to message #5422] Fri, 16 November 2007 09:25 Go to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hallo Florian,

thank you for your fast reply. Unfortunately the folder cmake/modules is at the latest revision.

It was a clean checkout I did yesterday afternoon.

At the moment I just commented out the CHECK_GSI() command and everything works despite the PATH-variable where I have to add my old PATH.

Viele Grüße

Tobias
Previous Topic: Error in charmtask
Next Topic: cbmg4 error
Goto Forum:
  


Current Time: Tue May 14 13:40:35 CEST 2024

Total time taken to generate the page: 0.00932 seconds