Farzaneh Adibpour | 25 May 2012 11:52
Picon

[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 error

bash :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
Timur Pocheptsov | 25 May 2012 11:59
Picon
Picon

RE: [ROOT] ''bash :root: command not found'' ERROR

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 error

bash :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
Farzaneh Adibpour | 25 May 2012 12:10
Picon

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 install


Thanks again and best regards
---
Farzaneh

On 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 error

bash :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.

Timur Pocheptsov | 25 May 2012 12:53
Picon
Picon

RE: [ROOT] ''bash :root: command not found'' ERROR

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 install


Thanks again and best regards
---
Farzaneh

On 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 error

bash :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.


Gmane