[Mesa-dev] [Bug 38172] Mesa build errors using build.sh script

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 20 07:17:18 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=38172

--- Comment #5 from Knut Petersen <Knut_Petersen at t-online.de> 2012-08-20 14:17:18 UTC ---
(In reply to comment #2)
> This issue is NOT resolved.
> 
> Matt Turner wrote : "This looks like you don't have the Xlib headers
> installed."
> 
> Read what I wrote : "The problem has to do with gcc not finding the X headers
> that were installed by build.sh."
> 
> That means that the Xlib headers ARE installed. Every other package used by the
> build script can find those headers without problems. Only mesa has this
> problem.
> 
> Try it yourself. Use build.sh to install X into /opt/X
> 
> 14 months to respond to my bug report. Someone must be busy. Better late than
> never 

I think Bug 37423 is a duplicate, but I cannot remember which configuration
switches I changed at that time to solve the problem. Today I cannot verify
that bug any longer, with my compile script definitely the right headers are
included.

Add "-H" to CFLAGS CXXFLAGS, redirect everything to a file and use grep to find
problems. If you build to a dir somewhere beneath /home, you could use e.g.

buildscript &> buildlog
cat buildlog | grep -n "/usr/include/X11" | grep -v home

As -H, -v and similar flags that increase the verbosity of gcc can break xorg
module loading you probably have to include a Section "Module" somewhere in
your configuration if you want to use the compiled server or you have to
rebuild without those flags.

cu,
 Knut

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list