Re: Building ROOT on Fedora 9

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Fri, 26 Sep 2008 15:38:29 -0500


Hi Kerry,

I do not have access to a 64 bit machines with Fedora Core 9 installed. If you provide me with access to one, I will check into this.

Cheers,
Philippe.

Lee, Kerry T. (JSC-SF)[LMIT] wrote:
> Just to follow up and close this thread, I was able to install on Fedora
> 9, but it was the 32 bit version. I could not get ROOT to compile on
> the 64 bit version. Using the 32 bit Fedora install is fine for me, but
> it would be nice later to understand why it doesn't compile on the 64
> bit platform.
>
> -----Original Message-----
> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
> On Behalf Of Lee, Kerry T. (JSC-SF)[LMIT]
> Sent: Friday, September 05, 2008 3:44 PM
> To: Juan Carlos Cornejo; roottalk_at_lxbuild091.cern.ch
> Subject: RE: FW: [ROOT] Building ROOT on Fedora 9
>
> Juan,
>
> Thanks for the suggestions, but all required packages are already
> installed on my machine. I'd be happy to have an rpm, but I still need
> to be able to compile from source.
>
> This is a new machine with a new Fedora install so it is possible
> something is just wrong with the gcc install so I'm going to investigate
> that possibility.
>
> thanks for your time and help,
>
> Kerry
>
> -----Original Message-----
> From: cornejo_at_paintblack.com [mailto:cornejo_at_paintblack.com] On Behalf
> Of Juan Carlos Cornejo
> Sent: Friday, September 05, 2008 10:00 AM
> To: roottalk_at_lxbuild091.cern.ch
> Cc: Lee, Kerry T. (JSC-SF)[LMIT]
> Subject: Re: FW: [ROOT] Building ROOT on Fedora 9
>
> Hi,
>
> I have had great success installing Root 5.20.00 on Fedora 9, and
> in fact, attempting to package it for inclusion in Fedora While I
> don't have an answer to these particular problems you list, I will
> just give you some hints that may help. Some of these files, I'm
> sure, you already have installed, but I'll list them anyway. In
> particular, cstdio seems to be missing, and that is part of
> libstdc++-devel. So if you install just that and it works, great, if
> not, then just install the packages listed below.
>
> The following packages are minimally required, from what I can tell:
> libX11-devel
> libXft-devel
> libXpm-devel
> libXext-devel
> pcre-devel
> pcre
>
> If you want the more advanced math functions, I would also recommend
> you install:
> gsl
> gsl-devel
>
> For proper OpenGL functionality, the following are also required:
> libGL-devel
> libGLU-devel
>
> If you get errors about fonts, also install:
> xorg-x11-fonts-ISO8859-1-75dpi
>
> To compile root make sure you have the following installed:
> gcc
> gcc-c++
> libstdc++
> libstdc++-devel ( this one has that file it seems to complain about
> with you: cstdcio )
>
> You may install these through yum.
>
> Like I said, I have had success compiling and using ROOT with the
> above files installed. I compile it on Fedora 9 x86_64.
>
> If all fails, I'll send you an rpm and you can try to work with that.
>
>
> On Thu, Sep 4, 2008 at 12:35 PM, Lee, Kerry T. (JSC-SF)[LMIT]
> <kerry.t.lee_at_nasa.gov> wrote:
>
>> No, I have not used "--enable_qt", yet but I will once I get the other
>>
> to
>
>> work.
>>
>> Please find attached my $ROOTSYS/config/Makefile.config.
>>
>> thanks for the help
>>
>> Kerry Lee
>> Space Radiation Analysis Group (SRAG)
>> 281-483-3797
>>
>>
>>
>> -----Original Message-----
>> From: Fine, Valeri [mailto:fine_at_bnl.gov]
>> Sent: Thu 9/4/2008 11:18
>> To: Lee, Kerry T. (JSC-SF)[LMIT]; roottalk_at_pcroot.cern.ch
>> Subject: RE: [ROOT] Building ROOT on Fedora 9
>>
>> Did you apply "--enable_qt" ROOT configure option?
>>
>> Can you upload your $ROOTSYS/config/Makefile.config ?
>>
>> Thank you.
>>
>>
>>
>> Best Regards
>>
>> Valeri Fine
>>
>> ---------------
>>
>> Brookhaven National Laboratory
>>
>> Upton, NY 11973, USA
>>
>> Phone: +1 631 344 7806
>>
>> Fax: +1 631 344 4206
>>
>> E-mail: fine_at_bnl.gov
>>
>> -----Original Message-----
>> From: owner-roottalk_at_root.cern.ch [mailto:owner-roottalk_at_root.cern.ch]
>>
> On
>
>> Behalf Of Lee, Kerry T. (JSC-SF)[LMIT]
>> Sent: Thursday, September 04, 2008 9:50 AM
>> To: roottalk_at_pcroot.cern.ch
>> Subject: [ROOT] Building ROOT on Fedora 9
>>
>>
>>
>>
>>
>> ----- Original Message -----
>> From: Lee, Kerry T. (JSC-SF)[LMIT]
>> To: Fons Rademakers <Fons.Rademakers_at_cern.ch>
>> Sent: Wed Sep 03 16:55:19 2008
>> Subject: RE: [ROOT] Building ROOT on Fedora 9
>>
>> Fons,
>>
>> I downloaded the latest version and then upgraded to the current svn
>>
> trunk.
>
>> After I do a ./configure and make I get the error(s) below.
>>
>> It's like it doesn't know where the C++ headers are. As I said before
>>
> I
>
>> tried forcing it by using -I to include the known path, but it still
>>
> did not
>
>> work.
>>
>> Any suggestions?
>>
>> Thanks
>> Kerry
>>
>>
>> gcc -O2 -pipe -m64 -Wall -W -fPIC -Iinclude -pthread
>> -DINCLUDEDIR=\"/usr/include\" -DOBJSUFFIX=\".o\" -o
>> build/rmkdepend/cppsetup.o -c build/rmkdepend/cppsetup.c
>> In file included from build/rmkdepend/def.h:35,
>> from build/rmkdepend/cppsetup.c:30:
>> /usr/include/stdio.h:37:22: error: tr1/cstdio: No such file or
>>
> directory
>
>> In file included from build/rmkdepend/cppsetup.c:30:
>> build/rmkdepend/def.h:37:20: error: string.h: No such file or
>>
> directory
>
>> build/rmkdepend/def.h:39:19: error: ctype.h: No such file or directory
>> build/rmkdepend/def.h:40:23: error: sys/types.h: No such file or
>>
> directory
>
>> build/rmkdepend/def.h:41:19: error: fcntl.h: No such file or directory
>> build/rmkdepend/def.h:42:22: error: sys/stat.h: No such file or
>>
> directory
>
>> build/rmkdepend/def.h:126:20: error: stdlib.h: No such file or
>>
> directory
>
>> build/rmkdepend/cppsetup.c: In function 'my_if_errors':
>> build/rmkdepend/cppsetup.c:149: warning: implicit declaration of
>>
> function
>
>> 'sprintf'
>> build/rmkdepend/cppsetup.c:149: warning: incompatible implicit
>>
> declaration
>
>> of built-in function 'sprintf'
>> build/rmkdepend/cppsetup.c:150: warning: implicit declaration of
>>
> function
>
>> 'strlen'
>> build/rmkdepend/cppsetup.c:150: warning: incompatible implicit
>>
> declaration
>
>> of built-in function 'strlen'
>> build/rmkdepend/cppsetup.c:151: warning: implicit declaration of
>>
> function
>
>> 'fprintf'
>> build/rmkdepend/cppsetup.c:151: warning: incompatible implicit
>>
> declaration
>
>> of built-in function 'fprintf'
>> build/rmkdepend/cppsetup.c:151: error: 'stderr' undeclared (first use
>>
> in
>
>> this function)
>> build/rmkdepend/cppsetup.c:151: error: (Each undeclared identifier is
>> reported only once
>> build/rmkdepend/cppsetup.c:151: error: for each function it appears
>>
> in.)
>
>> build/rmkdepend/cppsetup.c:154: warning: implicit declaration of
>>
> function
>
>> 'putc'
>> build/rmkdepend/cppsetup.c:160: error: 'NULL' undeclared (first use in
>>
> this
>
>> function)
>> build/rmkdepend/cppsetup.c: In function 'lookup_variable':
>> build/rmkdepend/cppsetup.c:178: warning: implicit declaration of
>>
> function
>
>> 'strncpy'
>> build/rmkdepend/cppsetup.c:178: warning: incompatible implicit
>>
> declaration
>
>> of built-in function 'strncpy'
>> build/rmkdepend/cppsetup.c:180: error: 'NULL' undeclared (first use in
>>
> this
>
>> function)
>> build/rmkdepend/cppsetup.c: In function 'my_eval_variable':
>> build/rmkdepend/cppsetup.c:211: warning: implicit declaration of
>>
> function
>
>> 'isalpha'
>> build/rmkdepend/cppsetup.c:213: warning: incompatible implicit
>>
> declaration
>
>> of built-in function 'strlen'
>> build/rmkdepend/cppsetup.c:216: warning: implicit declaration of
>>
> function
>
>> 'strtol'
>> build/rmkdepend/cppsetup.c:216: error: 'NULL' undeclared (first use in
>>
> this
>
>> function)
>> Running build/unix/compiledata.sh
>> Making include/compiledata.h
>> bin/rmkdepend -R -fcint/cint/src/g__cfunc.d -Y -w 1000 -- -pipe -m64
>>
> -Wall
>
>> -W -fPIC -Iinclude -DG__REGEXP -DG__UNIX -DG__SHAREDLIB -DG__OSFDLL
>> -DG__ROOT -DG__REDIRECTIO -DG__STD_EXCEPTION -DG__64BIT
>>
> -DG__HAVE_CONFIG
>
>> -DG__NOMAKEINFO -DG__CINTBODY -Icint/cint/inc -Icint/cint/src
>> -Icint/cint/src/dict -pthread -I. -- cint/cint/src/g__cfunc.c
>> make: bin/rmkdepend: Command not found
>> make: *** [cint/cint/src/g__cfunc.o] Error 127
>> [
>>
>> Kerry Lee
>> Space Radiation Analysis Group (SRAG)
>> 281-483-3797
>>
>>
>>
>> -----Original Message-----
>> From: Fons Rademakers [mailto:Fons.Rademakers_at_cern.ch]
>> Sent: Tue 9/2/2008 17:58
>> To: Lee, Kerry T. (JSC-SF)[LMIT]
>> Cc: roottalk_at_pcroot.cern.ch
>> Subject: Re: [ROOT] Building ROOT on Fedora 9
>>
>> Hi Kerry,
>>
>> please try the latest release or the svn trunk, which should work
>>
> fine on
>
>> 4.3.x.
>>
>> Cheers, Fons.
>>
>> Lee, Kerry T. (JSC-SF)[LMIT] wrote:
>>
>>> all,
>>>
>>> I am trying to compile ROOT (ver 5.20.00) from source on a 64bit Xeon
>>> machine using ./configure linuxx8664gcc with gcc version 4.3.0. It
>>> fails in building rmkdepend because it cannot find some standard C++
>>> header files. I've tried to force it by pointing to these files
>>> directly, but it then fails in other spectacular ways.
>>>
>>> If anyone has succeeded in compiling under these similar conditions
>>>
> I'd
>
>>> be interested to hear what you did. Thanks for any help.
>>>
>>>
>>> Kerry Lee
>>> Space Radiation Analysis Group (SRAG)
>>> 281-483-3797
>>>
>>>
>> --
>> Org: CERN, European Laboratory for Particle Physics.
>> Mail: 1211 Geneve 23, Switzerland
>> E-Mail: Fons.Rademakers_at_cern.ch Phone: +41 22 7679248
>> WWW: http://fons.rademakers.org Fax: +41 22 7669640
>>
>>
>>
>>
>>
>>
>
>
Received on Fri Sep 26 2008 - 22:38:41 CEST

This archive was generated by hypermail 2.2.0 : Sat Sep 27 2008 - 05:50:03 CEST