Print

Print


Hello,

yes, I had not realised that there is another script update_VM.sh. Now I ran it again and it worked fine. Thank you.


--
Dr. Christoph Kolbitsch
Medical Physics and Metrological Information Technologies
Physikalisch-Technische Bundesanstalt
Abbestr. 2-12
10587 Berlin, Germany
phone: +49 30 3481 7761



Von:        "Thielemans, Kris" <[log in to unmask]>
An:        [log in to unmask]
Datum:        09.12.2016 08:19
Betreff:        Re: CCPPETMR_VM
Gesendet von:        CCP-PETMR Developers list <[log in to unmask]>




 
Hi Christoph
 
I’ve just downloaded the VM again and started from scratch. ‘update_VM.sh’ worked for me, as suggested by Evgueni. You probably got confused by the scripts in the home directory, which shouldn’t have been there.
 
Kris
 
PS: the reason for the 2 scripts is that update_VM.sh get a new version of UPDATE.sh, which actually does the work. This way, we can modify UPDATE.sh as necessary after people have downloaded the VM.
 
PS: first time, update_VM.sh will take a long time now, as it needs to get and build updates to Gadgetron and STIR. Next time it should be faster again.
From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Evgueni Ovtchinnikov
Sent:
08 December 2016 12:54
To:
[log in to unmask]
Subject:
Re: CCPPETMR_VM

 
The shell script update_VM.sh is in /usr/local/bin, which is in VM path (type echo $PATH to see it).
 
So, no matter in which folder you type ‘update_VM.sh’, it should work.
 
If it does not, please send me the outputs that you get when you type ‘echo $PATH’ and ‘update_VM.sh’.
 
From: CCP-PETMR Developers list [mailto:[log in to unmask]] On Behalf Of Christoph Kolbitsch
Sent:
08 December 2016 12:41
To:
[log in to unmask]
Subject:
Re: CCPPETMR_VM

 
Could you please update the instructions for the CCPETMR_VM on the github site which one needs to be used and in what order? The instructions say:         update_VM.sh

but this does not work because the LXTerminal opens where UPDATE.sh is located and not update_VM.sh.



--

Dr. Christoph Kolbitsch

Medical Physics and Metrological Information Technologies

Physikalisch-Technische Bundesanstalt

Abbestr. 2-12

10587 Berlin, Germany

phone: +49 30 3481 7761



Von:        
Evgueni Ovtchinnikov <[log in to unmask]>
An:        
[log in to unmask]
Datum:        
08.12.2016 13:08
Betreff:        
Re: CCPPETMR_VM
Gesendet von:        
CCP-PETMR Developers list <[log in to unmask]>





No, update_VM.sh is not the same as UPDATE.sh (you can see for yourself – see /usr/local/bin/update_VM.sh).

 
From:
CCP-PETMR Developers list [
mailto:[log in to unmask]] On Behalf Of Christoph Kolbitsch
Sent:
07 December 2016 20:39
To:
[log in to unmask]
Subject:
CCPPETMR_VM

 

Hello,


I downloaded the VM from
http://www.ccppetmr.ac.uk/downloads and I ran the "UPDATE.sh" script. (In the manual it is refered to "update_VM.sh and it had to be made executable at first use).

I received the following error during "Updating your STIR installation":

create mode 100644 src/recon_test/recontest.cxx
create mode 100644 src/scatter_buildblock/CreateTailMaskFromACFs.cxx
create mode 100644 src/test/test_export_array.cxx
./UPDATE.sh: line 47: cd: /home/stir/devel/build/STIR/Release: No such file or directory

I created the directory "/home/stir/devel/build/STIR/Release" and ran "UPDATE.sh" again but then I receive the error:
Updating your STIR installation
Already up-to-date.
make: *** No rule to make target 'install'. Stop.

Has anyone had a similar problem before?
Kind regards,
Christoph