[Gate-users] new install help
O'Doherty, Jim
jim.odoherty at kcl.ac.uk
Thu Sep 4 16:47:17 CEST 2014
Thanks to all, I'm very grateful for your help - qt and ROOT issues now
solved. I think I'm very nearly there.
On building geant4 I have one (hopefully final) issue:
X11_Xmu_INCLUDE_PATH /opt/X11/include
X11_Xmu_LIB /opt/X11/lib/libXmu.dylib
X11_Xmu_LIBRARY NOTFOUND
X11_Xpm_INCLUDE_PATH /opt/X11/include
X11_Xpm_LIB /opt/X11/lib/libXpm.dylib
X11_Xrandr_INCLUDE_PATH /opt/X11/include
X11_Xrandr_LIB /opt/X11/lib/libXrandr.dylib
X11_Xrender_INCLUDE_PATH /opt/X11/include
Trying to compile without this X11_Xmu_LIBRARY gives the following error:
CMake Error at cmake/Modules/Geant4InterfaceOptions.cmake:198 (message):
could not find X11 Xmu library and/or headers
Call Stack (most recent call first):
CMakeLists.txt:84 (include)
However when I simply set X11_Xmu_LIBRARY to the same as X11_XMu_LIB =
/opt/X11/lib/libXmu.dylib (i.e. the same library) I can compile.
When I try to run the "Gate" command I'm met with the following:
dyld: Library not loaded: /opt/local/lib/libssl.1.0.0.dylib
Referenced from: /Users/jim/Documents/GEANT4/root_v5.XX/lib/libNet.so
Reason: image not found
Trace/BPT trap: 5
Presumably this is because my entry is incorrect, but does anyone know
what X11_Xmu_LIBRARY should point to, and why it is NOTFOUND on my system?
Thanks again,
Jim
On 04/09/2014 12:59, "Marc Chamberland"
<MarcChamberland at cmail.carleton.ca> wrote:
>Hi Jim,
>
>For Root, I used to add the following line to my .bash_profile file:
>
>source /PATH_TO_ROOT/root_v5.34/bin/thisroot.sh
>
>
>I since moved away from installing those packages and apps "manually" and
>rely on Macports instead (http://macports.org). It makes a lot of things
>simpler (but sometimes harder to troubleshoot when it fails!).
>
>Marc
>
>
>
>__________________________
>
>Marc Chamberland, MSc
>PhD candidate
>Department of Physics
>Carleton University
>Ottawa (ON)
>
>On Sep 4, 2014, at 7:54, O'Doherty, Jim <jim.odoherty at kcl.ac.uk> wrote:
>
>> Hi,
>>
>> Further to my previous query about using QTKit on a mac (how do I
>>compile
>> GEANT4 with my version QTKit:7.7.3 on MacOS) I also have a query about
>>the
>> ROOT package:
>>
>> While installing GATEv7 my configuration is:
>>
>> CMAKE_BACKWARDS_COMPATIBILITY 2.4
>>
>> CMAKE_BUILD_TYPE Release
>>
>> CMAKE_INSTALL_PREFIX /Users/jim/Documents/GEANT4/gate.7.0-install
>>
>> CMAKE_OSX_ARCHITECTURES
>>
>> CMAKE_OSX_DEPLOYMENT_TARGET
>>
>> CMAKE_OSX_SYSROOT
>>
>> EXECUTABLE_OUTPUT_PATH
>>
>> GATE_ANALYSIS_USE_FILE ON
>>
>> GATE_ANALYSIS_USE_GENERAL ON
>>
>> GATE_DOWNLOAD_BENCHMARKS_DATA OFF
>>
>> GATE_DOWNLOAD_EXAMPLES_DATA OFF
>>
>> GATE_USE_ECAT7 OFF
>>
>> GATE_USE_GEANT4_UIVIS ON
>>
>> GATE_USE_GPU OFF
>>
>> GATE_USE_LMF OFF
>>
>> GATE_USE_OPTICAL OFF
>>
>> GATE_USE_ROOT ON
>>
>> GATE_USE_SYSTEM_CLHEP OFF
>>
>> Geant496_COMPATIBILITY ON
>>
>> Geant4_DIR
>> /Users/jim/Documents/GEANT4/geant4.9.6.p03-install/lib/Geant4-9.6.3
>>
>> LIBRARY_OUTPUT_PATH
>>
>> ROOTCINT_EXECUTABLE
>> /Users/jim/Documents/GEANT4/root_v5.XX/bin/rootcint
>>
>>
>>
>> Trying to configure this gives me the error:
>>
>> Root Not found ! Please install Root and make it available in PATH
>>
>>
>>
>> However I have installed root, and if I echo $PATH, I see that it is
>> already available in PATH:
>>
>>
>>/Users/jim/Documents/GEANT4/root_v5.XX/bin:/Applications/CMake_2.8-12.app
>>/C
>>
>>ontents/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/us
>>r/
>> local/git/bin
>>
>>
>> Has anybody else encountered this issue and any idea how I can get
>>around
>> this? Should I install an older version of ROOT (I used 5.34/20)?
>>
>> Thanks,
>> Jim
>>
>>
>> On 04/09/2014 11:49, "Paweł Kowalski" <flukson at gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Unfortunatelly I do not use MacOS but linux Fedora. Maybe someone who
>>> uses MacOS will be able to help you.
>>>
>>> Best regards,
>>> PK
>>>
>>> 2014-09-04 12:45 GMT+02:00 O'Doherty, Jim <jim.odoherty at kcl.ac.uk>:
>>>> Hi Pawel,
>>>>
>>>> Thank you for the tip - that has solved the empty install folder.
>>>>
>>>> The QTKit I have on my mac is v7.7.3, do you know how it is possible
>>>>to
>>>> rollback to v4 so it is compatible with the Geant4 install?
>>>>
>>>> QTKit:
>>>>
>>>> Version: 7.7.3
>>>> Obtained from: Apple
>>>> Last Modified: 01/05/2014 03:36
>>>> Kind: Intel
>>>> 64-Bit (Intel): Yes
>>>> Signed by: Software Signing, Apple Code Signing Certification
>>>> Authority, Apple Root CA
>>>> Get Info String: QTKit 7.7.3, Copyright 2003-2012, Apple Inc.
>>>> Location: /System/Library/Frameworks/QTKit.framework
>>>> Private: No
>>>>
>>>>
>>>>
>>>> Just wondering what other users do when they encounter this issue. If
>>>>I
>>>> compile without Qt, does that mean I have no graphical interface?
>>>>
>>>> Regards,
>>>> Jim
>>>>
>>>>
>>>>
>>>>
>>>> On 04/09/2014 10:50, "Paweł Kowalski" <flukson at gmail.com> wrote:
>>>>
>>>>>> Does anybody know why the Qt4 is failing (something in the QT4.cmake
>>>>>> file?),
>>>>>> and also why the geant4.9.6.p03-install (and 2.1.3.1-install) folder
>>>>>> stays
>>>>>> empty after I "make install"? The same happens when I try install
>>>>>>the
>>>>>> gate
>>>>>> code
>>>>>
>>>>> Qt4 is failing because you probably have qt version 5. You should
>>>>> install qt version 4.
>>>>>
>>>>> Directory geant4.9.6.p03-install is empty because you set
>>>>> CMAKE_INSTALL_PREFIX
>>>>> /Users/jim/Documents/GEANT4/geant4.9.6.p03
>>>>> You should set it to:
>>>>> CMAKE_INSTALL_PREFIX
>>>>> /Users/jim/Documents/GEANT4/geant4.9.6.p03-install
>>>>>
>>>>> After compilation (make) you have to type 'make install'.
>>>>>
>>>>> Best regards,
>>>>> PK
>>>>
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
More information about the Gate-users
mailing list