[Mesa-dev] [Bug 80848] [dri3] Building mesa fails with dri3 enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 28 07:05:09 PDT 2014


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

--- Comment #13 from Emil Velikov <emil.l.velikov at gmail.com> ---
(In reply to comment #12)
> I did look bit more into this. I notice at linking stage there is no
> /opt/lib in LIBRARY_PATH nor in "sys_lib_search_path_spec" inside libtool.
> So PKG_CONFIG_PATH allowed to find correct headers for compile time but not
> correct libraries for linking time. :/
> 
Yes normally one should provide PKG_CONFIG_PATH whenever the new .pc files are
not available in the default location. Strange part is that configure.ac should
bail when building dri3 with xcb older than 1.9.3.

Can you attach the contents of the system xcb.pc ?

> I fixed this with "PKG_CONFIG_PATH=/opt/lib/pkgconfig CFLAGS=-L/opt/lib
> CXXFLAGS=-L/opt/lib" on my autogen line and it seemed to work for me, I can
> compile with dri3 enabled again.

Hmm does the includedir and Libs flag of /opt/lib/pkgconfig/xcb.pc match the
location of the header/library for the new xcb ? It seems like there is either
a bug in xcb somewhere or you're using some strange method of building and/or
installing xcb.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140728/75a6c2ba/attachment.html>


More information about the mesa-dev mailing list