<br><br><div class="gmail_quote">On Fri, Jul 20, 2012 at 11:40 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 07/20/2012 10:30 PM, Bill Spitzak wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However I now cannot build weston:<br>
<br>
   CCLD   <a href="http://desktop-shell.la" target="_blank">desktop-shell.la</a><br>
/bin/sed: can't read /lib/<a href="http://libglapi.la" target="_blank">libglapi.la</a>: No such file or directory<br>
libtool: link: `/lib/<a href="http://libglapi.la" target="_blank">libglapi.la</a>' is not a valid libtool archive<br>
make[4]: *** [<a href="http://desktop-shell.la" target="_blank">desktop-shell.la</a>] Error 1<br>
<br>
There is in fact a $prefix/lib/<a href="http://libglapi.la" target="_blank">libglapi.la</a> file! It seems to be ignoring<br>
the $prefix I sent to autogen.sh.<br>
<br>
Any ideas?<br>
</blockquote>
<br></div>
Well I got it a bit further by editing weston/src/*.la and adding my $prefix before all the /lib/<a href="http://libglapi.la" target="_blank">libglapi.la</a> instances. However something is wrong with the dependency building. These files contain references to other libraries that are correctly located in my $prefix.<br>

<br>
However (sigh) now it fails with:<br>
<br>
compositor.c: In function ‘weston_surface_attach’:<br>
compositor.c:788:8: error: ‘EGL_TEXTURE_Y_UV_WL’ undeclared (first use in this function)<br>
compositor.c:788:8: note: each undeclared identifier is reported only once for each function it appears in<br>
compositor.c:792:8: error: ‘EGL_TEXTURE_Y_U_V_WL’ undeclared (first use in this function)<br>
compositor.c:796:8: error: ‘EGL_TEXTURE_Y_XUXV_WL’ undeclared (first use in this function)<br>
make[4]: *** [weston-compositor.o] Error 1<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br>You need to update mesa. I just build latest and it builds/works fine. Make sure to use git clean -fdx for each component and try installing to a clean prefix.<br>
<br><br>Scott <br></div></div>