Bruce Dubbs wrote:

> 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.

Very helpful, thanks!

>  In this case, you are missing a header so I looked
> at the -I parameters.  In my build, I have:
> . . .
> 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.

Thank you Bruce! You gave me enough hints to figure out how to build Mesa.

I thought that some readers might benefit from my experience and mistakes, so 
here goes:

A couple of weeks ago, in my naivete and not knowing that BLFS gave good 
instructions, I tried to compile Mesa on my own. I then discovered that it had 
a number of build dependencies, which I tried to rectify. This quickly became 
unmanageable because I found that the dependencies quickly resulted in a large 
tree that included a lot of stuff from X and so forth. Eventually I stumbled on 
BeyondLinuxFromScratch and found much helpful material. I installed all the 
dependencies (a lot of this was X related stuff and I had no idea if it would 
run on my Redhat5 machine).

One of the build dependencies I built weeks ago was libdrm, which I installed 
in the same place I've been installing Octave related stuff. After hooking up 
with BLFS I more or less forgot about these earlier builds, until I went 
through the process of installing all the Xorg stuff. Then I recompiled libdrm 
and some other programs, and finally was able to compile Mesa.

Mesa is definitely working because today I was able successfully to compile 
octave-3.6.3, which until now have not been able to do. Opengl graphics appears 
to work, which means that the Mesa installation is ok.

Thanks again for your help.
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