Dan Nicholson wrote:
On 6/19/06, Alexander E. Patrakov <[EMAIL PROTECTED]> wrote:
Dan Nicholson wrote:
> make linux-dri-x86 \
> OPT_FLAGS="$CFLAGS
-DDEFAULT_DRIVER_DIR=\\\"/usr/lib/X11/modules/dri\\\"" \
> PIC_FLAGS="-fPIC" \
> X11_INCLUDES="" EXTRA_LIB_PATH=""
>
> PIC_FLAGS is probably unnecessary. It's worth a discussion, but it
> may not be worth the extra effort.
This default driver dir is from the LiveCD, but the LiveCD gets it
wrong for
Xorg 7.1 (namely, this results in non-functional AIGLX). The correct
directory
is /usr/lib/dri. I will fix this on the LiveCD by completely removing
support
for OpenGL.
Well, I also make sure to pass in all the directories to the
xorg-server build, whether through configure or preprocessor
directives.
Then everything is fine. /usr/lib/dri is just the default value of
--with-dri-driver-path in xorg-server 1.1.0. If DRI drivers are in fact
installed somewhere else during Mesa build, XOrg will not be able to dlopen them
at runtime, and revert to software rendering for indirect clients.
--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page