[Mesa-dev] [Bug 61919] New: make fails without C_INCLUDE_PATH: xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or directory

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 6 13:37:09 PST 2013


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

          Priority: medium
            Bug ID: 61919
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: make fails without C_INCLUDE_PATH:
                    xlib_sw_winsys.c:49:33: fatal error:
                    X11/extensions/XShm.h: No such file or directory
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: darxus at chaosreigns.com
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: Other
           Product: Mesa

Making all in xlib
make[4]: Entering directory
`/home/darxus/source/mesa/src/gallium/winsys/sw/xlib'
  CC     xlib_sw_winsys.lo
xlib_sw_winsys.c:49:33: fatal error: X11/extensions/XShm.h: No such file or
directory

Built libX11 from source, installed into $installdir.  Building mesa with:
./autogen.sh --prefix=$installdir --enable-gles2 --disable-gallium-egl
--with-egl-platforms=wayland,x11,drm --enable-gbm --enable-shared-glapi
--with-gallium-drivers=r300,r600,swrast,nouveau,svga

I have these variables set, which I believe should be sufficient for mesa to
find libX11 in $installdir:

PKG_CONFIG_PATH=$installdir/lib/pkgconfig/:$installdir/share/pkgconfig/
ACLOCAL="aclocal -I $installdir/share/aclocal"
LIBRARY_PATH=$installdir/lib
PATH=$installdir/bin:$PATH

With this set, it does not fail, but I believe this should not be required:

C_INCLUDE_PATH=$installdir/include


35189d768bf80fdedbb6e70f49215cc8b734f343 is the first bad commit
commit 35189d768bf80fdedbb6e70f49215cc8b734f343
Author: Matt Turner <mattst88 at gmail.com>
Date:   Mon Mar 4 10:23:54 2013 -0800

    configure.ac: Don't check for X11 unconditionally.

    X11 is already checked conditionally below.

    Fixes OSMesa-only configurations to not require X11.

    Note: This is a candidate for the 9.1 branch.
    Reviewed-by: Brian Paul <brianp at vmware.com>

:100644 100644 785259554bbb833bc6d03c50414b8262bc553341
1b13d06be3ac263088b5d2d15923c383453d16b6 M      configure.ac
bisect run success

-- 
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/20130306/234d0d1f/attachment.html>


More information about the mesa-dev mailing list