[Gate-users] new install help

O'Doherty, Jim jim.odoherty at kcl.ac.uk
Thu Sep 4 13:54:06 CEST 2014


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:/usr/
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
>>



More information about the Gate-users mailing list