GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » config.sh bug
Re: config.sh bug [message #8406 is a reply to message #8404] Tue, 05 May 2009 10:34 Go to previous messageGo to previous message
Anonymous Poster From: *e18.physik.tu-muenchen.de
Hi again,

actually I found the bug, but I dont have the write permissions to commit it. Can you please apply the following patch:

hoeppi@hoeppi:~/trunk$ svn diff cmake/modules/WriteConfigFile.cmakeIndex: cmake/modules/WriteConfigFile.cmake
===================================================================
--- cmake/modules/WriteConfigFile.cmake (revision 5370)
+++ cmake/modules/WriteConfigFile.cmake (working copy)
@@ -9,7 +9,7 @@
SET(FAIRLIBDIR ${CMAKE_CURRENT_BINARY_DIR}/lib)

IF(CMAKE_SYSTEM_NAME MATCHES Linux)
- SET(LD_LIBRARY_PATH /usr/lib /usr/X11R6/lib ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
+ SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
ELSE(CMAKE_SYSTEM_NAME MATCHES Linux)
IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
@@ -115,7 +115,7 @@
SET(FAIRLIBDIR ${CMAKE_CURRENT_BINARY_DIR}/lib)

IF(CMAKE_SYSTEM_NAME MATCHES Linux)
- SET(LD_LIBRARY_PATH /usr/lib /usr/X11R6/lib ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
+ SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
ELSE(CMAKE_SYSTEM_NAME MATCHES Linux)
IF(CMAKE_SYSTEM_NAME MATCHES Darwin)
SET(LD_LIBRARY_PATH ${FAIRLIBDIR} ${LD_LIBRARY_PATH})
hoeppi@hoeppi:~/trunk$


As you can see it just removes /usr/lib and /usr/X11R6/lib in two places, nothing else.

Cheers, Christian
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error while using runReco.C
Next Topic: Error: dlopen error when running the root macro to execute MC
Goto Forum:
  


Current Time: Tue Oct 08 08:07:15 CEST 2024

Total time taken to generate the page: 0.00882 seconds