Building ROOT on Fedora 9

From: Lee, Kerry T. (JSC-SF)[LMIT] <kerry.t.lee_at_nasa.gov>
Date: Thu, 4 Sep 2008 08:50:00 -0500

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 Thu Sep 04 2008 - 15:50:08 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 04 2008 - 23:50:02 CEST