I not able to install root version 5.22.00 from source on macos v 10.5.6
I have tried two ways one using default guess of the ./configure, which was maxos64. This gave me error of incompatibility with python.
---------------------cut--------------------------------------
bin/rmkdepend -R -fbindings/pyroot/src/python64.d -Y -w 1000 – -m64 -pipe -W -Wall -fsigned-char -fno-common -Iinclude -D_REENTRANT -pthread -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 – bindings/pyroot/src/python64.c
gcc -O2 -m64 -pipe -W -Wall -fsigned-char -fno-common -Iinclude -D_REENTRANT -pthread -I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -o bindings/pyroot/src/python64.o -c bindings/pyroot/src/python64.c
gcc -O2 -m64 -bind_at_load -o bin/python64 bindings/pyroot/src/python64.o
-L/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config -lpython2.6
ld: warning in /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/libpython2.6.a, missing required architecture x86_64 in file
Undefined symbols:
"_Py_Main", referenced from:
_main in python64.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/python64] Error 1
rm core/utils/src/RStl_tmp.cxx core/utils/src/rootcint_tmp.cxx
-----------------------------------------end-cut------------------------------------
However, when I have tried to configure it for non 64 bit version by giving ./configure command option macosx, “make” gave me the following error.
-------------------------------cut----------------------------------------------
ld: warning in cint/cint/src/dict/gcc4strm.o, file is not of required architecture
ld: warning in cint/cint/src/dict/longif3.o, file is not of required architecture
Undefined symbols:
"_G__cpp_setupG__stream", referenced from:
_G__pragma in pragma.o
"_main", referenced from:
start in crt1.10.5.o
"_G__unredirectcerr", referenced from:
_G__process_cmd in pause.o
_G__process_cmd in pause.o
"_G__unredirectcout", referenced from:
_G__process_cmd in pause.o
_G__process_cmd in pause.o
"_G__redirectcerr", referenced from:
_G__process_cmd in pause.o
_G__process_cmd in pause.o
"_G__redirectcout", referenced from:
_G__process_cmd in pause.o
_G__process_cmd in pause.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [cint/cint/main/cint_tmp] Error 1
--------------------------------end-cut-------------------------------------
Could you please tell me what is the right way of installing root on my version of macos.
you seem to have installed an newer version of Python (Apple default is 2.5) which does not have the x86-64 architecture. So now you have to build either Python 2.6 for x86-64, or ROOT for x86. The last you tried, but after the configure you forgot to do a “make distclean” to remove parts of the previous build.
Hi
I seem to have a similar problem when installing on a macos X 10.5. after
./configure macosx
and make -j2 (or make which gives the same)
I get
In file included from cint/cint/src/dict/gcc4strm.cxx:7:
cint/cint/src/dict/gcc4strm.h:30:20: error: iostrm.h: No such file or directory
cint/cint/src/dict/gcc4strm.h:31:19: error: fstrm.h: No such file or directory
cint/cint/src/dict/gcc4strm.h:32:19: error: sstrm.h: No such file or directory
cint/cint/src/dict/gcc4strm.h:33:21: error: linkdef.h: No such file or directory
cint/cint/src/dict/gcc4strm.h:67: error: expected initializer before ‘<’ token
cint/cint/src/dict/gcc4strm.h:68: error: expected initializer before ‘<’ token
ci
… and lots of errors ending in:
cint/cint/src/dict/gcc4strm.cxx:4299: warning: ‘void G__setup_memfuncbasic_ostringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used
cint/cint/src/dict/gcc4strm.cxx:4313: warning: ‘void G__setup_memfuncbasic_stringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used
make: *** [cint/cint/src/dict/gcc4strm.o] Error 1
make: *** Waiting for unfinished jobs…
ask-emil-jensens-macbook:root ask$
I have the newest version of xcode now but still get:
cint/cint/src/dict/gcc4strm.cxx:4313: warning: ‘void G__setup_memfuncbasic_stringstreamlEcharcOchar_traitslEchargRcOallocatorlEchargRsPgR()’ defined but not used
make: *** [cint/cint/src/dict/gcc4strm.o] Error 1
make: *** Waiting for unfinished jobs…
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for powerpc-apple-darwin9.0