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

Fons Rademakers (Fons.Rademakers@cern.ch)
Fri, 07 Aug 1998 12:11:46 +0200


stefan kluth wrote:
>
> 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.

I'll fix this.

>
> 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

This is an error in the ROOT source distribution. We were distributing
the wrong $ROOTSYS/cint/MAKEINFO file. The MAKEINFO file is used by rootcint
when it needs to call the C preprocessor to process difficult headers (like
the X11 headers). The C preprocessor calling sequence is machine dependent.
The correct version of MAKEINFO is in each binary distribution and it should
not have been included in the source dist (which HAS to be loaded in a working
binary distribution). The source dist on the ROOT ftp server has been
fixed.

On your debian system MAKEINFO should be:
# Preprocessor
CPREP = gcc -E
CPPPREP = g++ -E

# source code postfix
CSRCPOST = .c
CHDRPOST = .h
CPPSRCPOST = .C
CPPHDRPOST = .h
OBJPOST = .o
DLLPOST = .dl

Cheers, Fons.

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