Re: Trouble with Leopard

From: Remi Mommsen <remigius.mommsen_at_cern.ch>
Date: Thu, 1 Nov 2007 18:47:19 -0500


Hi,

On Nov 1, 2007, at 4:12 PM, Tom Roberts wrote:

> Try replacing g77 with gfortran. The gcc fortran compiler has
> changed. My Mac Pro has it (running Tiger, 10.4).

Apple does not ship any Fortran compiler. gfortran from Fink should be available for 10.5 (I haven't had time to play with 10.5, yet).

> Tom Roberts
>
>
> Mario Kadastik wrote:
>> Hello,
>> downloaded the latest source tarball (v5.17.04.source.tar),
>> extracted it, ran with
>> ./configure macosx --prefix=/Applications/root
>> which ran through just fine, however during the compilation I ran
>> into the following error:
>> g++ -O2 -dynamiclib -single_module -undefined dynamic_lookup -
>> install_name /Applications/root/lib/root/libFTGL.dylib -o lib/
>> libFTGL.dylib ftgl/src/FTBitmapGlyph.o ftgl/src/FTCharmap.o ftgl/
>> src/FTContour.o ftgl/src/FTExtrdGlyph.o ftgl/src/FTFace.o ftgl/src/
>> FTFont.o ftgl/src/FTGLBitmapFont.o ftgl/src/FTGLExtrdFont.o ftgl/
>> src/FTGLOutlineFont.o ftgl/src/FTGLPixmapFont.o ftgl/src/
>> FTGLPolygonFont.o ftgl/src/FTGLTextureFont.o ftgl/src/FTGlyph.o
>> ftgl/src/FTGlyphContainer.o ftgl/src/FTLibrary.o ftgl/src/
>> FTOutlineGlyph.o ftgl/src/FTPixmapGlyph.o ftgl/src/FTPoint.o ftgl/
>> src/FTPolyGlyph.o ftgl/src/FTSize.o ftgl/src/FTTextureGlyph.o ftgl/
>> src/FTVectoriser.o -ldl lib/libfreetype.a -L/usr/X11R6/lib -lXpm -
>> L/usr/X11R6/lib -lXext -lX11 -L/usr/X11R6/lib -lXft -L/usr/X11R6/
>> lib -lGLU -lGL -L/usr/X11R6/lib -lX11 -lm
>> ld: cycle in dylib re-exports with /usr/X11R6/lib/libGL.dylib
>> collect2: ld returned 1 exit status
>> make: *** [lib/libFTGL.dylib] Error 1
>>

That sound like the infamous bug in 10.5 (from http:// wiki.finkproject.org/index.php/
Fink:Packaging:Preparing_for_10.5#OpenGL_Bug): A bug on 10.5.0 (which will not be fixed for release) causes issues when linking OpenGL libraries. The fix is to add some form of "-Wl,- dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/ Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/ Versions/A/Libraries/libGL.dylib" to LDFLAGS or equivalent.

HTH,         Remi

--
"Sometimes I think the surest sign that intelligent life exists else-
where in the universe is that none of it has tried to contact us."
                                               Calvin (Bill Watterson)

*********************************************************************
Remigius K. Mommsen                 e-mail:          mommsen_at_fnal.gov
University of Manchester               URL:    http://cern.ch/mommsen
Fermilab, MS 357                     voice:        ++1 (630) 840-8321
P.O. Box 500                           fax:        ++1 (630) 840-2649
Batavia, Il 60510, US                 home:        ++1 (630) 236-0932
*********************************************************************
Received on Fri Nov 02 2007 - 00:47:49 CET

This archive was generated by hypermail 2.2.0 : Mon Nov 12 2007 - 17:50:01 CET