Re: Including dependencies
- From: Jerry Talkington <jtalkington users sourceforge net>
- To: garnome-list gnome org
- Subject: Re: Including dependencies
- Date: Tue, 9 Sep 2003 11:31:25 -0700
On Wed, Sep 10, 2003 at 04:24:45AM +1000, Jeff Waugh wrote:
> <quote who="Jerry Talkington">
>
> > I got around this by addind -I$(DESTDIR)$(includedir)/freetype2 to the
> > gar.conf.mk CFLAGS and CPPFLAGS.
>
> Did you do this after installing dlcompat and libtool, and libtoolizing
> fontconfig? Because even after doing all of that, it's still b0rking:
No, I didnt do all that.
> ccache gcc3 -I/Users/jdub/garnome/include/freetype2
> -I/Users/jdub/garnome/include -I/usr/X11R6/include -O2 -pipe -no-cpp-precomp
> -o .libs/fc-cache fc-cache.o -L/Users/jdub/garnome/lib -L/usr/X11R6/lib
> -L../src/.libs -lfontconfig -lfreetype -lz -lexpat -ltinfo
> ld: Undefined symbols:
> _FT_New_Face
>
> Similar problems all over the web, it seems. I am obviously not inhaling the
> OS X linker bullshit correctly. :-)
Do'h. I forgot to include the freetype patch. There's some braindead
checking that I found out about after doing a search. Here's the patch:
diff --speed-large-files --minimal -Nru freetype-2.1.4.orig/include/freetype/config/ftconfig.h freetype-2.1.4/include/freetype/config/ftconfig.h
--- freetype-2.1.4.orig/include/freetype/config/ftconfig.h Tue Apr 30 07:26:48 2002
+++ freetype-2.1.4/include/freetype/config/ftconfig.h Sat Sep 6 13:29:40 2003
@@ -108,7 +108,7 @@
/* This is the only necessary change, so it is defined here instead */
/* providing a new configuration file. */
/* */
-#if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) )
+#if (defined(__APPLE__) && !defined(__GNUC__)) || ( defined( __MWERKS__ ) && defined( macintosh ) )
#define FT_MACINTOSH 1
#endif
--
GPG public key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x9D5B8762
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]