<div dir="ltr"><div><div><div><font face="courier new,monospace">I apologize if this is the wrong place to ask (I'm new to mesa stuff).<br></font></div><div><font face="courier new,monospace"><br>I'm trying to compile mesa for use with offscreen rendering but I haven't been able to find a non-dri pre-compiled package anywhere so went and made one myself. Now, using the compiling/installing guide on the site and setting my LD_LIBRARY_PATH to /usr/local/lib everything works fine and I can do offscreen rendering in a VM using Xvfb but I'd like to install it on other systems (VMs) for offscreen rendering without having to recompile. <br>
<br>So, I went to find out how to make a debian package of the thing. I did the following:<br><br></font></div><font face="courier new,monospace"> $ dh_make --createorig<br></font></div><div><font face="courier new,monospace"> $ vi debian/rules # </font><font face="courier new,monospace"><font face="courier new,monospace">dh_auto_configure --</font> --enable-xlib-glx --disable-dri<br>
</font></div><font face="courier new,monospace"> $ dpkg-buildpackage -rfakeroot<br><br></font></div><font face="courier new,monospace">Compiling manually I have no issues, creating a package it seems to configure and compile correctly but fails after a bit with the following:<br>
<br><br></font><div><div><div><font face="courier new,monospace">collect2: error: ld returned 1 exit status<br>make[5]: *** [glapi-test] Error 1<br>make[5]: Leaving directory `/media/secondary/libgl-mesa-xlib-9.0.1/src/mapi/glapi/tests'<br>
make[4]: *** [check-am] Error 2<br>make[4]: Leaving directory `/media/secondary/libgl-mesa-xlib-9.0.1/src/mapi/glapi/tests'<br>make[3]: *** [check-local] Error 2<br>make[3]: Leaving directory `/media/secondary/libgl-mesa-xlib-9.0.1'<br>
make[2]: *** [check-am] Error 2<br>make[2]: Leaving directory `/media/secondary/libgl-mesa-xlib-9.0.1'<br>make[1]: *** [check-recursive] Error 1<br>make[1]: Leaving directory `/media/secondary/libgl-mesa-xlib-9.0.1'<br>
dh_auto_test: make -j1 check returned exit code 2<br>make: *** [build] Error 29<br>dpkg-buildpackage: error: debian/rules build gave error exit status 2<br><br><br></font></div><div><font face="courier new,monospace">Any help would be appreciated. Thanks!<br>
<br><br></font></div><div><font face="courier new,monospace">Stephen<br></font></div></div></div></div>