Re: [ROOT] Re: Problem compiling root 4.00/08 on Sun

From: Gerardo Ganis (Gerardo.Ganis@cern.ch)
Date: Wed Nov 17 2004 - 13:54:19 MET


  Hi Francesco,

  Unfortunately, we do not have ways (i.e. available machines)
  to test directly ROOT on Solaris 2.6 (SunOS 5.6), the version
  you are running. So we cannot reproduce your problems.
  The closest combination we can test is Solaris 7 (or 2.7, or
  SunOS 5.7; the next one in chronological order) with gcc 3.2.3;
  there compilation is ok.

  From your log, your problems can be grouped in two classes:

    - those related to the (incorrect) setting of USE_SIZE_T
      (errors in unix/src/TUnixSystem.cxx, rdputils/src/*,
       main/src/ssh2rpd.cxx, proofd/src/proofd.cxx, ...)

    - those related to some missing type definition in 
      /usr/openwin/include/X11/Xutil.h

  The first class should be solved by commenting the definition
  of R__SUNGCC3 in base/inc/RConfig.h (it should be line 134). 

  The second class by adding the line

  EXTRA_CXXFLAGS = -fpermissive

  on top of config/Makefile.solarisgcc.

  Modified versions of these two files following these lines 
  are attached.

  Please try them and let me know if it helps. If yes, we will
  consider introducing in CVS a proper treatment for the case.
  
  Cheers,

  Gerri


-- 
+--------------------------------------------------------------------------+
  Gerardo GANIS    PH Department, CERN
        address    CERN, CH 1211 Geneve 23  
                   room: 32-RC-017, tel / fax: +412276 76439 / 78130
         e-mail    gerardo.ganis@cern.ch
+--------------------------------------------------------------------------+

On Mon, 15 Nov 2004 Francesco.Perfetto@na.infn.it wrote:

> Hi,
> 
> have you any idea on how resolve this problem ?
> We must abandon the installation ?
> Is there a solution can you give us ?
> 
> Francesco.
> 
> > It looks like you are using a wrong version of X11 on your system.
> >
> > Rene Brun
> >
> > On 12
> > Nov 2004, Francesco Perfetto wrote:
> >
> >> Hi Rene,
> >>
> >> I have done that you tell me ( compiling with gmake -k) but I have too
> >> problem to compile root.
> >> In attachment I send you the results of gmake -k.
> >>
> >>
> >> P.S. I don't use the CVS version for 2 reasons:
> >>
> >>      1) I need root version 4.00/08 to be compatible with the others
> >>         versions of root (root 4.00/04) that we have on the others
> >> machines;
> >>      2) I don't understand how to use (all procedures, dowloaded,
> >>         compiling, etc etc ...) the CVS version.
> >>
> >>
> >>
> >> Regards
> >> Francesco.
> >>
> 
> 
> 
> 






This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:10 MET