Hi,
I’m trying to build root on my Ubuntu 16.04. I downloaded root_v6.04.18.source.tar.gz from http://www.root.cern.ch, then installed required packages with:
sudo apt-get install git dpkg-dev make g++ gcc binutils libx11-dev libxpm-dev \
libxft-dev libxext-dev
as well as the optional packages with:
sudo apt-get install gfortran libssl-dev libpcre3-dev \
xlibmesa-glu-dev libglew1.5-dev libftgl-dev \
libmysqlclient-dev libfftw3-dev cfitsio-dev \
graphviz-dev libavahi-compat-libdnssd-dev \
libldap2-dev python-dev libxml2-dev libkrb5-dev \
libgsl0-dev libqt4-dev
no error so far, then I unpack the source with gunzip and tar, after that I run ./configure or ./configure --all and after a few seconds I run make and here is the problem:
It is compiling for about a half hour to whole hour according to if I used --all or not, and allways crash and report:
/mnt/c2ed5467-d780-432e-8c30-bdc2a91f9272/root/root-6.04.18/math/mathmore/src/GSLMultiFit.h:146:38: error: ‘struct gsl_multifit_fdfsolver’ has no member named ‘J’
gsl_multifit_gradient(fSolver->J, fSolver->f,fVec);
^
/mnt/c2ed5467-d780-432e-8c30-bdc2a91f9272/root/root-6.04.18/math/mathmore/src/GSLMultiFit.h: In member function ‘const double* ROOT::Math::GSLMultiFit::CovarMatrix() const’:
/mnt/c2ed5467-d780-432e-8c30-bdc2a91f9272/root/root-6.04.18/math/mathmore/src/GSLMultiFit.h:157:45: error: ‘struct gsl_multifit_fdfsolver’ has no member named ‘J’
int ret = gsl_multifit_covar(fSolver->J, kEpsrel, fCov);
^
Makefile:654: recipe for target 'math/mathmore/src/GSLNLSMinimizer.o' failed
make: *** [math/mathmore/src/GSLNLSMinimizer.o] Error 1
/mnt/c2ed5467-d780-432e-8c30-bdc2a91f9272/root/root-6.04.18 is path where I unpacked the source.
I tried as well using
cmake --build . --target install
but with the same crash.
Please note that I’m new to Ubuntu, but have allready spend 5 days trying to find answers on forums and so, also the OS is fresh installed (week or so).
Thanks for any help.