Ian Romanick wrote: > Nathan Gray wrote: > >> Hello, >> >> I'm trying to build from CVS but I'm seeing something unexpected. The >> build >> is trying to link to X libraries outside of the DRI tree itself. In >> host.def I altered the ProjectRoot variable as so: >> >> /* Optionally turn this on to change the place where you install the >> build. >> * Warning: trailing blanks will cause build failures. >> */ >> #define ProjectRoot /usr/X11R6-n8dri >> >> When I run make World it tries to do this: >> + gcc -m32 -o ./libGL.so.1.2~ ... blah blah blah ... >> -L/usr/X11R6-n8dri/lib -lXext -lX11 -ldl -lXxf86vm -lc > > I could have sworn this was documented, but I sure couldn't find it. > This should be added to the developer's FAQ. > > The DRI tree doesn't include all of XFree86. It would be too big and > too much work to keep in sync. Because of that a DRI build requires > that a bunch of the core X libraries and header files are installed on > the system already. The only place that it knows to look for it is in > ProjectRoot. If you have XFree86 already installed on your system and > want to build to somewhere else, you have to copy your existing tree to > the new place. Something like 'cp -a /usr/X11R6 /usr/X11R6-n8dri' > should work. I'm not sure off the top of my head what the minimum set > of required stuff is.
Ok, I see. Thanks for the info. I've added this to the compilation questions section of the FAQ on dri.sourceforge.net. The *best* place to put this information would be in the comment above the ProjectRoot #define, IMHO. Thanks again, -n8 -- >>>-- Nathaniel Gray -- Caltech Computer Science ------> >>>-- Mojave Project -- http://mojave.cs.caltech.edu --> ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel