On Tue, 05 Aug 2003 20:59:32 -0700
Nathan Gray <[EMAIL PROTECTED]> 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
> 
> This of course fails, since /usr/X11R6-n8dri/lib doesn't even exist yet. 
> What's going on here?  If I hadn't changed the variable and it had looked
> in /etc/X11R6/lib then it probably would have worked and I never would have
> noticed the problem, but that's not the right thing to do, is it?  Why
> would building xfree86 require xfree86 to be installed?
> 
> Also, it would be really helpful to us compile-newbies if somebody would add
> a few tips about configuring host.def to the FAQ.  I'm still not certain I
> did it correctly and I've been building stuff from source for years now. 
> I'm attaching mine so if somebody sees a problem please let me know.
> 
> Thanks,
> -n8

Leif Delgass describes a procedure to build DRI in a new ProjectRoot
directory on his mach64 pages:
http://www.retinalburn.net/linux/dri_HOWTO.html. It's similar to what
Ian described, except that you make symbolic links instead of copying
all the libs and headers. make install will overwrite everything that is
rebuilt from DRI sources.

Not that Leif uses the -ignorelinks option to lndir. I believe it's
better to go without -ignorelinks. Works for me for ages.

> -- 
> >>>-- Nathaniel Gray -- Caltech Computer Science ------>
> >>>-- Mojave Project -- http://mojave.cs.caltech.edu -->

Felix

------------    __\|/__    ___     ___       -------------------------
 Felix       ___\_e -_/___/ __\___/ __\_____   You can do anything,
   Kühling  (_____\Ä/____/ /_____/ /________)  just not everything
 [EMAIL PROTECTED]       \___/   \___/   U        at the same time.


-------------------------------------------------------
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

Reply via email to