Closed F1HBME closed 5 years ago
workspace/F/Gate-build$ make install [ 4%] Built target MetaIO [ 6%] Built target itkzlib [100%] Built target Gate Install the project... -- Install configuration: "Release" -- Installing: /workspace/F/Gate-install/bin/Gate -- Set runtime path of "/workspace/F/Gate-install/bin/Gate" to ""
/workspace/F/Gate-build$ source your_file.bashrc bash: your_file.bashrc: No such file or directory
In linux, there is a file ".bashrc" in your home directory. This file is a script that runs at startup, which initialises environment variables etc. The section in the Wiki "Environment configuration and starting GATE" instructs you on commands you should put in a bashrc script. Therefore, unless you create it, "your_file.bashrc" will not exist.
The simplest way to proceed would be to add the lines:
source /PATH_TO/root_v6.XX/bin/thisroot.sh source /PATH_TO/geant4.10.03-install/bin/geant4.sh export PATH=$PATH:/PATH_TO/gate_v8.0-install/bin
to your .bashrc file, replatcing PATH_TO with your installation paths. You can access this by editing the file
~/.bashrc
Then, if you run the command "bash" then Gate should be sourced and you can proceed from there.
On Tue, 8 Jan 2019 at 13:46, F1HBME notifications@github.com wrote:
workspace/F/Gate-build$ make install [ 4%] Built target MetaIO [ 6%] Built target itkzlib [100%] Built target Gate Install the project... -- Install configuration: "Release" -- Installing: /workspace/F/Gate-install/bin/Gate -- Set runtime path of "/workspace/F/Gate-install/bin/Gate" to ""
/workspace/F/Gate-build$ source your_file.bashrc bash: your_file.bashrc: No such file or directory
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenGATE/Gate/issues/208#issuecomment-452303384, or mute the thread https://github.com/notifications/unsubscribe-auth/AJRf7jDzCbAyGz_c-dEHZbtTeFJ67Sm8ks5vBKEtgaJpZM4Z1fnq .
In linux, there is a file ".bashrc" in your home directory. This file is a script that runs at startup, which initialises environment variables etc. The section in the Wiki "Environment configuration and starting GATE" instructs you on commands you should put in a bashrc script. Therefore, unless you create it, "your_file.bashrc" will not exist. The simplest way to proceed would be to add the lines: source /PATH_TO/root_v6.XX/bin/thisroot.sh source /PATH_TO/geant4.10.03-install/bin/geant4.sh export PATH=$PATH:/PATH_TO/gate_v8.0-install/bin to your .bashrc file, replatcing PATH_TO with your installation paths. You can access this by editing the file ~/.bashrc Then, if you run the command "bash" then Gate should be sourced and you can proceed from there. … On Tue, 8 Jan 2019 at 13:46, F1HBME @.***> wrote: workspace/F/Gate-build$ make install [ 4%] Built target MetaIO [ 6%] Built target itkzlib [100%] Built target Gate Install the project... -- Install configuration: "Release" -- Installing: /workspace/F/Gate-install/bin/Gate -- Set runtime path of "/workspace/F/Gate-install/bin/Gate" to "" /workspace/F/Gate-build$ source your_file.bashrc bash: your_file.bashrc: No such file or directory — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#208 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AJRf7jDzCbAyGz_c-dEHZbtTeFJ67Sm8ks5vBKEtgaJpZM4Z1fnq .
I have added these lines, but when I run the command bash, I did not see "Gate". In fact, this is my first time installing Gate. I found that there was only one folder "bin" in "Gate-install". Therefore, I'd like to know if it is normal situation.
Side note: for topics like this we have a mailing list, you can sign up here (and browse the archives): http://www.opengatecollaboration.org/mailinglist
Also: please have another look at the wiki page. I tried to clarify things a bit. I noticed that there was some outdated and unclear stuff in there. Note that I disagree with @smngr about where to save the environment code. I think it should not be directly in the .bashrc file, because this will bite users who need to work with multiple Gate versions/installs (for instance, because they are developing new features or if they need to validate that a new release is compatible with an older one that they have used).
Hi David, I’m in agreement with the mailing list by I have signed more than 5 times to this list since September and I haven’t received an answer. I guess the people asking here, they are in the situation
Sent from my iPhone
On Jan 9, 2019, at 3:10 AM, David Boersma notifications@github.com wrote:
Side note: for topics like this we have a mailing list, you can sign up here (and browse the archives): http://www.opengatecollaboration.org/mailinglist
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Hi David, I’m in agreement with the mailing list by I have signed more than 5 times to this list since September and I haven’t received an answer. I guess the people asking here, they are in the situation
Hi @ingridvalo , we feel your pain and we are sorry. The "Gate collaboration" is actually a pretty small group of people, who are answering user questions in their spare time. Sometimes we are all too busy to reply to the mailing list, we have deadlines to make and commitments to fulfil. We hope that other users will sometimes be able to answer the questions on the list (especially the beginners' questions), but we are not always that lucky. Sometimes the questions must be answered by a particular expert, who may not have time on short notice or sometimes has even moved on to some other field and does not read the Gate mailing list any more. None of these issues can be solved by asking your question here on GitHub instead of the mailing list. If we don't have time for the answering mailing list, then we won't have time for the issues either.
It could be that for some reason your gate-user mails are filtered away by the spam filters. That happens sometimes. For instance, I have searched "ingrid" and "valo" in my mail client, and I did not find any of your mails. So maybe this is what happened to your 5+ questions. I'm not sure how to fix/avoid that, I'm not a spam filter expert. In this case you may indeed get more attention here in the github issues, but it's a far from ideal solution.
I am trying to install GATE, according to the wiki, after "make install" i should do "source your_file.bashrc"but No such file or dictionary. What should I do?