[patch] glx//Makefile.am

Dan Nicholson dbn.lists at gmail.com
Thu Dec 11 16:51:44 PST 2008

On Thu, Dec 11, 2008 at 4:31 PM, Pat Kane <pekane52 at gmail.com> wrote:
> Brian,
> Thanks for the quick reply, the glx build failure has been a constant problem
> for me in all my build environments.

Recently? It should hopefully be much smoother now than in the past
with pulling the mesa source into the xserver build tree.

> On Thu, Dec 11, 2008 at 6:17 PM, Brian Paul
> <brian.paul at tungstengraphics.com> wrote:
>> I had asked Dan Nicholson about this myself recently.  With the latest
>> changes in Xorg git, the --with-mesa-source option is no longer used.
>> Instead, pkg-config is used to determine where to find the Mesa headers.
>>  This means you should install Mesa before building the X server.
> In my cross-development environment I can not install Mesa
> in the standard system location, so I hope Mesa will allow me to install
> it into my non-standard build tree.

As long as pkg-config finds the right gl.pc file, you should be in
good shape. This will populate GL_CFLAGS. If you really need to
workaround this, you can set GL_CFLAGS in the environment (or on the
configure command line) and pkg-config will skip it's checks and use
those values.


More information about the xorg mailing list