[Gate-users] Σχετ: Gate-users Digest, Vol 129, Issue 39 [SEC=UNCLASSIFIED]
David Boersma
david.boersma at physics.uu.se
Fri Feb 24 12:36:02 CET 2017
Hi Farshid,
Konstantinos is partly right about the incompatible geant4 versions.
ROOT 6.* will not compile with Gate 7.2 (for a silly simple reason that
is fixed on github, so in the upcoming release you'll be able to use ROOT6).
Geant4 10.03 has not been *validated* for gate 7.2 (because geant4 10.03
was released long after gate 7.2 was released), but it should not give
you this build error. I just tried it on my own machine and I can
compile gate 7.2 just fine with geant4 10.03. So I strongly suspect that
after you'll install (the latest patch version of) geant4 10.02 you will
run into the same build error.
(The rest of this mail I wrote already before Konstantinos wrote to the
list...)
From those regex errors we can conclude that for some reason cmake does
not manage to define the Geant4_VERSION variable. That is strange,
because in the first line of the quoted output you show that it does
find the installation prefix and it even quotes the version in
parentheses. We need to collect more diagnostics, hopefully that will
give us a clue.
(1) multiple installs?
Do you have other geant4 installations on your system besides the one
you intend to use, and could you check the output of
printenv | grep -i geant4
to see if maybe your shell environment somehow has a mixture of multiple
versions?
(2) install method
How did you install geant4? Build from source or unpack a binary tarball?
(3) check cmake and geant4-config
Could you cd to the *build* directory where you most recently tried to
run cmake, and then copy-paste the following commands into you shell,
and then copy-paste the resulting output into a mail to the list?
echo $SHELL
type cmake
cmake --version
grep Geant4_DIR CMakeCache.txt
type geant4-config
geant4-config --version
geant4-config --prefix
Maybe this helps to get a clue to what's going on on your system. If it
doesn't then I can try to come up with some more diagnostic tests...
Good luck,
David
Den 24/02/2017 kl. 11:40, skrev Konstantinos P. Chatzipapas, MSc:
> Hello,
>
> I see that you have install Geant4 V10.3.0 and Root V6.08/02 that
> doesn't work for GATE V7.2.
> You must install Geant4 V10.02.p03 and Root V5.34/36, so that GATE V7.2
> would work.
>
> Kind Regards,
> Konstantinos
>
> -----------------------------------------------------
> Konstantinos Chatzipapas
> Medical Physicist, MSc
> University of Patras
>
> web page: Physics Magazine <http://www.physicsmag.com/>
>
>
> Στις 7:19 π.μ. Παρασκευή, 24 Φεβρουαρίου 2017, ο/η "Salehzahi, Farshid
> (Health)" <Farshid.Salehzahi at act.gov.au> έγραψε:
>
>
> Hi Konstantinos
>
> Thanks for taking the time to support.
> I can confirm that source geant4.sh is in our bashrc.
> I can also confirm that we ran GEANT4 example, which was completed
> smoothly indicating the GEANT4 us running trouble-free. :)
>
> I have copied the text below from the terminal, which shows the errors
> we are facing for your further analysis and possible advice please.
>
> Below is the output from CMake specifying the errors encountered.
>
> Found Geant4: /home/cneeley/apps/Geant4/geant4.10.3-install/bin/.. (10.3.0)
> CMake Error at CMakeLists.txt:67 (STRING):
> string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
> command.
>
>
> CMake Error at CMakeLists.txt:68 (STRING):
> string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
> command.
>
>
> CMake Error at CMakeLists.txt:69 (STRING):
> string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
> command.
>
>
> Warning! GATE version 7.2 is not validated for Geant4 . distribution.
> Please use Geant4 10.1 or 10.2 distribution instead.
> Found ROOT 6.08/02 in /home/cneeley/apps/Root/root6.08
> CMake Error at CMakeLists.txt:173 (INCLUDE):
> include called with wrong number of arguments. include() only takes one
> file.
>
>
> CMake Error at CMakeLists.txt:175 (INCLUDE):
> include could not find load file:
>
> /home/cneeley/apps/GATE/gate_v7.2/source/general/include
>
> Yours Sincerely
> Farshid
>
> Farshid Salehzahi (CSci, MIPEM, Clinical Scientist, MACPSEM)
> Head of Molecular and Nuclear Medicine Physics Section
> Medical Physics and Radiation Engineering
> ANU Visiting Fellow
> Research School of Physics and Engineering,
> ANU College of Physical and Mathematical Sciences
>
> TCH Phone: 6244 4091 | Fax: 6244 2977
> |mailto:Farshid.Salehzahi at act.gov.au <mailto:Farshid.Salehzahi at act.gov.au>
> Clinical Support Services
> Canberra Hospital and Health Services
>
>
> -----Original Message-----
> From: Gate-users
> [mailto:gate-users-bounces at lists.opengatecollaboration.org
> <mailto:gate-users-bounces at lists.opengatecollaboration.org>] On Behalf
> Of gate-users-request at lists.opengatecollaboration.org
> <mailto:gate-users-request at lists.opengatecollaboration.org>
> Sent: Thursday, 23 February 2017 7:53 PM
> To: gate-users at lists.opengatecollaboration.org
> <mailto:gate-users at lists.opengatecollaboration.org>
> Subject: Gate-users Digest, Vol 129, Issue 39
>
> Send Gate-users mailing list submissions to
> gate-users at lists.opengatecollaboration.org
> <mailto:gate-users at lists.opengatecollaboration.org>
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> or, via email, send a message with subject or body 'help' to
> gate-users-request at lists.opengatecollaboration.org
> <mailto:gate-users-request at lists.opengatecollaboration.org>
>
> You can reach the person managing the list at
> gate-users-owner at lists.opengatecollaboration.org
> <mailto:gate-users-owner at lists.opengatecollaboration.org>
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Gate-users digest..."
>
>
> Today's Topics:
>
> 1. Σχετ: GATE Installation Problem [SEC=UNCLASSIFIED]
> (Konstantinos P. Chatzipapas, MSc)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 23 Feb 2017 08:52:40 +0000 (UTC)
> From: "Konstantinos P. Chatzipapas, MSc" <konhat88 at yahoo.gr
> <mailto:konhat88 at yahoo.gr>>
> To: "Salehzahi, Farshid (Health)" <Farshid.Salehzahi at act.gov.au
> <mailto:Farshid.Salehzahi at act.gov.au>>,
> "gate-users at lists.opengatecollaboration.org
> <mailto:gate-users at lists.opengatecollaboration.org>"
> <gate-users at lists.opengatecollaboration.org
> <mailto:gate-users at lists.opengatecollaboration.org>>
> Subject: [Gate-users] Σχετ: GATE Installation Problem
> [SEC=UNCLASSIFIED]
> Message-ID: <1484310233.5675768.1487839960381 at mail.yahoo.com
> <mailto:1484310233.5675768.1487839960381 at mail.yahoo.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
> Have source your geant4.sh in your bashrc??
> Best Regards,Konstantinos
> ----------------------------------------------------- Konstantinos
> Chatzipapas
> Medical Physicist, MSc
> University of Patras
> web page: Physics Magazine
>
> Στις 5:44 π.μ. Παρασκευή, 17 Φεβρουαρίου 2017, ο/η "Salehzahi,
> Farshid (Health)" <Farshid.Salehzahi at act.gov.au
> <mailto:Farshid.Salehzahi at act.gov.au>> έγραψε:
>
>
> <!--#yiv8120087482 _filtered #yiv8120087482 {font-family:"Cambria
> Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv8120087482
> {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered
> #yiv8120087482 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
> _filtered #yiv8120087482 {font-family:Garamond;panose-1:2 2 4 4 3 3 1 1
> 8 3;}#yiv8120087482 #yiv8120087482 p.yiv8120087482MsoNormal,
> #yiv8120087482 li.yiv8120087482MsoNormal, #yiv8120087482
> div.yiv8120087482MsoNormal
> {margin:0cm;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", "sans-serif";}#yiv8120087482
> a:link, #yiv8120087482 span.yiv8120087482MsoHyperlink
> {color:blue;text-decoration:underline;}#yiv8120087482 a:visited,
> #yiv8120087482 span.yiv8120087482MsoHyperlinkFollowed
> {color:purple;text-decoration:underline;}#yiv8120087482
> p.yiv8120087482MsoAcetate, #yiv8120087482 li.yiv8120087482MsoAcetate,
> #yiv8120087482 div.yiv8120087482MsoAcetate
> {margin:0cm;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma",
> "sans-serif";}#yiv8120087482 span.yiv8120087482EmailStyle17
> {font-family:"Garamond", "serif";color:windowtext;}#yiv8120087482
> span.yiv8120087482BalloonTextChar {font-family:"Tahoma",
> "sans-serif";}#yiv8120087482 .yiv8120087482MsoChpDefault {} _filtered
> #yiv8120087482 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv8120087482
> div.yiv8120087482WordSection1 {}-->Hello GATE-Users, One of my
> colleagues is trying to set up GATE_v7.2 (Geant4-10.2.3, Qt5.8) on an
> Ubuntu server. The Geant4 built successfully. The problem is that the
> GATE CMakeList.txt file tries to initiailise the Geant4_USE_FILE
> parameter. The Geant4_USE_FILE is not set correctly and he would like to
> know what file/variable etc this is trying to point to? I would
> really appreciate your prompt response to this matter as we are looking
> forward to using GATE’s applications. Yours Sincerely, Farshid
> Farshid Salehzahi (CSci, MIPEM, Clinical Scientist, MACPSEM)
> Head of Molecular and Nuclear Medicine Physics Section Medical Physics
> and Radiation Engineering ANU Visiting Fellow Research School of Physics
> and Engineering, ANU College of Physical and Mathematical Sciences TCH
> Phone: 6244 4091 | Fax: 6244 2977 |mailto:Farshid.Salehzahi at act.gov.au
> <mailto:Farshid.Salehzahi at act.gov.au> Clinical Support Services Canberra
> Hospital and Health Services We acknowledge the traditional custodians
> of the ACT, the Ngunnawal people. We acknowledge and respect their
> continuing culture and the contribution they make to the life of this
> city and this region.
> -----------------------------------------------------------------------
> This email, and any attachments, may be confidential and also
> privileged. If you are not the intended recipient, please notify the
> sender and delete all copies of this transmission along with any
> attachments immediately. You should not copy or use it for any purpose,
> nor disclose its contents to any other person.
> -----------------------------------------------------------------------
> _______________________________________________
> 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
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170223/4ed4fbbd/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.jpg
> Type: image/jpeg
> Size: 4912 bytes
> Desc: not available
> URL:
> <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170223/4ed4fbbd/attachment.jpg>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image002.png
> Type: image/png
> Size: 2353 bytes
> Desc: not available
> URL:
> <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170223/4ed4fbbd/attachment.png>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image003.png
> Type: image/png
> Size: 2784 bytes
> Desc: not available
> URL:
> <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20170223/4ed4fbbd/attachment-0001.png>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> 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
>
> ------------------------------
>
> End of Gate-users Digest, Vol 129, Issue 39
> *******************************************
>
>
>
>
> _______________________________________________
> 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