Problem in installing root on Linux Mint 17.1 Rebecca

Hello,
I’ve recently installed Linux Mint 17.1 Rebecca, but I’m not an adept at it.
I need Root for academic purposes, so a downloaded version 6.02/08 and I tried to follow this instruction:
http://wiki.ubuntu-it.org/Programmazione/RootCern
I run:

Then I typed:

and I got this error:

bin/rmkdepend -R -fgraf2d/x11ttf/src/TGX11TTF.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -std=c++11 -Wno-deprecated-declarations -pthread -I/usr/include/freetype2 -D__cplusplus -- /home/eleonora/root-6.02.08/graf2d/x11ttf/src/TGX11TTF.cxx g++ -O2 -DNDEBUG -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -std=c++11 -Wno-deprecated-declarations -pthread -I/usr/include/freetype2 -o graf2d/x11ttf/src/TGX11TTF.o -c /home/eleonora/root-6.02.08/graf2d/x11ttf/src/TGX11TTF.cxx Generating dictionary graf2d/x11ttf/src/G__GX11TTF.cxx... bin/rootcling -rootbuild -f graf2d/x11ttf/src/G__GX11TTF.cxx -s lib/libGX11TTF.so -rml libGX11TTF.so -rmf lib/libGX11TTF.rootmap -m lib/libCore_rdict.pcm -m lib/libGX11._rdict.pcm -m lib/libGraf._rdict.pcm -c -writeEmptyRootPCM -I/usr/include/freetype2 /home/eleonora/root-6.02.08/graf2d/x11ttf/inc/TGX11TTF.h /home/eleonora/root-6.02.08/graf2d/x11ttf/inc/LinkDef.h bin/rmkdepend -R -fgraf2d/x11ttf/src/G__GX11TTF.d -Y -w 1000 -- -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -std=c++11 -Wno-deprecated-declarations -pthread -I/usr/include/freetype2 -D__cplusplus -- graf2d/x11ttf/src/G__GX11TTF.cxx g++ -pipe -m64 -Wshadow -Wall -W -Woverloaded-virtual -fPIC -Iinclude -std=c++11 -Wno-deprecated-declarations -pthread -I/usr/include/freetype2 -I. -o graf2d/x11ttf/src/G__GX11TTF.o -c graf2d/x11ttf/src/G__GX11TTF.cxx g++ -shared -Wl,-soname,libGX11TTF.so -m64 -O2 -DNDEBUG -Wl,--no-undefined -Wl,--as-needed -o lib/libGX11TTF.so graf2d/x11ttf/src/TGX11TTF.o graf2d/x11ttf/src/G__GX11TTF.o -L/usr/lib/x86_64-linux-gnu -lfreetype -lz -lpng12 -Llib -lGX11 -lGraf -lXpm -lXext -lX11 -lXft -Llib -lCore -ldl graf2d/x11ttf/src/TGX11TTF.o: In function `TNamed::ShowMembers(TMemberInspector&) const': TGX11TTF.cxx:(.text._ZNK6TNamed11ShowMembersER16TMemberInspector[_ZNK6TNamed11ShowMembersER16TMemberInspector]+0x21): undefined reference to `ROOT::Class_ShowMembers(TClass*, void const*, TMemberInspector&)' graf2d/x11ttf/src/TGX11TTF.o: In function `TGX11TTF::ShowMembers(TMemberInspector&) const': TGX11TTF.cxx:(.text._ZNK8TGX11TTF11ShowMembersER16TMemberInspector[_ZNK8TGX11TTF11ShowMembersER16TMemberInspector]+0x21): undefined reference to `ROOT::Class_ShowMembers(TClass*, void const*, TMemberInspector&)' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x310): undefined reference to `TVirtualX::GetFontAscent(char const*) const' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x320): undefined reference to `TVirtualX::GetFontDescent(char const*) const' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x960): undefined reference to `TAttLine::SetLineColorAlpha(short, float)' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0x9f0): undefined reference to `TAttFill::SetFillColorAlpha(short, float)' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0xa98): undefined reference to `TAttText::SetTextColorAlpha(short, float)' graf2d/x11ttf/src/TGX11TTF.o:(.data.rel.ro._ZTV8TGX11TTF[_ZTV8TGX11TTF]+0xb30): undefined reference to `TAttMarker::SetMarkerColorAlpha(short, float)' graf2d/x11ttf/src/G__GX11TTF.o: In function `ROOT::GenerateInitInstanceLocal(TGX11TTF const*)': G__GX11TTF.cxx:(.text+0x110): undefined reference to `ROOT::TGenericClassInfo::TGenericClassInfo(char const*, int, char const*, int, std::type_info const&, ROOT::TInitBehavior const*, TClass* (*)(), TVirtualIsAProxy*, int, int)' graf2d/x11ttf/src/G__GX11TTF.o: In function `TGX11TTF::Class()': G__GX11TTF.cxx:(.text+0x2b8): undefined reference to `gInterpreterMutex' G__GX11TTF.cxx:(.text+0x2f0): undefined reference to `gInterpreterMutex' G__GX11TTF.cxx:(.text+0x32c): undefined reference to `gInterpreterMutex' G__GX11TTF.cxx:(.text+0x35b): undefined reference to `gInterpreterMutex' graf2d/x11ttf/src/G__GX11TTF.o: In function `(anonymous namespace)::TriggerDictionaryInitialization_libGX11TTF_Impl()': G__GX11TTF.cxx:(.text+0x556): undefined reference to `TROOT::RegisterModule(char const*, char const**, char const**, char const*, char const*, void (*)(), std::vector<std::pair<std::string, int>, std::allocator<std::pair<std::string, int> > > const&, char const**)' collect2: error: ld returned 1 exit status make: *** [lib/libGX11TTF.so] Error 1
I tried to reinstall needed packages that I found here:
https://root.cern.ch/drupal/content/build-prerequisites
but it didn’t work, and honestly I can’t understand very much about my error.
Thanks in advance.

Do you need absolutely ROOT6? If not, could you try to install ROOT 5.34/30 and see if you manage to install it?

Hi,

This is not caused by ROOT6 - it’s due to an inconsistent build: libCore is not what it should be.

make distclean
make -j4

And you don’t need to run “make cintdlls”. The Ubuntu page is wrong; you should not call “make install” either for the configuration without --prefix. Also, there is no reason to put ROOT into something writable by ROOT, and definitely not into /usr/share/root. See root.cern.ch/drupal/content/ins … oot-source for the proper documentation.

Cheers, Axel.