Installation Problem

Hi,

I have problem to install and run ROOT. Sorry for the long following mail but I have tried to you explanation of what I was doing and what I get. It seems that there is a copy phase that is rise some errors and then stop the correct installation…

Let me know if you can help me.

Sincerely
Jean-Eric

Here is the steps:

  1. I have downloaded root_v5.26.00.source.tar.gz

  2. I am running 64bits Scientific Linux SL release 4.6 (Beryllium) with gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9). BUT I AM NOT ROOT MANAGER of the machine

  3. I have used the following call to configure

linuxx8664gcc --prefix=/exp/opera/kits/slc-4.6_gcc-3.4.6/ --etcdir=/exp/opera/ki
ts/slc-4.6_gcc-3.4.6/etc/root --enable-builtin-freetype --enable-builtin-zlib –
enable-cint5 --enable-exceptions --enable-explicitlink --enable-fftw3 --enable-g
sl-shared --enable-mathmore --enable-memstat --enable-minuit2 --enable-opengl –
enable-pch --enable-python --enable-reflex --enable-roofit --enable-rpath --enab
le-shared --enable-soversion --enable-xft --with-gsl-incdir=/exp/opera/kits/slc-
4.6_gcc-3.4.6/include --with-gsl-libdir=/exp/opera/kits/slc-4.6_gcc-3.4.6/lib –
with-fftw3-incdir=/exp/opera/kits/slc-4.6_gcc-3.4.6/include --with-fftw3-libdir=
/exp/opera/kits/slc-4.6_gcc-3.4.6/lib

4)Here is the Makefile.config

-- mode: makefile --

Makefile compiler definitions included by the top Makefile.

Used to override the compilers specified in the architecture

specific Makefiles.

CC = gcc
CXX = g++
F77 = gfortran
LD = g++
opera.lal.in2p3.fr:~/WorkArea/kits/root>more config/Makefile.config

-- mode: makefile --

Makefile definitions included by the top Makefile

ARCH := linuxx8664gcc

USECONFIG := TRUE
MKLIBOPTIONS := -v 5 26 00 -x

EXTRA_CFLAGS := -Iinclude -DR__HAVE_CONFIG
EXTRA_CXXFLAGS := -Iinclude -DR__HAVE_CONFIG
EXTRA_LDFLAGS := -Wl,-rpath,/exp/opera/kits/slc-4.6_gcc-3.4.6//lib/root
WINRTDEBUG := no
ENABLEPCH := yes
NOSTUBS := no
NOSTUBSTEST := no

GLBPATCHFLAGS :=
EXTRA_AUTHFLAGS:= -DR__SSL -DOPENSSL_NO_KRB5

BINDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//bin
LIBDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//lib/root
INCDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//include/root
ETCDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6/etc/root
MANDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/man/man1
DATADIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/root
ELISPDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/emacs/site-lisp
TTFFONTDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/root/fonts
MACRODIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/root/macros
SRCDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/root/src
ICONPATH := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/root/icons
CINTINCDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//lib/root/cint
DOCDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/doc/root
TESTDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/doc/root/test
TUTDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/doc/root/tutorials
ACLOCALDIR := /exp/opera/kits/slc-4.6_gcc-3.4.6//share/aclocal

X11LIBDIR := -L/usr/X11R6/lib64
XPMLIBDIR := -L/usr/X11R6/lib64
XPMLIB := -lXpm
XFTLIB := yes

EXCEPTIONS := yes
EXPLICITLINK := yes

ENABLETHREAD := yes
OSTHREADFLAG := -pthread
OSTHREADLIBDIR :=
OSTHREADLIB := -pthread

BUILTINFREETYPE:= yes

BUILTINPCRE := yes

BUILTINZLIB := yes
ZLIBLIBDIR :=
ZLIBCLILIB :=
ZLIBINCDIR := $(filter-out /usr/include, )

BUILDGL := yes
OPENGLLIBDIR :=
OPENGLULIB := -lGLU
OPENGLLIB := -lGL
OPENGLINCDIR := $(filter-out /usr/include, /usr/include)

BUILDLDAP := yes
LDAPLIBDIR :=
LDAPCLILIB := -lldap -llber
LDAPINCDIR := $(filter-out /usr/include, /usr/include)

BUILDMYSQL := yes
MYSQLLIBDIR :=
MYSQLCLILIB := -L/usr/lib64/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/
lib64 -lssl -lcrypto
MYSQLINCDIR := $(filter-out /usr/include, /usr/include/mysql)

BUILDORACLE := no
ORACLELIBDIR :=
ORACLECLILIB :=
ORACLEINCDIR := $(filter-out /usr/include, )

BUILDPGSQL := no
PGSQLLIBDIR :=
PGSQLCLILIB :=
PGSQLINCDIR := $(filter-out /usr/include, )

BUILDSAPDB := no
SAPDBLIBDIR :=
SAPDBCLILIB :=
SAPDBINCDIR := $(filter-out /usr/include, )

BUILDODBC := no
ODBCLIBDIR :=
ODBCCLILIB := -lodbc
ODBCINCDIR := $(filter-out /usr/include, )

BUILDQT := no
BUILDQTGSI := no
QTLIBDIR :=
QTLIB :=
QTINCDIR := $(filter-out /usr/include, )
QTVERS :=
QTMOCEXE :=

BUILDRFIO := no
SHIFTLIBDIR :=
SHIFTLIB :=
SHIFTINCDIR := $(filter-out /usr/include, )
SHIFTCFLAGS :=

BUILDCASTOR := no
CASTORLIBDIR :=
CASTORCLILIB :=
CASTORINCDIR := $(filter-out /usr/include, )
CASTORCFLAGS :=

BUILDDCAP := no
DCAPLIBDIR :=
DCAPLIB :=
DCAPINCDIR := $(filter-out /usr/include, /opt/d-cache/dcap/include)

BUILDFTGL := yes
FTGLLIBDIR := -Llib
FTGLLIBS := -lFTGL
FTGLINCDIR := $(filter-out /usr/include, include)
ifeq ($(BUILDFTGL), yes)
FTGLCPPFLAGS := -DBUILTIN_FTGL
endif

BUILDGLEW := yes
GLEWLIBDIR := -Llib
GLEWLIBS := -lGLEW
GLEWINCDIR := $(filter-out /usr/include, include)
ifeq ($(BUILDGLEW), yes)
GLEWCPPFLAGS := -DBUILTIN_GLEW
endif

BUILDGFAL := no
GFALLIBDIR :=
GFALCLILIB :=
GFALINCDIR := $(filter-out /usr/include, /opt/lcg/include)

BUILDG4ROOT := no
G4LIBDIR :=
G4INCDIR := $(filter-out /usr/include, )
CLHEPINCDIR := $(filter-out /usr/include, )

BUILDGLITE := no
GLITELIBDIR :=
GAWLIB :=
GAW_CPPFLAGS := $(filter-out /usr/include, )

BUILDMEMSTAT := yes

BUILDBONJOUR := no
DNSSDLIBDIR :=
DNSSDLIB :=
DNSSDINCDIR := $(filter-out /usr/include, )

BUILDCHIRP := no
CHIRPLIBDIR :=
CHIRPCLILIB :=
CHIRPINCDIR := $(filter-out /usr/include, )

BUILDHDFS := no
HDFSLIBDIR :=
HDFSCLILIB :=
HDFSINCDIR := $(filter-out /usr/include, )
JNIINCDIR := $(filter-out /usr/include, /usr/java/jdk1.5.0_14/include) $(fil
ter-out /usr/include, /usr/java/jdk1.5.0_14/include/linux)
JVMCLILIB := -ljvm
JVMLIBDIR := -L/usr/java/jdk1.5.0_14/jre/lib/amd64/server

BUILDALIEN := no
ALIENLIBDIR :=
ALIENCLILIB :=
ALIENINCDIR := $(filter-out /usr/include, )

BUILDASIMAGE := yes
BUILTINASIMAGE := yes
ASEXTRALIB := -ljpeg -ltiff -lungif -lpng -lz
ASEXTRALIBDIR :=
ASJPEGINCDIR := $(filter-out /usr/include, /usr/include)
ASPNGINCDIR := $(filter-out /usr/include, /usr/include)
ASTIFFINCDIR := $(filter-out /usr/include, /usr/include)
ASGIFINCDIR := $(filter-out /usr/include, /usr/include)
ASINCDIR := $(filter-out /usr/include, )
ASLIB :=
ASLIBDIR :=

BUILDFPYTHIA6 := no
FPYTHIA6LIBDIR :=
FPYTHIA6LIB :=
FPYTHIA6CPPFLAGS :=

BUILDFPYTHIA8 := no
FPYTHIA8INCDIR :=
FPYTHIA8LIBDIR :=
FPYTHIA8LIB :=

BUILDFFTW3 := yes
FFTW3LIBDIR :=
FFTW3LIB := /exp/opera/kits/slc-4.6_gcc-3.4.6/lib/libfftw3.a
FFTW3INCDIR := $(filter-out /usr/include, /exp/opera/kits/slc-4.6_gcc-3.4.6/i
nclude)

BUILDGVIZ := no
GRAPHVIZLIBDIR :=
GRAPHVIZLIB :=
GRAPHVIZINCDIR := $(filter-out /usr/include, )
GRAPHVIZCFLAGS :=

BUILDPYTHON := yes
PYTHONLIBDIR := -L/usr/lib64/python2.3/config
PYTHONLIB := -lpython2.3
PYTHONINCDIR := $(filter-out /usr/include, /usr/include/python2.3)
PYTHONLIBFLAGS :=

BUILDRUBY := no
RUBYLIBDIR :=
RUBYLIB :=
RUBYINCDIR := $(filter-out /usr/include, )

BUILDXML := yes
XMLLIBDIR :=
XMLCLILIB := -lxml2 -lz -lpthread -lm
XMLINCDIR := $(filter-out /usr/include, /usr/include/libxml2)

BUILDXRD := yes
XRDINCDIR :=
XRDLIBDIR :=
XRDADDOPTS :=
EXTRA_XRDFLAGS := -DUSENEWHDRS

SRPLIBDIR :=
SRPLIB :=
SRPINCDIR := $(filter-out /usr/include, )

BUILDSRPUTIL :=
SRPUTILLIBDIR :=
SRPUTILLIB :=
SRPUTILINCDIR := $(filter-out /usr/include, )

AFSLIB :=
AFSLIBDIR :=
AFSINCDIR :=
AFSEXTRACFLAGS :=
AFSSHARED :=

BUILDKRB5 := no
KRB5LIB :=
KRB5LIBDIR :=
KRB5INCDIR := $(filter-out /usr/include, )
KRB5INIT :=

COMERRLIB :=
COMERRLIBDIR :=

RESOLVLIB :=

CRYPTOLIB :=
CRYPTOLIBDIR :=

BUILDGLOBUS := no
GLOBUSLIB :=
GLOBUSLIBDIR :=
GLOBUSINCDIR := $(filter-out /usr/include, )
BUILDXRDGSI := yes

BUILDMONALISA := no
MONALISALIBDIR :=
MONALISACLILIB :=
MONALISAINCDIR := $(filter-out /usr/include, )

SSLLIB := -lssl -lcrypto
SSLLIBDIR :=
SSLINCDIR := $(filter-out /usr/include, /usr/include)
SSLSHARED := yes

SHADOWFLAGS := -DR__SHADOWPW
SHADOWLIB :=
SHADOWLIBDIR :=

BUILDGENVECTOR := yes

BUILDMATHMORE := yes
GSLFLAGS := $(filter-out -I/usr/include, -I/exp/opera/kits/slc-4.6_gcc-3.4
.6/include)
GSLLIBDIR := -L/exp/opera/kits/slc-4.6_gcc-3.4.6/lib
GSLLIBS := -lgsl -lgslcblas
GSLVERSION := 101400

BUILDCINT5 := yes
BUILDCINT7 :=
ifeq ($(BUILDCINT5)_$(BUILDCINT7),yes_yes)
BUILDBOTHCINT := yes
else
BUILDBOTHCINT :=
endif

BUILDCINTEX := yes

BUILDREFLEX := yes

BUILDROOFIT := yes

BUILDMINUIT2 := yes

BUILDUNURAN :=

BUILDGDML :=

BUILDTABLE :=

BUILDTMVA := yes

BUILDCLARENS := no
CLARENSINC := $(filter-out -I/usr/include, )
CLARENSLIBS :=

BUILDPEAC := no

CURSESINCDIR := $(filter-out -I/usr/include, -I/usr/include/ncurses)
CURSESLIBDIR :=
CURSESHDR := ncurses.h
CURSESLIB := -lncurses
BUILDEDITLINE := yes

CPPUNIT :=
GCCXML :=

ROOTDICTTYPE := cint

INSTALL := cp -dpR
INSTALLDATA := cp -dpR
INSTALLDIR := mkdir -p

ROOTDRPMREL := 1

  1. The make gives some errors at the end

Make all done
make[1]: Leaving directory /exp/opera/kits/root/net/xrootd/src/xrootd' Copying net/xrootd/src/xrootd/lib/libXrdOfs.so ... cp: preserving permissions forlib/libXrdOfs.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdBwm.so …
cp: preserving permissions for lib/libXrdBwm.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdSecunix.so ... cp: preserving permissions forlib/libXrdSecunix.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdRootd.so …
cp: preserving permissions for lib/libXrdRootd.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdSut.so ... cp: preserving permissions forlib/libXrdSut.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdSecgsi.so …
cp: preserving permissions for lib/libXrdSecgsi.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdProxy.so ... cp: preserving permissions forlib/libXrdProxy.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdCryptossl.so …
cp: preserving permissions for lib/libXrdCryptossl.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdCrypto.so ... cp: preserving permissions forlib/libXrdCrypto.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdSecsss.so …
cp: preserving permissions for lib/libXrdSecsss.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdPosix.so ... cp: preserving permissions forlib/libXrdPosix.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdPosixPreload.so …
cp: preserving permissions for lib/libXrdPosixPreload.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdSecgsiGMAPLDAP.so ... cp: preserving permissions forlib/libXrdSecgsiGMAPLDAP.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdClient.so …
cp: preserving permissions for lib/libXrdClient.so': Operation not supported Copying net/xrootd/src/xrootd/lib/libXrdSec.so ... cp: preserving permissions forlib/libXrdSec.so’: Operation not supported
Copying net/xrootd/src/xrootd/lib/libXrdSecpwd.so …
cp: preserving permissions for lib/libXrdSecpwd.so': Operation not supported Copying net/xrootd/src/xrootd/bin/xrootd executables ... cp: preserving permissions forbin/xrootd’: Operation not supported
Copying net/xrootd/src/xrootd/bin/olbd executables …
cp: preserving permissions for bin/olbd': Operation not supported Copying net/xrootd/src/xrootd/bin/xrdcp executables ... cp: preserving permissions forbin/xrdcp’: Operation not supported
Copying net/xrootd/src/xrootd/bin/xrd executables …
cp: preserving permissions for bin/xrd': Operation not supported Copying net/xrootd/src/xrootd/bin/xrdpwdadmin executables ... cp: preserving permissions forbin/xrdpwdadmin’: Operation not supported
Copying net/xrootd/src/xrootd/bin/cmsd executables …
cp: preserving permissions for bin/cmsd': Operation not supported Copying net/xrootd/src/xrootd/bin/xrdstagetool executables ... cp: preserving permissions forbin/xrdstagetool’: Operation not supported
Copying net/xrootd/src/xrootd/bin/xprep executables …
cp: preserving permissions for bin/xprep': Operation not supported Copying net/xrootd/src/xrootd/bin/xrdgsiproxy executables ... cp: preserving permissions forbin/xrdgsiproxy’: Operation not supported
cp -rp net/xrootd/src/xrootd/lib/libXrdClient.so lib/libXrdClient.so
cp: preserving permissions for `lib/libXrdClient.so’: Operation not supported
make: *** [lib/libXrdClient.so] Error 1
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx

But the libraries have been copied in the lib directory…

  1. running the “make install” gives straightly the error

cp -rp net/xrootd/src/xrootd/lib/libXrdClient.so lib/libXrdClient.so
cp: preserving permissions for `lib/libXrdClient.so’: Operation not supported
make: *** [lib/libXrdClient.so] Error 1

  1. I have tryied to compile in the “test” directory “hsimple” and I get

opera.lal.in2p3.fr:kits/root/test>make hsimple
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
make: root-config: Command not found
g++ -c hsimple.cxx
hsimple.cxx:20:19: TFile.h: No such file or directory
hsimple.cxx:21:17: TH1.h: No such file or directory
hsimple.cxx:22:17: TH2.h: No such file or directory
hsimple.cxx:23:22: TProfile.h: No such file or directory
hsimple.cxx:24:21: TNtuple.h: No such file or directory
hsimple.cxx:25:21: TRandom.h: No such file or directory
hsimple.cxx: In function int hsimple()': hsimple.cxx:41: error:TFile’ was not declared in this scope
hsimple.cxx:41: error: expected ;' before "hfile" hsimple.cxx:44: error:TH1F’ was not declared in this scope
hsimple.cxx:44: error: hpx' was not declared in this scope hsimple.cxx:44: error:TH1F’ is not a type
hsimple.cxx:45: error: TH2F' was not declared in this scope hsimple.cxx:45: error:hpxpy’ was not declared in this scope
hsimple.cxx:45: error: TH2F' is not a type hsimple.cxx:46: error:TProfile’ was not declared in this scope
hsimple.cxx:46: error: hprof' was not declared in this scope hsimple.cxx:46: error:TProfile’ is not a type
hsimple.cxx:47: error: TNtuple' was not declared in this scope hsimple.cxx:47: error:ntuple’ was not declared in this scope
hsimple.cxx:47: error: TNtuple' is not a type hsimple.cxx:50: error:Float_t’ was not declared in this scope
hsimple.cxx:50: error: expected ;' before "px" hsimple.cxx:51: error:Int_t’ was not declared in this scope
hsimple.cxx:51: error: expected ;' before "i" hsimple.cxx:51: error:i’ was not declared in this scope
hsimple.cxx:52: error: gRandom' was not declared in this scope hsimple.cxx:52: error:px’ was not declared in this scope
hsimple.cxx:52: error: py' was not declared in this scope hsimple.cxx:53: error:pz’ was not declared in this scope
hsimple.cxx:54: error: expected ;' before "random" hsimple.cxx:58: error:random’ was not declared in this scope
hsimple.cxx:62: error: `hfile’ was not declared in this scope
make: *** [hsimple.o] Error 1

Hi,

not to be pedantic, but do you need all these option set? Also if you don’t have root access at least must have permission to copy into the --prefix directory. Much simpler is to do the following:

cd

cd root
./configure
make
. bin/thisroot.sh

and of you go. For each new shell just make sure . ~/root/bin/thisroot.sh gets executed.

Cheers, Fons.

Dear Fons
I have done fresh install with strickly what you invite me to perform.
I have still this error at the end of the make phase:

…kits/root>make
cp -rp net/xrootd/src/xrootd/lib/libXrdClient.so lib/libXrdClient.so
cp: preserving permissions for `lib/libXrdClient.so’: Operation not supported
make: *** [lib/libXrdClient.so] Error 1

What is strange is that the libXrdClient.so seems to be copied so I do not anderstand the error message

-rwxr-xr-x+ 1 campagne wwwopera 3019136 May 21 13:35 lib/libXrdClient.so

Any idea ?
Jean-Eric