Problem 1707 - Typo in search for X11 libs cause failure on OS
Summary: Typo in search for X11 libs cause failure on OS
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: cmake (show other problems)
Version: 10.0
Hardware: All All
: P5 major
Assignee: Ben Morgan
URL:
Depends on:
Blocks:
 
Reported: 2015-02-02 16:11 CET by Thomas Kittelmann
Modified: 2018-05-08 14:46 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.