29 May 2012 13:01
RE: [ROOT] ''bash :root: command not found'' ERROR
Timur Pocheptsov <Timur.Pocheptsov <at> cern.ch>
2012-05-29 11:01:19 GMT
2012-05-29 11:01:19 GMT
Well, actually in these 3 exports you have to modify only the first one, replacing '<path>' with actual path where your ROOT is. if your ROOT's installation directory is
'/usr/local/planetocosmics/planetocosmics_V2/root_5.16.00h',
you just do
export ROOTSYS=/usr/local/planetocosmics/planetocosmics_V2/root_5.16.00h
and
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
From: Farzaneh Adibpour [f.adibpour <at> gmail.com]
Sent: 29 May 2012 12:40
To: Timur Pocheptsov
Cc: roottalk <at> lxroot01.cern.ch
Subject: Re: [ROOT] ''bash :root: command not found'' ERROR
Sent: 29 May 2012 12:40
To: Timur Pocheptsov
Cc: roottalk <at> lxroot01.cern.ch
Subject: Re: [ROOT] ''bash :root: command not found'' ERROR
Thanks for your help!
As I have checked the user guide,I should set these variables:
export ROOTSYS=<path>/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
But still the problem is not solved .
Instead of <path> I have added directory in which the shell look to find the command I have typed(export ROOTSYS=/usr/local/planetocosmics/planetocosmics_V2/root_5.16.00h/root). should
I also add this directory instead of PATH or this must be unchanged?
thanks again
--
Farzaneh
On Fri, May 25, 2012 at 12:53 PM, Timur Pocheptsov
<Timur.Pocheptsov <at> cern.ch> wrote:
From http://root.cern.ch/drupal/content/installing-root-source:"Add bin/ to PATH and lib/ to LD_LIBRARY_PATH."From: f.adibpour <at> gmail.com [f.adibpour <at> gmail.com] on behalf of Farzaneh Adibpour [adibpour <at> razi.tums.ac.ir]
Sent: 25 May 2012 12:10
To: Timur Pocheptsov
Cc: roottalk <at> lxroot01.cern.ch
Subject: Re: [ROOT] ''bash :root: command not found'' ERROR
Thanks for your fast answer.This is what I have done during root installation:>cd /farzaneh/planetocosmics/planetocosmics_V2/root_5.16.00h/ >./configure>make>export ROOTSYS=/usr/local/planetocosmics/planetocosmics_V2/root_5.16.00h/root>make installThanks again and best regards---FarzanehOn Fri, May 25, 2012 at 11:59 AM, Timur Pocheptsov <Timur.Pocheptsov <at> cern.ch> wrote:I do not know, how you installed ROOT, but the very first answer - yes, you have to set environment variables. With ROOT it's easy now, in your ROOT's directory, in bin subdirectory there is a script thisroot.sh which sets environment variables.From: owner-roottalk <at> root.cern.ch [owner-roottalk <at> root.cern.ch] on behalf of Farzaneh Adibpour [adibpour <at> razi.tums.ac.ir]
Sent: 25 May 2012 11:52
To: roottalk <at> lxroot01.cern.ch
Subject: [ROOT] ''bash :root: command not found'' ERROR
Dear Rooters,I'm a novice user and I have stupid question.I have installed root for analysing PLANTOCOSMICS outputs. I didn't get any error message during installation.But when I type the command '' root myfilename.root '' I will get the following errorbash :root: command not found
Do you think that I didn't set the enviroment variable correctly or is there other problem?Thanks in advance.cheers---Farzaneh
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
RSS Feed