-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/24/10 5:05 PM, Bob Lewis wrote:
> Doing a "fink update-all" on my MacOS 10.6.2 machine, gcc complains that
> a number of FC_* macros cannot be found when it tries to compile
> "pango-xft2-ft219".  The macros include FC_WEIGHT_THIN,
> FC_WEIGHT_ULTRALIGHT, FC_WEIGHT_BOOK, FC_WEIGHT_NORMAL, and
> FC_WEIGHT_ULTRABOLD.  They seem to be missing
> from
> 
>     /sw/lib/fontconfig2/include/fontconfig/fontconfig.h
> 
> There are lots of other FC_* macros there, just not these four.  This
> suggests a version sync problem between pango1-xft2-ft219 and
> fontconfig2-dev.  These macros appear to be present in the
> fontconfig1-dev package, but I can find no way to install that or
> configure pango to use it.
> 
> The fontconfig2-dev version fink installs is 2.4.1-208.  apt-get is
> happy with that being the latest version.  The pango1-xft2-ft219 version
> fink would install is (see above) 1.24.5-3.  The pango1-xft2-ft219
> version apt-get at first said it would install is 1.22.4-2, but after an
> "apt-get update" it now says that there is no available version.
> 

Apt-get isn't really that useful on 10.6 other than to view your locally
built packages in the absence of a binary distribution.  You're better
off using "fink list -o" to check for updates.

> See pango1-xft2-ft219_build.log (attached) for the ugly details.
> 
>     - Bob Lewis
> 
> 

In the future, don't attach text files.  I now have to paste relevant
context back from your message so that the thread is actually useful to
others who may be experiencing the same problem.

The last compiler line is:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"Pango\"
- -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE
- -DSYSCONFDIR=\"/sw/lib/pango-ft219/etc\"
- -DLIBDIR=\"/sw/lib/pango-ft219/lib\" -I.. -DG_DISABLE_CAST_CHECKS
- -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include
- -I/sw/include/freetype2 -I/sw/include -I/sw/lib/fontconfig2/include
- -I/sw/lib/fontconfig2/include -I/sw/include/cairo -I/sw/include/pixman-1
- -I/sw/include/freetype2 -I/sw/include -I/sw/include/libpng12
- -I/usr/X11R6/include -I/usr/X11/include -I/sw/lib/fontconfig2/include
- -I/sw/lib/xft2/include -I/sw/lib/freetype219/include/freetype2
- -I/sw/lib/freetype219/include -I/usr/X11R6/include -I/usr/X11/include
- -I/usr/X11R6/include -I/sw/lib/fontconfig2/include -I/sw/include -Os
- -Wall -c pangofc-fontmap.c  -fno-common -DPIC -o .libs/pangofc-fontmap.o
pangofc-fontmap.c: In function 'pango_fc_convert_weight_to_fc':
pangofc-fontmap.c:1346: error: 'FC_WEIGHT_THIN' undeclared (first use in
this function)

/sw/lib/fontconfig2/include/fontconfig/fontconfig.h is actually supposed
to be the same as /usr/X11/include/fontconfig/fontconfig.h on 10.5 and 10.6:

 ls -l /usr/X11/include/fontconfig/fontconfig.h
/sw/lib/fontconfig2/include/fontconfig/fontconfig.h
- -rw-r--r-- 1 root wheel 23426 2009-08-12 03:53
/sw/lib/fontconfig2/include/fontconfig/fontconfig.h
- -rw-r--r-- 1 root wheel 23426 2009-08-12 03:53
/usr/X11/include/fontconfig/fontconfig.h

Do yours look the same? (as each other--I wouldn't expect them to be the
same as mine because the output is from 10.5) If not, try doing a "fink
rebuild fontconfig2-dev" and see if that puts them back in sync.

On my 10.6 setup those macros are indeed defined in
/usr/X11/include/fontconfig/fontconfig.h; you might check that, too.
- -- 
Alexander Hansen
Fink User Liaison
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuF2OwACgkQB8UpO3rKjQ/XpQCfawiGC62ftclCQOlz90pSVVBs
iSAAn2LiJ6BV2PfOV7eP0zPZ4+8cZiMQ
=FdhR
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to