Subject: Re: Mozilla 1.7 problems
To: Marc Recht <>
From: Martti Kuparinen <>
List: tech-pkg
Date: 06/23/2004 16:00:05
Marc Recht wrote:

> Weird. It looks like it's picking up an old freetype2 (maybe the XFree
> one?).. Are you sure you don't have an old ftcache.h somewhere?

n52:~> ls /var/adm/packages/xfree86-*

n52:~> find /usr -name ftcache.h

n52:~> freetype-config --cflags

n52:~> freetype-config --version

n52:~> /usr/pkg/bin/freetype-config --version

However, shouldn't the pkgsrc version be preferred?

ROOT n52:/usr/pkgsrc/www/mozilla> bmake show-var VARNAME=PREFER_PKGSRC
MesaLib Xft2 Xrandr Xrender expat fontconfig     freetype2 glu randrext render 

Additionally I have this:

ROOT n52:/usr/pkgsrc/www/mozilla> ls -l 
lrwxrwxrwx    1 root     root           45 Jun 23 15:26 
work/.buildlink/include/freetype2/freetype/ftcache.h -> 

I'm leaving my PC to compile things over night after doing this:

# chmod 0 /usr/bin/freetype-config
# mv /usr/include/freetype2 /usr/include/freetype2.orig

I'll let you know what happens...