[Gate-users] need help

Ben Pietras ben.pietras at manchester.ac.uk
Tue Dec 12 10:22:49 CET 2017


Hi Ait,

Did you install root from source, or from a repository?

If the latter, you may need some extra libraries.  Try:

$ sudo apt-get install apt-file
$ apt-file update
$ apt-file find TVector2.h 

- this gives you the package to install that contains the file (if it exists in your listed repos.)

If you see something like:

/usr/bin/ld: cannot find -lNet
/usr/bin/ld: cannot find -lGraf3d
/usr/bin/ld: cannot find -lPostscript

Run 

$ ld -lNet --verbose

gives you:
[...]
attempt to open //usr/x86_64-linux-gnu/lib/libNet.a failed
ld: cannot find -lNet

So then, try:

$ apt-file find libNet

gives you:
libnetxx-dev: /usr/lib/x86_64-linux-gnu/libNetxx.a
libnetxx-dev: /usr/lib/x86_64-linux-gnu/libNetxx.so
libnetxx1v5: /usr/lib/x86_64-linux-gnu/libNetxx.so.1
libroot-net-dev: /usr/lib/x86_64-linux-gnu/libNet.so
[...]

TL:DR

$ sudo apt-get install libroot-graf2d-postscript-dev libroot-net-dev libroot-math-physics-dev libroot-gui-dev libroot-hist-dev libroot-io-dev 

(an opengate forum would be a great place for this kind of thing)

Ben
----------------------------------------------------------------------------
   Ben Pietras <ben.pietras at manchester.ac.uk>
   School of Physics and Astronomy,   Tel.  0161-275-4231
   The University of Manchester,          Fax. 0161-275-5509
   Manchester, M13 9PL.
----------------------------------------------------------------------------
________________________________________
From: Gate-users [gate-users-bounces at lists.opengatecollaboration.org] on behalf of David Sarrut [David.Sarrut at creatis.insa-lyon.fr]
Sent: 12 December 2017 06:18
To: Maxime Chauvin
Cc: ait mlouk lahcen; gate-users
Subject: Re: [Gate-users] need help

Hello,

I think it is linked to root  : please install and check root before

best,
David

On Mon, Dec 11, 2017 at 10:24 PM, Maxime Chauvin <maxime.chauvin at inserm.fr<mailto:maxime.chauvin at inserm.fr>> wrote:
Not sure if this is the problem but sometimes using -j4 results in some problems. Try with just 'make' or 'make -j2'

Best,
  Maxime


Le 11 déc. 2017 22:06, ait mlouk lahcen <mloukylahcen at gmail.com<mailto:mloukylahcen at gmail.com>> a écrit :
Hi users

I'm trying to install GATE v7.2 on Ubuntu 16.04.

As far as I can see, geant4 and root have both been successfully compiled.
After configuring and generating in ccmake for gate, then running 'make
-j4', I get this error

see the picture below
Thanks in advance


_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto:Gate-users at lists.opengatecollaboration.org>
http://lists.opengatecollaboration.org/mailman/listinfo/gate-users



--
David Sarrut, Phd
Directeur de recherche CNRS
CREATIS, UMR CNRS 5220, Inserm U1206
Centre de lutte contre le cancer Léon Bérard
28 rue Laënnec, 69373 Lyon cedex 08
Tel : 04 78 78 51 51 / 06 74 72 05 42
http://www.creatis.insa-lyon.fr/~dsarrut
_________________________________
 "2 + 2 = 5,  for extremely large values of 2"
_________________________________


More information about the Gate-users mailing list