Re: Unable to Install ROOT on ubuntu

From: seforo mohlalisi <seforomohlalisi_at_yahoo.co.uk>
Date: Tue, 15 Apr 2008 20:28:08 +0000 (GMT)
I still have a couple of missing libraries. Below is the output of the configuration. I try to search for the packages containing this libraries but I don't find them. Can someone help me find the packages still appended with "no"

Configuring for linux
Checking for libX11 ... /usr/lib
Checking for X11/Xlib.h ... /usr/include
Checking for X11/Xft/Xft.h ... /usr/include
Checking for libXpm ... /usr/lib
Checking for libXft ... /usr/lib
Checking whether to build included libfreetype6 ... yes
Checking whether to build included libftgl ... yes
Checking whether to build included libpcre ... yes
Checking whether to build included zlib ... yes
Checking for GL/gl.h ... /usr/include
Checking for libGL, or libMesaGL ... /usr/lib
Checking for libGLU, or libMesaGLU ... /usr/lib
Checking for mysql_config ... /usr/bin/mysql_config
Checking for libmysqlclient version >= 3.23.* ... ok
Checking for mysql.h ... /usr/include/mysql
Checking for occi.h ... no
Checking for libclntsh, or oci ... no
Checking for libocci, or oraocci10 ... no
Checking for libpq-fe.h ... no
Checking for libpq ... no
Checking for sql.h ... no
Checking for libsqlod ... no
Checking for sqlext.h ... no
Checking for libiodbc, libodbc, or odbc32 ... no
Checking for rfio_api.h ... no
Checking for librfio, libshift, shiftmd, or shift ... no
Checking for rfio_api.h ... no
Checking for stager_api.h ... no
Checking for libshift, shiftmd, or shift ... no
Checking for gfal_api.h ... no
Checking for libgfal ... no
Checking for G4Navigator.hh ... no
Checking for libG4navigation ... no
Checking for CLHEP/Vector/Rotation.h ... no
Checking for ApMon.h ... no
Checking for libapmoncpp ... no
Checking for monalisawsclient.h ... no
Checking for libmonalisawsclient ... no
Checking for fftw3.h ... no
Checking for libfftw3, or libfftw3-3 ... no
Checking for libpacklib_noshift, libpacklib, packmd, or packlib ... no
Checking for libkernlib_noshift, libkernlib, kernmd, or kernlib ... no
Using custom pythia6 library with SINGLE underscore
Checking for dcap.h ... no
Checking for libdcap ... no
Checking for chirp_client.h ... no
Checking for libchirp_client ... no
Checking for gapiUI.h ... no
Checking for libgapiUI ... no
Checking for jpeglib.h ... no
Checking for png.h ... no
Checking for tiffio.h ... no
Checking for gif_lib.h ... no
Checking for libjpeg ... no
Checking for libtiff ... no
Checking for libungif ... no
Checking for libz ... /usr/lib
Checking for libpng ... no
Checking whether to build included libAfterImage ... yes
Checking for ldap.h ... no
Checking for libldap ... no
Checking for Python.h ... no
Checking for python2.5, libpython2.5, libpython, python, or Python ... no
Checking for xml2-config ... not found
Checking for libxml/tree.h ... no
Checking for libxml2_a, or libxml2 ... no
Checking whether to build xrootd ... yes
Checking for libssl ... no
Checking for t_server.h ... no
Checking for libsrp ... no
Checking for libgmp ... no
Checking for libmisc ... no
Checking for pwauth.h ... no
Checking for krb5.h ... no
Checking for libk5crypto ... no
Checking whether we're using MIT Kerberos ... no
Checking for shadow passwords ... yes
Checking for gsl/gsl_version.h ... no
Checking for gsl-config ... not found
Checking whether to build libMathMore ... no
Checking whether to build libMathCore ... yes
Checking whether to build CINT7 ... no
Checking whether to build libCintex ... yes
Checking whether to build libReflex ... yes
Checking whether to build libRooFit ... yes
Checking whether to build libMinuit2 ... yes
Checking whether to build libUnuran ... no
Checking whether to build libGdml ... no
Checking whether to build libTable ... no
Checking for Clarens support ... no
Checking for PEAC support ... no


Regards,
Seforo Mohlalisi

Cell: +27 79 226 3682
Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk

--- On Mon, 14/4/08, Thiago Tomei <Thiago.Tomei@cern.ch> wrote:
From: Thiago Tomei <Thiago.Tomei@cern.ch>
Subject: Re: [ROOT] Unable to Install ROOT on ubuntu
To: roottalk@root.cern.ch
Date: Monday, 14 April, 2008, 2:29 PM

For this error:

g++ -shared -Wl,-soname,libGX11.so -m32 -O2 -o lib/libGX11.so
x11/src/GX11Gui.o x11/src/Rotated.o x11/src/TGX11.o
x11/src/gifdecode.o x11/src/gifencode.o x11/src/gifquantize.o
x11/src/G__X11.o -lXpm -lXext -lX11 -lXft
/usr/bin/ld: cannot find -lXft
collect2: ld returned 1 exit status
make: *** [lib/libGX11.so] Error 1

the solution is to install libxft-dev package

However, I have a question. Isn't the ./configure script supposed to
warn about the lack of needed libraries? It actually says that the lib
Xft was not found, but an error message at the end of the output would
be nice. ROOT developers, would it be possible to do that?

Regards,
Thiago

On Mon, Apr 14, 2008 at 11:30 AM, Leandro Franco <lfranco@cern.ch> wrote:
> Hi... I remember someone asked the same question like a year ago and I
went
> through the process of installing it on a completely new Ubuntu machine
> (Feisty Fawn).
>
> This is what I wrote in that e-mail (I hope it helps):
>
>
>
> Open a terminal
>
> Try to install ROOT form cvs as shown in
> http://root.cern.ch/root/Install.html
>
> $cvs -d :pserver:cvs@root.cern.ch:/user/cvs login
>
> first problem, cvs is not installed.
>
> We get the message:
> The program 'cvs' can be found in the following packages:
> * cvsnt
> * cvs
> Try: sudo apt-get install <selected package>
> bash: cvs: command not found
>
> so we try:
>
> $sudo apt-get update
> $sudo apt-get install cvs
>
> (it takes like two minutes to perform the installation)
>
> we try the cvs login again
>
> $cvs -d :pserver:cvs@root.cern.ch:/user/cvs login
>
> and it works.
>
>
> so now we download the ROOT source:
>
> $cvs -d :pserver:cvs@root.cern.ch:/user/cvs co root
>
> after a moment we have a new directory called root
>
> $cd root
>
> and we execute configure
>
> $./configure
>
> the configure script starts and we get the first problem
>
> Checking for libX11 ... no
> configure: libX11 (package x11-devel) MUST be installed
>
> this library is found in the package xorg-dev.. so we try:
>
> $sudo apt-get install xorg-dev
>
> we try configure again and this time it works, now we compile it:
>
> $make
> make: g++: Command not found
>
> as before, we realize we have to install g++ :
>
> $sudo apt-get install g++
>
> then make again:
>
> $make
>
> now we take a break a read our e-mail (and probably the news too since it
> might
> take a while)
>
> after that, you can either install it with
>
> $make install
>
> or run it from the actual directory with
>
> $ source bin/thisroot.sh
> $ root
>
> if you see a splash window with a naked lady then all your work wasn't
in
> vain.
>
> Enjoy ROOT.
>
>
>
> Cheers,
> Leo
>
>
>
>
>
>
>
>
>
>
> On Apr 14, 2008, at 7:22 AM, seforo mohlalisi wrote:
>
> Every package I install just solves a small error. Can someone who install
> root on ubuntu before please tell all the necessary packages I need to
> install.
>
> Now the compilation error is:
>
> make: g77: Command not found
> cp reflex/python/genreflex/gccdemangler.py
> lib/python/genreflex/gccdemangler.py
> cp reflex/python/genreflex/gencapa.py lib/python/genreflex/gencapa.py
> cp reflex/python/genreflex/gendict06.py lib/python/genreflex/gendict06.py
> cp reflex/python/genreflex/gendict.py lib/python/genreflex/gendict.py
> cp reflex/python/genreflex/genheader.py lib/python/genreflex/genheader.py
> cp reflex/python/genreflex/genreflex06.py
> lib/python/genreflex/genreflex06.py
> cp reflex/python/genreflex/genreflex.py lib/python/genreflex/genreflex.py
> cp reflex/python/genreflex/genreflex-rootcint.py
> lib/python/genreflex/genreflex-rootcint.py
> cp reflex/python/genreflex/genrootmap.py
lib/python/genreflex/genrootmap.py
> cp reflex/python/genreflex/selclass.py lib/python/genreflex/selclass.py
> 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
> Makefile.arch:532: *** invalid architecture. Stop.
>
> Regards,
> Seforo Mohlalisi
>
> Cell: +27 79 226 3682
> Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk
>
> --- On Sun, 13/4/08, seforo mohlalisi <seforomohlalisi@yahoo.co.uk>
wrote:
> From: seforo mohlalisi <seforomohlalisi@yahoo.co.uk>
> Subject: Re: [ROOT] Unable to Install ROOT on ubuntu
> To: roottalk@root.cern.ch
> Date: Sunday, 13 April, 2008, 5:44 PM
>
>
> I have installed libxext-dev. Now I am getting a new error:
>
> g++ -shared -Wl,-soname,libGX11.so -m32 -O2 -o lib/libGX11.so
> x11/src/GX11Gui.o x11/src/Rotated.o x11/src/TGX11.o x11/src/gifdecode.o
> x11/src/gifencode.o x11/src/gifquantize.o x11/src/G__X11.o -lXpm -lXext
> -lX11 -lXft
> /usr/bin/ld: cannot find -lXft
> collect2: ld returned 1 exit status
> make: *** [lib/libGX11.so] Error 1
>
> Regards,
> Seforo Mohlalisi
>
> Cell: +27 79 226 3682
> Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk
>
> --- On Sun, 13/4/08, Bertrand Bellenot <bertrand.bellenot@cern.ch>
wrote:
> From: Bertrand Bellenot <bertrand.bellenot@cern.ch>
> Subject: Re: [ROOT] Unable to Install ROOT on ubuntu
> To: seforomohlalisi@yahoo.co.uk, roottalk@root.cern.ch
> Date: Sunday, 13 April, 2008, 4:41 PM
>
>
> Hello,
>
> You have to install libext-dev package too.
>
> Cheers,
> Bertrand.
>
> ----- Original Message -----
> From: seforo mohlalisi
> To: roottalk@root.cern.ch
> Sent: Sunday, April 13, 2008 3:29 PM
> Subject: Re: [ROOT] Unable to Install ROOT on ubuntu
>
> Hello,
>
> I am able to compile c++ programs, I installed a compiler sometime ago. I
> have also just installed libX11. Now I am getting this error:
>
> g++ -O2 -pipe -m32 -Wall -W -Woverloaded-virtual -fPIC -Iinclude -pthread
> -o x11/src/GX11Gui.o -c x11/src/GX11Gui.cxx
> x11/src/GX11Gui.cxx:41:34: error: X11/extensions/shape.h: No such file or
> directory
> x11/src/GX11Gui.cxx: In member function 'virtual void
> TGX11::ShapeCombineMask(Window_t, Int_t, Int_t, Pixmap_t)':
> x11/src/GX11Gui.cxx:2642: error: 'ShapeBounding' was not declared
in this
> scope
> x11/src/GX11Gui.cxx:2643: error: 'ShapeSet' was not declared in
this scope
> x11/src/GX11Gui.cxx:2643: error: 'XShapeCombineMask' was not
declared in
> this scop
> make: *** [x11/src/GX11Gui.o] Error 1
>
> Regards,
> Seforo Mohlalisi
>
> Cell: +27 79 226 3682
> Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk
>
> --- On Sun, 13/4/08, Margar Simonyan <margar.simonyan@gmail.com>
wrote:
> From: Margar Simonyan <margar.simonyan@gmail.com>
> Subject: Re: [ROOT] Unable to Install ROOT on ubuntu
> To: seforomohlalisi@yahoo.co.uk
> Cc: roottalk@root.cern.ch
> Date: Sunday, 13 April, 2008, 3:43 PM
>
> Hello Seforo
>
> I have installed ROOT on Gusty Gibbon some time ago. For some unknown
> reason a default (fresh) installation of Gutsy Gibbon does not include
> all necessary headers to compile any C++ program. Try first to compile
> C++ "Hello world" program and if does not compile, fix this
problem
> first. For that, if I remember correctly, one needs
> libstdc++dev package.
>
> Margar
>
>
> On Sun, Apr 13, 2008 at 11:49 AM, seforo
> mohlalisi
> <seforomohlalisi@yahoo.co.uk> wrote:
> > Hello,
> >
> > I get the following compilation error when I install ROOT on Ubuntu
7.10
> > 'Gusty Gibbon':
> >
> > Configuring for linux
> > Checking for libX11 ... no
> > configure: libX11 (package libX11-devel) MUST be installed
> >
> > I realize that libX11 is a fedora core package. Do I need to install
first
> > on Ubuntu before install
>
> ROOT
> >
> > Regards,
> > Seforo Mohlalisi
> >
> > Cell: +27 79 226 3682
> > Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk
> > ________________________________
> > Yahoo! for Good helps you make a difference
>
> ________________________________
> Yahoo! for Good helps you make a difference
> ________________________________
> Yahoo! for Good helps you make a difference
> ________________________________
> Yahoo! for Good helps you make a difference
>



--
Thiago R. F. P Tomei - http://cern.ch/Thiago.Tomei
SPRACE - São Paulo Regional Analysis Center
CERN - European Organization for Nuclear Research

between 0000-00-00 and 9999-99-99 <hr size=1> Yahoo! for Good helps you <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51947/*http://uk.promotions.yahoo.com/forgood/">make a difference</a> Received on Tue Apr 15 2008 - 22:28:20 CEST

This archive was generated by hypermail 2.2.0 : Wed Apr 16 2008 - 05:50:03 CEST