On 2/11/07, Randy McMurchy <[EMAIL PROTECTED]> wrote:
> Dan Nicholson wrote these words on 02/11/07 11:38 CST:
>
> > 1. You could drop all 3 seds:
> >
> > make linux-dri-x86 \
> > OPT_FLAGS="$CFLAGS -fno-strict-aliasing
> > -DDEFAULT_DRIVER_DIR=\\\"${XORG_PREFIX}/lib/X11/modules/dri\\\"" \
> > X11_INCLUDES="-I${XORG_PREFIX}/include" \
> > EXTRA_LIB_PATH="-L${XORG_PREFIX}/lib"
>
> Nice.
The only problem with that one is that OPT_FLAGS becomes one really
long line. I don't know if we can format it over a single line in the
book. Adding a breakline \ before the -D would probably work. You're
usually good at formatting these things correctly, so I trust you'll
figure it out.
And just to confirm that things are working, run strings on libGL.so.
You should find the path that you substituted for DEFAULT_DRIVER_DIR
just below LIBGL_DRIVERS_PATH, which you can use to override the path
with an environment variable.
> > Do you have any interest in these changes?
>
> Sure. I'd like DJ to throw some input in, but I think the changes
> are good. I also noticed that the entire build/install commands
> could be consolidated together and descriptions of what's going on
> then put in the "Command Explanation" section. It could be much more
> condensed. Removing the seds will make a big difference.
Yeah, this page, and the Mesa build itself, is kind of a nightmare.
I'm glad you're fixing it up. Hopefully DJ can confirm or deny my
ramblings.
If you want to tweak one more command, you could drop the "cd
progs/xdemos" by using -C to make:
make -C progs/xdemos PROGS='glxinfo glxgears'
install -v -m755 progs/xdemos/{glxinfo,glxgears} $XORG_PREFIX/bin
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page