Re: [ROOT] Compilation error with Mandrake 8.0

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jul 20 2001 - 12:12:11 MEST


This is what you would need:

(pcsalo) [304] rpm -q -a|grep XFree
XFree86-twm-4.0.3-5
XFree86-Xvfb-4.0.3-5
XFree86-75dpi-fonts-4.0.3-5
XFree86-V4L-4.0.3-5
XFree86-4.0.3-5
XFree86-ISO8859-2-75dpi-fonts-4.0.3-5
XFree86-FBDev-3.3.6-35
XFree86-xf86cfg-4.0.3-5
XFree86-tools-4.0.3-5
XFree86-xdm-4.0.3-5
XFree86-ISO8859-2-100dpi-fonts-4.0.3-5
XFree86-Xnest-4.0.3-5
XFree86-100dpi-fonts-4.0.3-5
XFree86-devel-4.0.3-5          <--- this you surely need
XFree86-ISO8859-2-Type1-fonts-4.0.3-5
XFree86-libs-4.0.3-5
XFree86-xfs-4.0.3-5
XFree86-doc-4.0.3-5


Cheers, Fons.



paolucci pierluigi wrote:
> 
> Hi Fons,
> How can I check if the X11 dev are installed and are the
> right version ???
> Ciao Pierluigi
> 
> On Thu, 19 Jul 2001, Fons Rademakers wrote:
> 
> > Hi Paolucci,
> >
> >    you must use: ./configure linuxegcs
> > also make sure that the X11 dev rpms are installed because it looks
> > like the compiler cannot find the X11 headers.
> >
> > Cheers, Fons.
> >
> >
> >
> > paolucci pierluigi wrote:
> > >
> > > Hi,
> > > I am trying to compile using Mandrake 8.0 (gcc 2.9.6 and glibc 2.2.2)
> > > The arch I am using is:
> > > linuxia64gcc   for Itanium Linux gcc 2.9x and glibc
> > > because the version of gcc.
> > >
> > > Is it the right one ???
> > >
> > > In any case during the compilation i got this error:
> > >
> > > ----------------------------------------------------------------
> > > ==> lib/libEG.so done
> > > g++ -O2 -pipe -Wall -fPIC -Iinclude  -o x11/src/GX11Gui.o -c
> > > x11/src/GX11Gui.cxx
> > > In file included from x11/src/GX11Gui.cxx:32:
> > > include/TGX11.h:31:22: X11/Xlib.h: No such file or directory
> > > include/TGX11.h:32:23: X11/Xutil.h: No such file or directory
> > > include/TGX11.h:33:23: X11/Xatom.h: No such file or directory
> > > include/TGX11.h:34:28: X11/cursorfont.h: No such file or directory
> > > include/TGX11.h:35:24: X11/keysym.h: No such file or directory
> > > In file included from include/TGX11.h:37,
> > >                  from x11/src/GX11Gui.cxx:32:
> > > include/Xpm.h:85:24: X11/Xlib.h: No such file or directory
> > > include/Xpm.h:86:25: X11/Xutil.h: No such file or directory
> > > In file included from include/TGX11.h:37,
> > >                  from x11/src/GX11Gui.cxx:32:
> > > include/Xpm.h:162: `Display' was not declared in this scope
> > > include/Xpm.h:162: parse error before `,'
> > > include/Xpm.h:172: `Display' was not declared in this scope
> > > include/Xpm.h:172: parse error before `,'
> > > include/Xpm.h:184: syntax error before `*'
> > > include/Xpm.h:185: syntax error before `;'
> > > include/Xpm.h:216: syntax error before `;'
> > > include/Xpm.h:228: syntax error before `;'
> > >
> > > ----------------------------------------------
> > > and then the system crashed.
> > > Can anyone help me ???
> > >
> > > Thanks a lot
> > > Ciao Pierluigi
> >
> > --
> > Org:    CERN, European Laboratory for Particle Physics.
> > Mail:   1211 Geneve 23, Switzerland
> > E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
> > WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910
> >
> >

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:52 MET