Compilation failure on Mac OSX 10.5.2

From: Gabriel Perdue <perdue_at_fnal.gov>
Date: Thu, 03 Apr 2008 09:21:28 -0500


Hello,

        I am using:

MacBook Pro w/ Intel Core 2 Duo
OSX 10.5.2
XCode 3.0
g77 3.4.0

root_v5.18.00

I also have installed X11-2.1.4 from XQuartz, which has me mildly worried, but not really. Using

./configure macosx64

and

make -j2

the make process fails with:


gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC -I/usr/local/include/freetype2 - I/usr/local/include -c libungif/gif_hash.c -o libungif/gif_hash.o

gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC  -I/usr/local/include/freetype2 - 
I/usr/local/include    -c afterbase.c -o afterbase.o
gcc -m64 -O3 -DNO_DEBUG_OUTPUT -fPIC  -I/usr/local/include/freetype2 - 
I/usr/local/include -c asimage.c -o asimage.o afterbase.c: In function ‘asim_my_scandir’: afterbase.c:1133: error: syntax error before ‘struct’ make[1]: *** [afterbase.o] Error 1
make[1]: *** Waiting for unfinished jobs.... bin/rmkdepend -R -fpyroot/src/ObjectProxy.d -Y -w 1000 -- -m64 -pipe - W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude - D_REENTRANT -pthread -DPYROOT_USE_REFLEX -I/System/Library/Frameworks/ Python.framework/Versions/2.5/include/python2.5 -D__cplusplus -- pyroot/src/ObjectProxy.cxx
g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno- common -Iinclude -D_REENTRANT -pthread -DPYROOT_USE_REFLEX -I/System/ Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -o pyroot/src/ObjectProxy.o -c pyroot/src/ObjectProxy.cxx bin/rmkdepend -R -fpyroot/src/PropertyProxy.d -Y -w 1000 -- -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Iinclude - D_REENTRANT -pthread -DPYROOT_USE_REFLEX -I/System/Library/Frameworks/ Python.framework/Versions/2.5/include/python2.5 -D__cplusplus -- pyroot/src/PropertyProxy.cxx
g++ -O2 -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno- common -Iinclude -D_REENTRANT -pthread -DPYROOT_USE_REFLEX -I/System/ Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -o pyroot/src/PropertyProxy.o -c pyroot/src/PropertyProxy.cxx make: *** [asimage/src/libAfterImage/libAfterImage.a] Error 2 make: *** Waiting for unfinished jobs.... rm utils/src/rootcint_tmp.cxx utils/src/RStl_tmp.cxx ~/root>

I have also tried every combination of simply ./configure (it picks macosx64), ./configure macosx, make, and make -j2, and they all end with essentially the same error message.

Any suggestions on what the problem is? The universal solver (google) turned up a querry similar to this on the RootTalk bulletin boards, but the question was not answered.

Thanks!

						pax
						Gabe Perdue
Received on Thu Apr 03 2008 - 16:28:19 CEST

This archive was generated by hypermail 2.2.0 : Thu Apr 03 2008 - 17:50:01 CEST