[Mesa-dev] [Bug 47649] fatal error: shared-glapi/glapi_mapi_tmp.h: No such file or directory
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 28 07:50:32 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47649
--- Comment #4 from Kristian Høgsberg <krh at bitplanet.net> 2012-03-28 07:50:32 PDT ---
(In reply to comment #3)
> This is still reproducible also with the custom patches disabled:
> https://launchpadlibrarian.net/98554602/buildlog_ubuntu-precise-i386.mesa_8.1~git1203271746.7f6af4~gd~p_FAILEDTOBUILD.txt.gz
Ok, patches or not, there's still some exotic building going on here:
mkdir -p /build/buildd/mesa-8.1~git1203271746.7f6af4~gd~p/build/dri
find /build/buildd/mesa-8.1~git1203271746.7f6af4~gd~p/* -maxdepth 0 -not -path
'/build/buildd/mesa-8.1~git1203271746.7f6af4~gd~p/build*' | \
xargs cp -rlf -t
/build/buildd/mesa-8.1~git1203271746.7f6af4~gd~p/build/dri
...
cd /build/buildd/mesa-8.1~git1203271746.7f6af4~gd~p/build/dri && \
../../configure --prefix=/usr --mandir=\${prefix}/share/man \
--infodir=\${prefix}/share/info --sysconfdir=/etc \
--libdir=\${prefix}/lib/i386-linux-gnu \
--localstatedir=/var --build=i686-linux-gnu --with-driver=dri
--with-dri-drivers=" r200 radeon nouveau swrast i915 i965"
--with-dri-driverdir=/usr/lib/i386-linux-gnu/dri --enable-glx-tls
--enable-shared-dricore --enable-shared-glapi --enable-texture-float
--enable-xa --enable-debug --enable-gallium-g3dvl --enable-driglx-direct
--with-egl-platforms="x11 drm" --enable-gallium-llvm --with-gallium-drivers="
nouveau r600 r300 svga i915 swrast" --enable-gles1 --enable-gles2
--enable-openvg --enable-gallium-egl --disable-glu CFLAGS="-Wall -g -O2"
CXXFLAGS="-Wall -g -O2"
which look like a custom out-of-tree build, which we don't really support. But
maybe give this patch a try:
diff --git a/src/mapi/shared-glapi/Makefile.am
b/src/mapi/shared-glapi/Makefile.
index 8988d28..25370ad 100644
--- a/src/mapi/shared-glapi/Makefile.am
+++ b/src/mapi/shared-glapi/Makefile.am
@@ -18,6 +18,7 @@ AM_CPPFLAGS =
$(DEFINES) \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/mapi \
+ -I$(top_builddir)/src/mapi \
-DMAPI_MODE_GLAPI \
-DMAPI_ABI_HEADER=\"shared-glapi/glapi_mapi_tmp.h\"
--
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