[Gate-users] lmf_v3.0 installation error

RAMESHwar rjhaji at gmail.com
Fri Mar 19 01:50:59 CET 2010


Dear Gate users
I m trying to install Gate_v5 on fedora7. I could install CLHEP-2.0.3.2, and
root_v5.14.00h.But when I install lmf_v3.0 I get error which is as follows:
I m using gcc compiler 4.1.

[root at F7-1 ~]# cd /ramesh/gate/gate_v5.0.0/lmf_v3.0/
[root at F7-1 lmf_v3.0]# export
PATH=/usr/local/gate/gate_v5.0.0/root_v5.14.00h/root/bin:${PATH}
[root at F7-1 lmf_v3.0]# ./configure
Congratulations !!! Configuration over
includes/lmf_format.h has been generated and replaced
Please check that it looks like:

#ifndef __FORMAT__FOR__LMF__
#define __FORMAT__FOR__LMF__
typedef char i8;
typedef unsigned char u8;
typedef short i16;
typedef unsigned short u16;
typedef long i32;
typedef unsigned long u32;
typedef unsigned long long int u64;
typedef long long int          i64;
#endif

[root at F7-1 lmf_v3.0]# vi /ramesh/gate/gate_v5.0.0/lmf_v3.0/makefile
[root at F7-1 lmf_v3.0]# make clean
rm *~
rm: cannot remove `*~': No such file or directory
make: [clean] Error 1 (ignored)
rm core
rm: cannot remove `core': No such file or directory
make: [clean] Error 1 (ignored)
rm *#
rm: cannot remove `*#': No such file or directory
make: [clean] Error 1 (ignored)
rm obj/*.o
rm ./lib/libLMF.a
rm: cannot remove `./lib/libLMF.a': No such file or directory
make: [clean] Error 1 (ignored)
clear

ls
configure      examples  lib      makefile  README  testForFormat.c
documentation  includes  license  obj       src
[root at F7-1 lmf_v3.0]# make
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o obj/5rings.o
src/5rings.c
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o
obj/askTheMode.o src/askTheMode.c
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o
obj/bitUtilities.o src/bitUtilities.c
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o
obj/buildCRR.o src/buildCRR.c
.
.
.
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -c -o
obj/multipleCoincidencesSorter.o src/multipleCoincidencesSorter.cc
gcc -I./includes/ -I/include -D_FILE_OFFSET_BITS=64 -fPIC -pthread -m32
-I/include -c -o obj/outputRootMgr.o src/outputRootMgr.cc
src/outputRootMgr.cc:30:19: error: TFile.h: No such file or directory
src/outputRootMgr.cc:31:19: error: TTree.h: No such file or directory
src/outputRootMgr.cc:36: error: expected initializer before ‘*’ token
src/outputRootMgr.cc:37: error: expected initializer before ‘*’ token
src/outputRootMgr.cc: In function ‘void outputRoot(const ENCODING_HEADER*,
const EVENT_HEADER*, const GATE_DIGI_HEADER*, const EVENT_RECORD*)’:
src/outputRootMgr.cc:45: error: ‘Double_t’ was not declared in this scope
src/outputRootMgr.cc:45: error: expected `;' before ‘ownTime’
src/outputRootMgr.cc:46: error: ‘Int_t’ does not name a type
src/outputRootMgr.cc:47: error: expected `;' before ‘timeMillis’
src/outputRootMgr.cc:48: error: ‘Float_t’ was not declared in this scope
src/outputRootMgr.cc:48: error: expected `;' before ‘timeOfFlight’
.
.make: *** [obj/outputRootMgr.o] Error 1


I tried many times.I m getting same error
Any help guidance will be sincerely obliged and appreciated.
Thanks and warm regards

Ramesh


More information about the Gate-users mailing list