[Gate-users] Error in installing GATE_v7.2 on Ubuntu_16.04_LTS

David Boersma david.boersma at physics.uu.se
Wed Jan 25 10:05:59 CET 2017


Hi Chekdob Bagdob,

Yes, this 'kCanRebin" error is a known issue and it's fixed in the 
upcoming release. Installing ROOT 5.34 should have solved it for you. I 
suspect that you installed 5.34 in parallel to 6.08, and that for some 
reason the build system is still "seeing" 6.08. If you grep for 
ROOT_CONFIG_EXECUTABLE in CMakeCache.txt (in your build directory) then 
it should become clear if that is indeed the case. Make sure to run 
"source /path/to/root/5.34/bin/thisroot.sh" before running cmake, and 
sometimes you also need to delete the CMakeCache.txt file to make sure 
that cmake actually notices the change in your environment.

(Note: if you keep both ROOT versions installed, and you try to *run* 
Gate, maybe in fresh new shell, or after a reboot, then you should also 
make sure that the shell environment "sees" the correct ROOT version. 
Building with one version and running with another either does not work 
at all , or leads to very confusing crashes.)

David

Den 25/01/2017 kl. 05:50, skrev Chekdob Bagdob:
> Dear GATE users,
>
>
>            Recently I am trying to install GATE_v7.2 on my
> Ubuntu_16.04_LTS. I choose to follow the wiki page
> (http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2).
> Here under I have listed series of task that I performed:
>
>     1. First I go to package requirement page and installed packages
> listed for Ubuntu_16.04_LTS.
>
>     2. Then I installed CLHEP 2.3.1.1 following the steps explained in
> compilation wiki page
> (http://wiki.opengatecollaboration.org/index.php/Compilation_Instructions_V7.2).
>
>     3. Then I installed binary version of root_v6.08.
>
>     4. Then I installed Geant4_v10.1 with patch 02. Although for
> GATE_v7.2 we need Geant4_v10.2 but in installation guide page
> (http://wiki.opengatecollaboration.org/index.php/Installation_Guide_V7.2) they
> mentioned that GATE_v7.2 is backward compatible with Geant4_v10.1 with
> patch 02.
>
>     5. Finally I started installing GATE_v7.2. But after successively
> running ccmake command, in make -j4 step I get the error like this
>
>
>                error: 'kCanRebin' is not a member of 'TH1'
>                pFrag -> SetBit (TH1: kCanRebin)
>
>
>  So, I tried to google the problem I get a suggestion that I should
> install root_v5.34. But there is no binary version for
> Ubuntu_v16.04_LTS. So I downloaded source version and installed it
> through 'environment driven build method' explained in INSTALL file. But
> same error remains ('kCanRebin').
>
> Some useful information:
>
>    cmake --version >> 3.5.1
>    gcc     --version >> 5.4.0
>    c++    --version >> 5.4.0
>    Processor Intel Core i5-6402P CPU @ 2.80 GHz * 4
>
>
> _______________________________________________
> 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