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.

-- Gareth

_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to