Hi everybody,
I am completely new to root and I am having some problems with the installation.
I downloaded the version 6.08 from the site. I unzipped and untar-ed in my home directory. But when I try to do a
./configure --prefix=$HOME/root
I get the following error saying
bash: ./configure: No such file or directory
Why is that? I thought that this would be the proper way of installing the package. Can anybody explain to me in simple terms what I am doing wrong?
Many thanks.
Christian
I believe you are following an old tutorial on how to install ROOT. Take a look here for the current way of installation: https://root.cern.ch/building-root
Edit: if you have downloaded the prebuild package, the only thing you need to do is:
source $HOME/root/bin/thisroot.sh
.
Best would be to add this to your .bashrc
file
Thank you for your reply.
I downloaded the source code for the 6.08 version.
So, if I understand correctly, I just need to to
cd root/
source $HOME/root/bin/thisroot.sh
Correct?
If you want to build ROOT yourself than you need to do all the steps in the link I sent you before (so building it with CMake). But since you downloaded the pre-built package already you just need to untar it at some place and source it. So in steps:
Download ROOT release for your platform from here: https://root.cern.ch/content/release-60806
Untar it at somewhere (like $HOME)
Open .bashrc
with your editor like so: gedit ~/.bashrc
At the end of this file add the following line: source $HOME/root/bin/thisroot.sh
and save it.
Open a terminal and enter the command root
.
Thank you for your reply. Somehow this did not work.
I untar-ed my root in my home directory with path
/home/christianwos/root-6.09.02
I am now following the directions in the link that you provided.
So, can you tell me if my steps are correct?
I create a directory in my home
mkdir root-build
cd root-build
cmake /home/christianwos/root-6.09.02
make -jN
This is a step where I am confused a bit. Do I just type from the terminal?
.bin/thisroot.sh
Then try running root?
Sorry if any of this sounds tremendously stupid, but I am completely new to all of this.
Thank you very much.
Yes or
, ${HOME}/root-build/bin/thisroot.sh
(or .csh you use tcsh)
Then try running root?
Yes
Cheers,
Philippe.
Thank you. But thisroot.sh is not in the build directoty, but in the root-6.09.02 folder that I downloaded.
Axel
May 15, 2017, 8:35am
8
Hi,
Which file did you download exactly? The source tar.gz should not contain even a bin/ directory…
Axel.
system
Closed
May 29, 2017, 8:48am
9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.