GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » Cmake end with an error message.
Cmake end with an error message. [message #5527] Thu, 29 November 2007 11:12 Go to previous message
Anonymous Poster From: *ikp.kfa-juelich.de
Hello!

I am install new external packages at Jülich and now try to compile PandaRoot. But when I run cmake I have the following error:
sokolov@ikp156: cmake ../pandaroot
-- 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
PATH: /home/kph/sokolov/bin/LINUX:.:/usr/local/ikp/bin:/opt/bin:/opt/bin:/usr/ bin:.:/home/kph/sokolov/bin:/home/kph/sokolov:/usr/local/bin:/usr/X11R6/ bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/local/insure/bin:/ usr/local/ikp/cern/pro/bin:/usr/local/ikp/root/bin:/home/kph/sokolov/gea nt4/bin/Linux-g++:/opt/pbs/bin:/home/sokolov/bin:/home/sokolov/bin/usr
-- Found root of the simulation software at /home/sokolov/fairroot/cbmsoft
Looking for external packages...
-- Looking for Root...
-- Looking for Root... - found /home/sokolov/fairroot/cbmsoft/tools/root/bin/root
-- Looking for Root... - version 5.17/05
-- Looking for Pluto...
-- Looking for Pluto... - found /home/sokolov/fairroot/cbmsoft/generators/lib
-- Looking for Pythia6...
-- Looking for Pythia6... - found /home/sokolov/fairroot/cbmsoft/generators/lib
-- Looking for GEANT3...
-- Looking for GEANT3... - found /home/kph/sokolov/fairroot/cbmsoft/transport/geant3/lib/tgt_linux/libgea nt321.so
-- New Version of GEANT3 with full GEANE support found.
-- Looking for GEANT4...
-- Looking for GEANT4... - found /home/sokolov/fairroot/cbmsoft/transport/geant4/lib/Linux-g++
-- Looking for GEANT4VMC...
-- Looking for GEANT4VMC... - found /home/sokolov/fairroot/cbmsoft/transport/geant4_vmc/lib/tgt_linux
-- Looking for VGM...
-- Looking for VGM... - found /home/sokolov/fairroot/cbmsoft/transport/vgm/lib/Linux-g++
-- Looking for CLHEP...
-- Looking for CLHEP... - found /home/sokolov/fairroot/cbmsoft/cern/clhep/lib
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error: Error in cmake code at
WRITE_TO_FILE:119:
IF had incorrect arguments: NOT "${unique_tmp}" MATCHES "(^|;)${l}(;|$)" (Regular expression " (^|;)/home/kph/sokolov/bin/LINUX:.:/usr/local/ikp/bin:/opt/bin:/opt/bin: /usr/bin:.:/home/kph/sokolov/bin:/home/kph/sokolov:/usr/local/bin:/usr/X 11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/local/insure/ bin:/usr/local/ikp/cern/pro/bin:/usr/local/ikp/root/bin:/home/kph/sokolo v/geant4/bin/Linux-g++:/opt/pbs/bin:/home/sokolov/bin:/home/sokolov/bin/ usr(;|$) " cannot compile).
Current CMake stack: /home/sokolov/fairroot/cbmsoft/pandaroot/CMakeLists.txt;/usr/local/ikp/s hare/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/local/ikp/share/cmak e-2.4/Modules/CMakeCXXInformation.cmake
CMake Error: Error in cmake code at
WRITE_TO_FILE: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/sokolov/fairroot/cbmsoft/pandaroot/CMakeLists.txt;/usr/local/ikp/s hare/cmake-2.4/Modules/CMakeCInformation.cmake;/usr/local/ikp/share/cmak e-2.4/Modules/CMakeCXXInformation.cmake
File name: config.sh
-- Configuring done

Obviously it happens inside the WriteConfigFile.cmake module, namely when UNIQUE macro is called. If I correctly understood this macro should exclude the repeating entries from the search path, isn't it? Probably something wrong with the pattern in the regular expression inside foreach loop.

Also its look like that there is a typo in the line number 75 in the WriteConfigFile.cmake, namely:
SET (PATH ${ROOTSYS}/bin ${PATH})
I think it should be
SET (PATH ${ROOTSYS}/bin:${PATH})

Best regards,

Andrey
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: simulation does not work with G4 for ROOT files with geometry
Next Topic: Bug in Drc
Goto Forum:
  


Current Time: Thu Nov 28 00:41:28 CET 2024

Total time taken to generate the page: 0.00905 seconds