Problem 1707

Summary: Typo in search for X11 libs cause failure on OS
Product: Geant4 Reporter: Thomas Kittelmann <thomas.kittelmann>
Component: cmakeAssignee: Ben Morgan <Ben.Morgan>
Status: CLOSED FIXED    
Severity: major    
Priority: P5    
Version: 10.0   
Hardware: All   
OS: All   

Description Thomas Kittelmann 2015-02-02 16:11:58 CET
In Geant4InterfaceOptions.cmake the line (around line 218):

find_library(X11_Xmu_LIBRARY Xmu ${X11_SEARCH_PATH})

Should be:

find_library(X11_Xmu_LIBRARY Xmu ${X11_LIB_SEARCH_PATH})

At least X11_LIB_SEARCH_PATH is what the code just above it defines, and when I make the above change by hand, configuration succeeds where it was failing.

This was on OSX with XQuartz in /opt/X11.
Comment 1 Thomas Kittelmann 2015-02-02 16:26:33 CET
Forgot to mention that this was with G4 10.0.p03.
Comment 2 Ben Morgan 2015-02-03 09:12:12 CET
This has been resolved in the current development, so a fix will be in the first patch for 10.1 and any further patches for 10.0
Comment 3 Thomas Kittelmann 2015-03-23 14:24:11 CET
Did this actually make it to 10.00.p04? I re-experience the same issue there.