root 2.00/10 build on linux (egcs/debian)

From: stefan kluth (skluth@mh1.lbl.gov)
Date: Fri Aug 07 1998 - 03:51:25 MEST


Hi,

I tried the root build using the makefiles on my debian/egcs linux system.
I had the following problems:

o) mmconfig.h
   Commented out "#   define HAVE_ANSIDECL_H", because on my system the
   header ansidecl.h does not exist. I did encounter this problem before
   and I remember that I found out that this header is deprecated, it was
   last changed in the early nineties. I believe that the root system
   could be build on every system with the default macros which replace 
   ansidecl.h in mmconfig.h. It works on my system.

o) X11 interface

Generating dictionary X11_G__X11.cxx...
sh: CC: command not found
sh: CC: command not found
sh: CC: command not found
sh: CC: command not found
sh: CC: command not found
Error: No symbol Drawablemotif_window in current scope  FILE:TGX11.h
LINE:40
Error: No symbol Drawabledrawing in current scope  FILE:TGX11.h LINE:43
Error: No symbol Drawablewindow in current scope  FILE:TGX11.h LINE:44
Error: No symbol Drawablebuffer in current scope  FILE:TGX11.h LINE:45
Error: No symbol Display in current scope  FILE:TGX11.h LINE:60
Error: No symbol fDisplay in current scope  FILE:TGX11.h LINE:60
Error: No symbol ColormapfColormap in current scope  FILE:TGX11.h LINE:62
Error: No symbol CursorfCursors[kNumCursors] in current scope
FILE:TGX11.h LINE:66
Note: operator new() masked 1c
Note: operator delete() masked 1c
g++  -Wall -fPIC -DR__GLIBC -fno-rtti -fno-exceptions -I/include -c
X11_G__X11.cxx
X11_G__X11.cxx: In function `int G__TGX11_OpenDisplay_4_4(struct G__value
*, char *, struct G__param *, int)':
X11_G__X11.cxx:195: no matching function for call to `TGX11::OpenDisplay
()'
TGX11.h:185: candidates are: TGX11::OpenDisplay(const char *)
TGX11.h:127:                 TGX11::OpenDisplay(_XDisplay *)
make: *** [X11_G__X11.o] Error 1


a make -n gives me the actual command that fails:
rootcint -f X11_G__X11.cxx -c G__TypeInfo.h TGX11.h X11_LinkDef.h

I add -t to the command and get:
rootcint -f X11_G__X11.cxx -c -t G__TypeInfo.h TGX11.h X11_LinkDef.h
rootcint -f X11_G__X11.cxx -c -t G__TypeInfo.h TGX11.h X11_LinkDef.h
 -t : trace execution

...

LOADING file=GuiTypes.h:GuiTypes.h:
 CC +a1 -E -DTRUE=1 -DFALSE=0 -Dexternalref=extern -DSYSV   -I.
-I/home/skluth/root/include -I/home/skluth/root/src  -D__CINT__
-I/home/skluth/root/cint/include /tmp/05843aaa.C > /tmp/05843baa
sh: CC: command not found

...


I am very confused as to where these "CC +a1 ..." commands come from. 


Any ideas? cheers, Stefan


---Stefan Kluth---------------Lynen Fellow----------------|\--|\-------
-  LBNL, MS 50A 2160       -  phone:  +1 510 495 2376  -  |/  |/      -
-  1 Cyclotron Rd.         -  fax:    +1 510 495 2957  -  |\/\|\/\|'  -
---Berkeley, CA94720, USA-----e-mail: SKluth@lbl.gov------|/\/|/\/|----



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:36 MET