Feuerbacher, Alan wrote: > 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>.
When I run into a problem like yours, finding a header in this case, I like to paste the long instruction into vi and edit it so I can see what is going on. In this case, you are missing a header so I looked at the -I parameters. In my build, I have: -I. -Iserver -I../../../../../include -I../../../../../src/egl/drivers/dri -I../../../../../src/egl/main -I../../../../../src/mapi -I../../../../../src/mesa -I../../../../../src/mesa/drivers/dri/common -I/opt/xorg/include -I/opt/xorg/include/libdrm -I/opt/xorg/include -I/opt/xorg/include/libdrm -I/opt/xorg/include/nouveau Yours are identical, except instead of /opt/xorg, you have /home/afbacher/GCC/OCTAVE/install/. So that part seems to be OK. Now, I look for nouveau_device.h. I found it in /opt/xorg/include/nouveau/. These files are installed as a part of libdrm-2.4.33. It would appear that you have not installed libdrm properly. Perhaps XORG_PREFIX was improperly set when you installed it. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
