Re: [ROOT] Compilation error with Mandrake 8.0

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Jul 19 2001 - 13:52:43 MEST


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



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