Bruce wrote:

>      sed -i 's@FLAGS=\"-g@FLAGS=\"@' configure          &&
>      patch -Np1 -i $DIR/$PROGRAM-add_xdemos-3.patch     &&
>      patch -Np1 -i $DIR/$PROGRAM-llvm-3.1-fixes-1.patch &&
>      ./configure --prefix=$XORG_PREFIX   \
>                  --enable-texture-float  \
>                  --enable-gles1          \
>                  --enable-gles2          \
>                  --enable-xa             \
>                  --enable-shared-glapi   \
>                  --enable-shared-dricore \
>                  --enable-glx-tls        \
>                  --with-gallium-drivers="nouveau,svga,swrast" &&
>      make                                                     &&
> 
> Where XORG_PREFIX=/opt/xorg.

That's essentially what I used, except that 
XORG_PREFIX=/home/afbacher/GCC/Xorg/usr and --with-gallium-drivers also has 
r300,r600, per the BLFS book 
(http://www.linuxfromscratch.org/blfs/view/svn/x/mesalib.html).

Also to the ./configure line I added 
"PKG_CONFIG=/home/afbacher/..../bin/pkg-config ./configure ...." and set the 
environmental variable PKG_CONFIG_PATH=<a number of paths containing the 
pkg-config files>.

Alan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to