[kaffe] freetype2 missing when configuring kaffe for Mac OS X 10.3.9

Dalibor Topic robilad at kaffe.org
Thu Apr 6 23:00:55 PDT 2006


On Wed, 2006-04-05 at 13:52 -0400, Joe Corneli wrote:
> Fink tells me I have various freetype2 things installed, but I don't
> know if they are the right ones; this is what it says I have.

Hi Joe,

> Joseph-Cornelis-Computer:~/kaffe jcorneli$ fink list freetype2
> Information about 5769 packages read in 3 seconds.
>  p   freetype2                     2.1.4-11               TrueType font rendering library, (dummy)
>  p   freetype2-dev                 2.1.4-11               TrueType font rendering library, headers
>  i   freetype2-hinting             2.1.4-11               TrueType font rendering library, (dummy)
>  i   freetype2-hinting-dev         2.1.4-11               TrueType font rendering library, headers
>  i   freetype2-hinting-shlibs      2.1.4-11               TrueType font rendering library, shared libs
>  p   freetype2-shlibs              2.1.4-11               TrueType font rendering library, shared libs
>  i   freetype219                   2.1.9-1                TrueType font rendering library, headers
>  i   freetype219-shlibs            2.1.9-1                TrueType font rendering library, shared libs
> 
> I get the following errors when I run ./configure/ for kaffe:
> 
> *snip*
> 
> checking for gtk+-2.0 >= 2.4 gthread-2.0 >= 2.2 gdk-pixbuf-2.0... yes
> checking GTK_CFLAGS... -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include  
> checking GTK_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lXinerama -lXext -lXcursor -latk-1.0 -lpangoxft-1.0 -lXft -lXrender -lpangox-1.0 -lX11 -lpangoft2-1.0 -lfontconfig -lfreetype -lpango-1.0 -lgthread-2.0 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv  
> checking for freetype2... Package freetype2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `freetype2.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'freetype2' found

>From your locate output:

/sw/lib/freetype219/lib/pkgconfig/freetype2.pc

so you just need to add that
directory /sw/lib/freetype219/lib/pkgconfig/ to your PKG_CONFIG_PATH

Assuming you're on ppc-osx, you should also add --with-engine=intrp to
configure, unless you want to help out with the ppc jit port.

cheers,
dalibor topic





More information about the kaffe mailing list