Ken Bloom wrote: [] > The change to the code does compile, but a "make" of this package > still fails, with > > gcc -r -keep_private_externs -nostdlib -o .libs/libftgl.0.0.0.dylib- > master.o FTBitmapGlyph.lo FTCharmap.lo FTContour.lo FTExtrdGlyph.lo > FTFace.lo FTFont.lo FTGLBitmapFont.lo FTGLExtrdFont.lo > FTGLOutlineFont.lo FTGLPixmapFont.lo FTGLPolygonFont.lo > FTGLTextureFont.lo FTGlyph.lo FTGlyphContainer.lo FTLibrary.lo > FTOutlineGlyph.lo FTPixmapGlyph.lo FTPoint.lo FTPolyGlyph.lo FTSize.lo > FTTextureGlyph.lo FTVectoriser.lo && gcc -dynamiclib -flat_namespace - > undefined suppress -o .libs/libftgl.0.0.0.dylib .libs/libftgl. > 0.0.0.dylib-master.o -L/sw/lib -L/sw/lib/freetype219/lib -lfreetype - > lz -lobjc -lc -framework CoreServices -framework ApplicationServices - > framework OpenGL -framework OpenGL -install_name /sw/lib/libftgl. > 0.dylib -compatibility_version 1 -current_version 1.0 > ld: warning: in /sw/lib/libfreetype.dylib, file is not of required > architecture > ld: in /sw/lib/libxml2.2.dylib, file is not of required architecture > collect2: ld returned 1 exit status > make[1]: *** [libftgl.la] Error 1 >
This could be the result of your running this command "by hand", not from inside fink. The "gcc" command on SL tries to build 64bit, unless told otherwise. And /sw/lib/libxml2.2.dylib, having been built by fink in a 32bit installation, is a 32bit binary. Fink adds an invisible "-arch i386" flag to the above command. You can get the same effect by prepending "/sw/var/lib/fink/path-prefix-10.6" to your PATH environment variable. -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
