RE: Failing to install Root v05-10-00

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Tue, 30 Jan 2007 09:18:18 -0600


Hi,

My best bet is that have another version of ROOT/Cint installed in a standard place such that the compilation includes (incompatible) files from both area ....

Just before the line:

   In file included from cint/src/g__cfunc.c:43: is the compile line. You can replace in that line the -c and the -o cint/src/g__cfunc.o by a simple -E and redirect the output to a file. You can then look in this file and verify that all the ROOT/CINT header are coming from your new area.

Cheers,
Philippe.

-----Original Message-----
From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Arsen Hairapetyan
Sent: Tuesday, January 30, 2007 7:56 AM
To: Fons Rademakers
Cc: Rene Brun; roottalk_at_pcroot.cern.ch
Subject: Re: [ROOT] Failing to install Root v05-10-00

Well, the library is found in /usr/X11R6/lib, so the problem is not the libX11 library. But the error is still there (when I do 'gmake'):



In file included from cint/src/g__cfunc.c:43:
cint/src/common.h:867: error: redefinition of `struct G__bytecodefunc'
cint/src/common.h:899: error: redefinition of `struct G__funcentry'
cint/src/common.h:938: error: redefinition of `struct G__ifunc_table'
cint/src/common.h:1079: error: redefinition of `struct G__inheritance'
cint/src/common.h:1096: error: redefinition of `struct G__var_array'
cint/src/common.h:1159: error: redefinition of `struct G__tagtable'
cint/src/common.h:1214: error: redefinition of `struct G__typedef'
cint/src/common.h:1241: error: redefinition of `struct G__tempobject_list'
In file included from cint/src/common.h:1256,
                 from cint/src/g__cfunc.c:43:
cint/src/fproto.h:110: warning: "struct G__includepath" declared inside parameter list
cint/src/fproto.h:110: warning: its scope is only this definition or declaration, which is probably not what you want cint/src/fproto.h:461: warning: "struct G__IntList" declared inside parameter list
cint/src/fproto.h:480: warning: "struct G__Definedtemplateclass" declared inside parameter list
cint/src/fproto.h:481: warning: "struct G__Definedtemplatememfunc" declared inside parameter list
gmake: *** [cint/src/g__cfunc.o] Error 1

What can I do with this error?

Best regards,
Arsen.

On Tue, 30 Jan 2007, Fons Rademakers wrote:

>
> Wbat is the problem? It did find the libX11.so:
>
> ...
> Checking for library libX11.so in directory /usr/X11R6/lib
> Checking /usr/X11R6/lib/libX11.so
> Found file /usr/X11R6/lib/libX11.so <--- everything ok
> Checking for X11/Xlib.h ...
> ...
>
> Cheers, Fons.
>
Received on Tue Jan 30 2007 - 16:20:08 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 30 2007 - 17:50:00 CET