Can't compile newest wayland due to mesa changes?

Juan Zhao juan.j.zhao at linux.intel.com
Sun Jul 22 04:58:25 PDT 2012


On Fri, 2012-07-20 at 22:30 -0700, Bill Spitzak wrote: 
> On 07/16/2012 11:48 PM, Juan Zhao wrote:
> 
> >>     CC     libgbm_dri_la-gbm_dri.lo
> >> In file included from backends/dri/gbm_dri.c:48:0:
> >> backends/dri/../../../egl/wayland/wayland-drm/wayland-drm.h:5:41: fatal
> >> error: wayland-drm-server-protocol.h: No such file or directory
> >
> > Yes, https://bugs.freedesktop.org/show_bug.cgi?id=52178
> > you can "cd src/egl" to make, then "cd ../../;make" to workaournd this
> > problem.
> 
> Thanks, that got a bit further. make in src/egl produced an error, but 
> it apparently created the file, so make in mesa worked.
> 
> However I now cannot build weston:
> 
>    CCLD   desktop-shell.la
> /bin/sed: can't read /lib/libglapi.la: No such file or directory
> libtool: link: `/lib/libglapi.la' is not a valid libtool archive
> make[4]: *** [desktop-shell.la] Error 1
> 
> There is in fact a $prefix/lib/libglapi.la file! It seems to be ignoring 
> the $prefix I sent to autogen.sh.
> 
> Any ideas?

Before you update git repo, make clean, make distclean Or,"git clean
-dxf" to avoid issues like this.

Thanks,
Juan 
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel




More information about the wayland-devel mailing list