Dear all, I am trying to install root latest version obtain online with Geant 4 10.05 latest version on UBUNTU 16.04 using the following commands (having terminal in root folder)
For package installation I run the below command
sudo apt-get install cmake cmake-curses-gui build-essential libqt4-opengl-dev qt4-qmake libqt4-dev libx11-dev libxmu-dev libxpm-dev libxft-dev
It was successful
After this I tried
cmake cmake-curses-gui build-essential libqt4-opengl-dev qt4-qmake libqt4-dev libx11-dev libxmu-dev libxpm-dev libxft-dev
This command give the below error
khalid-hussain@ubuntu:~/Downloads/root$ cmake cmake-curses-gui build-essential libqt4-opengl-dev qt4-qmake libqt4-dev libx11-dev libxmu-dev libxpm-dev libxft-dev
CMake Error: The source directory “/home/khalid-hussain/Downloads/root/libxft-dev” does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
khalid-hussain@ubuntu:~/Downloads/root$
After this I run the below command using readme file instructions
./configure
This commands final few lines after execution are
1. Writing build/misc/root-help.el … done
2. Writing macros/html.C … done
3. Writing bin/thisroot.sh … done
4. Writing bin/thisroot.csh … done
5. Writing bin/setxrd.sh … done
6. Writing bin/setxrd.csh … done
7. Writing config.status … done
8. Enabled support for asimage, astiff, builtin_afterimage, builtin_lzma, builtin_llvm, explicitlink, fftw3, fitsio, gviz, genvector, krb5, ldap, mathmore, memstat, mysql, opengl, python, search_usrlocal, shadowpw, shared, ssl, tmva, vdt, x11, xft, xml.
9. To build ROOT type:
10. make
After this I enter the commands
make
These are the errors, please guide me
/home/khalid-hussain/Downloads/root/math/mathmore/src/GSLMultiFit.h: In member function ‘const double* ROOT::Math::GSLMultiFit::Gradient() const’:
/home/khalid-hussain/Downloads/root/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);**
^
/home/khalid-hussain/Downloads/root/math/mathmore/src/GSLMultiFit.h: In member function ‘const double* ROOT::Math::GSLMultiFit::CovarMatrix() const’:
/home/khalid-hussain/Downloads/root/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
khalid-hussain@ubuntu:~/Downloads/root$ cmake --build . --target install
Error: could not load cache
khalid-hussain@ubuntu:~/Downloads/root$
Please guide me
Thank you