Entering edit mode
Steven
▴
110
@steven-5432
Last seen 10.3 years ago
Hi all,
I am having trouble getting package xps to work, and would really
appreciate any help I can get.
I have succesfully installed root_v5.34.01 on my ubuntu 12.04 OS
as described on in the xps package readme file I added ROOTSYS to PATH
and LD_LIBRARY_PATH by entering these lines in the terminal:
export ROOTSYS=~/ROOT/root (I make a folder ROOT in which I unpacked
root.)
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
I also added above 2 lines in .bashrc
root seems to run fine.
next, I download xps_1.16.0.tar.gz and run:
sudo R CMD INSTALL xps_1.16.0.tar.gz
I get the following error message:
xps configuration error:
You must set the shell variable ROOTSYS to the
directory where ROOT resides and re-run R CMD INSTALL
e.g., (using Bourne shell syntax):
export ROOTSYS=/opt/root
export "PATH=$ROOTSYS/bin:$PATH"
R CMD INSTALL xps
So apparently ROOTSYS variables are not set right? I tried anything I
could think of but I am lacking in understanding here.
Thanks alot!
sincerely
Steven Wink