Re: Compilation failure on Mac OSX 10.5.2

From: Mario Kadastik <mario.kadastik_at_cern.ch>
Date: Thu, 3 Apr 2008 17:34:43 +0300


Hello,

I don't remember which version I tried, but I had originally also problems compiling on leopard. Take the latest SVN trunk and try again, that helped me at that time as a number of problems which where related to compiling where fixed but hadn't made it into a release yet.

Mario

On Apr 3, 2008, at 5:21 PM, Gabriel Perdue wrote:

> 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:34:56 CEST

This archive was generated by hypermail 2.2.0 : Fri Apr 04 2008 - 23:50:02 CEST