Re: Building an FAQ aka Solving the Mozilla problem

2003-02-28 Thread Kris Kennaway
On Fri, Feb 28, 2003 at 01:40:22AM -0500, Joe Marcus Clarke wrote:

 8. Try rebuilding print/freetype2, x11-fonts/fontconfig, and
 x11-fonts/Xft.

I was also seeing when trying to rebuild phoenix to get AA font
support.  My problem turned out to be old freetype files in
/usr/X11R6.  I don't know why they weren't being deleted by the port
upgrade process.

I found them following the example in the pkg_which(1) manpage,
removed them (you'll also need to remove the dangling symlinks that
this may leave behind [1], or X ports may break at install-time
(mkhtmlindex doesn't like dangling symlinks)), rebuilt phoenix with
portupgrade -Rf phoenix, and now it works.

Kris

[1] I used the following script to find the dangling symlinks:

#!/bin/sh

for i in $(find $1 -type l); do
if [ ! -e $i/ ]; then
echo $i
fi
done



pgp0.pgp
Description: PGP signature


Re: Building an FAQ aka Solving the Mozilla problem

2003-02-28 Thread Joe Marcus Clarke
On Fri, 2003-02-28 at 15:27, Kris Kennaway wrote:
 On Fri, Feb 28, 2003 at 01:40:22AM -0500, Joe Marcus Clarke wrote:
 
  8. Try rebuilding print/freetype2, x11-fonts/fontconfig, and
  x11-fonts/Xft.
 
 I was also seeing when trying to rebuild phoenix to get AA font
 support.  My problem turned out to be old freetype files in
 /usr/X11R6.  I don't know why they weren't being deleted by the port
 upgrade process.
 
 I found them following the example in the pkg_which(1) manpage,
 removed them (you'll also need to remove the dangling symlinks that
 this may leave behind [1], or X ports may break at install-time
 (mkhtmlindex doesn't like dangling symlinks)), rebuilt phoenix with
 portupgrade -Rf phoenix, and now it works.

Thanks for the update.  I'll make sure to mention this when I publish
this FAQ.

Joe

 
 Kris
 
 [1] I used the following script to find the dangling symlinks:
 
 #!/bin/sh
 
 for i in $(find $1 -type l); do
 if [ ! -e $i/ ]; then
 echo $i
 fi
 done
-- 
Joe Marcus Clarke
FreeBSD GNOME Team  ::  [EMAIL PROTECTED]
http://www.FreeBSD.org/gnome




signature.asc
Description: This is a digitally signed message part