On 5/4/12 10:31 AM, Klaus Klausness wrote: > > On Tue, 01 May 2012 10:43:54 -0700, Alexander Hansen wrote: >> >> On 5/1/12 9:39 AM, Klaus Klausness wrote: >> > Hi, >> > >> > I'm getting the following error trying to update fontforge (on OS X > 10.6.8): >> > >> > [...] >> > gcc -Os -I/sw/include/libxml2 -I/sw/lib/fontconfig2/include >> > -I/sw/lib/xft2/include -I/sw/include -I/sw/include/cairo >> > -I/sw/include/freetype2/ -I/sw/include/freetype2 -I/sw/include >> > -I/sw/include/libxml2/ -I/sw/include/cairo -I/sw/include/pango-1.0 >> > -I/sw/include -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include >> > -I/sw/include/freetype2 -I/usr/X11/include -I/usr/X11R6/include >> > -I/sw/include/pango-1.0 -I/sw/include/cairo -I/sw/include/glib-2.0 >> > -I/sw/lib/glib-2.0/include -I/sw/include/freetype2 -I/sw/include >> > -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/fontconfig2/include >> > -MD -I/sw/include/python2.7 -I../inc -I../inc -I. -I. >> > -Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses >> > -Wformat -Wchar-subscripts -DHAVE_CONFIG_H >> > '-DSHAREDIR="/sw/share/fontforge"' -DLIBDIR='"/sw/lib/fontforge"' >> > -I/sw/lib/fontconfig2/include -MD -I/sw/include/python2.7 >> > '-DPREFIX="/sw"' -c cvexportdlg.c >> > cvexportdlg.c:251: error: initializer element is not constant >> > cvexportdlg.c:251: error: (near initialization for > 'formats[7].userdata') >> > cvexportdlg.c:253: error: initializer element is not constant >> > cvexportdlg.c:253: error: (near initialization for > 'formats[8].userdata') >> > make[1]: *** [cvexportdlg.o] Error 1 >> > make[1]: *** Waiting for unfinished jobs.... >> > make: *** [fontforge] Error 2 >> > ### execution of /tmp/fink.2KjHO failed, exit code 2 >> > >> > system information: >> > Package manager version: 0.32.6 >> > Distribution version: selfupdate-rsync Tue May 1 16:18:48 2012, > 10.6, i386 >> > Trees: local/main stable/main stable/crypto >> > Xcode: 4.1 >> > Max. Fink build jobs: 2 >> > >> > Any ideas? >> > >> > Thanks. >> > >> > >> >> The package appears not to build with llvm-gcc, which is what Fink uses >> on 10.6/Xcode 4.1. I was able to reproduce the issue on 10.7 by telling >> the package to use llvm-gcc instead of the default compiler there, which >> is clang. Daniel may need to set things up such that the package uses >> clang for 10.6/Xcode 4.1, or to come up with another fix. >> >> Klaus: you can edit >> /sw/fink/10.4/stable/main/finkinfo/graphics/fontforge.info and add the >> following line: >> >> SetCC: clang >> >> You can add this below the line that starts with "SetLDFLAGS:" >> -- >> Alexander Hansen, Ph.D. >> Fink User Liaison >> http://finkakh.wordpress.com/2012/02/21/got-job/ > > Thanks for the suggestion, Alexander. Unfortunately, clang fails with a > link error: > > Undefined symbols for architecture x86_64: > "_pango_xft_get_font_map", referenced from: > __GXPDraw_NewWindow in gxcdraw.o
... > > - Klaus > > > > Could you please post the line of output from just before this error? -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
