I checked out the ROOT source code from the svn trunk and when I try to compile it, I get the following error:
I’m compiling on a macbook 15.6.8, i686-apple-darwin9-gcc-4.2.1, i686-apple-darwin8-gfortran-4.2 .
Any ideas?
g++ -O2 -m64 -pipe -Wshadow -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude -DR__HAVE_CONFIG -D_REENTRANT -pthread -DR__SSL -DOPENSSL_NO_KRB5 -o net/auth/src/TAuthenticate.o -c net/auth/src/TAuthenticate.cxx
Generating dictionary net/auth/src/G__RootAuth.cxx…
core/utils/src/rootcint_tmp -cint -f net/auth/src/G__RootAuth.cxx -c net/auth/inc/rsalib.h net/auth/inc/rsadef.h net/auth/inc/TRootAuth.h net/auth/inc/AuthConst.h net/auth/inc/rsaaux.h net/auth/inc/TRootSecContext.h net/auth/inc/rsafun.h net/auth/inc/THostAuth.h net/auth/inc/TAuthenticate.h net/auth/inc/LinkDefRoot.h
Error: Syntax error include/rsalib.h:38:
Error: Symbol rsa_NUMBER is not defined in current scope include/rsalib.h:42:
Error: Syntax error include/rsalib.h:48:
Error: Syntax error include/rsalib.h:49:
Error: void type variable can not be declared include/rsalib.h:49:
Error: Syntax error include/rsalib.h:51:
Error: Syntax error include/rsalib.h:52:
Error: Syntax error include/rsalib.h:53:
Error: Syntax error include/rsalib.h:54:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing net/auth/src/G__RootAuth.cxx net/auth/src/G__RootAuth.h !!!
Error: core/utils/src/rootcint_tmp: error loading headers…
gmake: *** [net/auth/src/G__RootAuth.cxx] Error 1
rm core/utils/src/rootcint_tmp.cxx core/utils/src/RStl_tmp.cxx
Version 5.29.02 compiled, but ROOT doesn’t start, giving the following error:
dyld: Symbol not found: _pcre_free
Referenced from: /Applications/root5.29.02/lib/libCore.so
Expected in: dynamic lookup
My real problem is that I created the ROOT files with v5.28, and cannot read them on another machine, which has an older ROOT version (error: “file is not a TStreamerInfo object”).
Is is possible to convert these files somehow to an older version?