El Mar 11 Dic 2001 15:51, Michael Thaler escribió:
> On Tue, Dec 11, 2001 at 12:45:59PM +0000, Jose Fonseca wrote:
> > Me neither. That's not a problem, just login as anonymous:
> >
> > cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri login
> >
> > Press enter for password and then
> >
> > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri co -r
> > mach64-0-0-2-branch xc
>
> I start to feel really stupid. I tryed it again and again I got
> errors. I followed your instructions and did:
>
> mkdir DRI-CVS
> cd DRI-CVS
> cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri login
> cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/dri co
> -r mach64-0-0-2-branch xc
> ln -s xc XFree40
> mkdir build
> cd build
> lndir -silent -ignorelinks ../XFree40
> cd ~/DRI-CVS/build/xc/
> make World >& World.LOG
>
>
> + gcc -o ./libGL.so.1.2~ -shared -Wl,-soname,libGL.so.1
> ../../../lib/GL/glx/clientattrib.o ../../../lib/GL/glx/compsize.o
> ../../../lib/GL/glx/dispatch.o ../../../lib/GL/glx/eval.o
> ../../../lib/GL/glx/glapinoop.o ../../../lib/GL/glx/glapi.o
> ../../../lib/GL/glx/glapi_x86.o ../../../lib/GL/glx/glthread.o
> ../../../lib/GL/glx/glxcmds.o ../../../lib/GL/glx/glxext.o
> ../../../lib/GL/glx/g_render.o ../../../lib/GL/glx/g_single.o
> ../../../lib/GL/glx/g_vendpriv.o ../../../lib/GL/glx/indirect_init.o
> ../../../lib/GL/glx/pixel.o ../../../lib/GL/glx/pixelstore.o
> ../../../lib/GL/glx/render2.o ../../../lib/GL/glx/renderpix.o
> ../../../lib/GL/glx/single2.o ../../../lib/GL/glx/singlepix.o
> ../../../lib/GL/glx/vertarr.o ../../../lib/GL/glx/xfont.o
> ../../../lib/GL/dri/XF86dri.o ../../../lib/GL/dri/dri_glx.o -lpthread
> -L../../../exports/lib -L/usr/X11R6-DRI/lib -lXext -lX11 -ldl -lc
> /usr/bin/ld: cannot find -lXext
> collect2: ld returned 1 exit status
> + rm -f libGL.so.1
> + ln -s libGL.so.1.2 libGL.so.1
> + rm -f ../../../exports/lib/libGL.so.1
> + cd ../../../exports/lib
> + ln -s ../../lib/GL/GL/libGL.so.1 .
> rm -f libGL.so.1.2
> mv -f libGL.so.1.2~ libGL.so.1.2
> mv: cannot stat `libGL.so.1.2~': No such file or directory
> make[5]: *** [libGL.so.1.2] Error 1
>
> > I've checked and Xext is not built after all. It must be already
> > available. For that you need to make the 'lndir' stuff _before_ building
> > so that the linker finds it (note the "-L/usr/X11R6-DRI/lib" in the
> > command line).
>
> How do I have to do that? I don't think that lndir'ing from /usr/X11R6
> to /usr/X11R6-DRI will do any good.

Xext is not builded in the DRI compilation process. This is because the dri
trunk (branch) is a stripped-out version of the XFree source code.
This is because you MUST lndir your existing XFree distro files to the
/usr/X11R6-DRI directory, where DRI compilation is trying to find the libs,
as you can read in the line:
... -L/usr/X11R6-DRI/lib -lXext ...
So, the first thing that you have to do is check if there is a libXext.so.*
in your /usr/X11R6-DRI/lib. If you have that library there, I don't
understand your problem, and in the other case, you know what to do now.
>
> As soon as I managed to compile this I will write a short compilation
> guide because I think the compilation guide on the webpage is really
> outdated and there are probably a lot of people who want to get the
> mach64 working.

I think that compiling the mach64 branch is as difficult as compiling another
branch or the trunk. All of them are stripped-source versions (I'm not sure
now about the mach64-0-0-1, perhaps this was a complete X source tree ) and
you need an starting XFree install.

Best regards.

--
M. Teira

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

Reply via email to