At 19:13 27/03/2001 +1000, Gareth Hughes wrote:
>I've looked into the 'making clean in /usr/local' build problem. Here's
>the lowdown:
>
>Despite what Keith P's HOWTO says, you can't just add this to your
>host.def:
>
> #define Freetype2Dir /usr/local
>
>By default, our host.def file has:
>
> #define BuildServersOnly YES
>
>Similarly, by default, xc/config/cf/X11.tmpl has the following:
>
> #ifndef BuildRenderLibrary
> #define BuildRenderLibrary !BuildServersOnly
> #endif
> #ifndef BuildXftLibrary
> #define BuildXftLibrary BuildRenderLibrary
> #endif
> #ifndef BuildFreetype2Library
> #define BuildFreetype2Library BuildXftLibrary
> #endif
>
>And then we see this:
>
> #ifdef Freetype2Dir
> ...
> #ifndef Freetype2LibDir
> #define Freetype2LibDir Freetype2Dir/lib
> #endif
> ...
> FREETYPE2DIR = Freetype2Dir
> FREETYPE2LIBDIR = Freetype2LibDir
> ...
> #endif
>
>In xc/lib/Imakefile, we see this:
>
> #if BuildFreetype2Library
> FREETYPE2LIBDIR = freetype2
> #endif
>
>So, defining Freetype2Dir with BuildServersOnly results in an incorrect
>FREETYPE2LIBDIR, which results in 'making clean in lib//usr/local/lib'
>instead of 'making clean in lib/freetype2'.
>
>Moral of the story: you most likely can't enable AA fonts, render etc.
>with just the DRI CVS tree. You should probably checkout the XFree86
>CVS or download a source archive of 4.0.3.
I have it working okay. I just defined the BuildRenderLibrary option to
YES in my host.def and it builds and uses the Freetype2 lib included in the
tree instead of the version installed in /usr/local. Well that's what I
assumed it did, AA fonts work anyway. It may actually be using the
freetype2 lib installed in /usr/local.
As far as I can tell the XFree86 CVS does not currently contain the latest
MGA DRI driver bug fixes which you kindly submitted.
Steve Newbury
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel