[PATCH wayland-web] Update ubuntu12.04 instructions to build expat from source

Peter Hutterer peter.hutterer at who-t.net
Wed Feb 4 21:14:00 PST 2015


On Tue, Feb 03, 2015 at 02:58:57PM -0800, Bill Spitzak wrote:
> This git repository was the best one I found. Even then the instructions
> seem to be wrong, there was no buildconf script and the execute bit was
> not turned on for configure.
> 
> This seems to work and I confirmed that the output of wayland-scanner
> matches the versions in the wayland repository.
> ---
>  ubuntu12.04.html |    9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/ubuntu12.04.html b/ubuntu12.04.html
> index 805b35c..ed3ad7c 100644
> --- a/ubuntu12.04.html
> +++ b/ubuntu12.04.html
> @@ -40,6 +40,13 @@ mkdir -p $ACLOCAL_PATH
>  <span class="comment"># dependencies for libwayland:</span>
>  sudo apt-get install doxygen xmlto <span class="comment"># or use --disable-documentation</span>
>  
> +git clone https://github.com/coapp-packages/expat.git
> +cd expat/
> +chmod +x ./configure
> +./configure --prefix=$WLD
> +make -j 9 install
> +cd ..

please use the proper upstream, not some semi-random github repo. if expat
is a CVS repo you'll just have to deal with it, as painful as that
may be (or link to a tarball, which is likely easier to build)

Cheers,
   Peter

> +
>  <span class="comment"># libwayland-*:</span>
>  git clone git://anongit.freedesktop.org/wayland/wayland
>  cd wayland
> @@ -52,7 +59,7 @@ cd ..
>  # install unwanted items, such as wayland itself, and xcb prototypes
>  # that are too old.</span>
>  sudo apt-get install autoconf automake bison debhelper dpkg-dev flex \
> -  libexpat1-dev libudev-dev libx11-dev libx11-xcb-dev \
> +  libudev-dev libx11-dev libx11-xcb-dev \
>    libxdamage-dev libxext-dev libxfixes-dev libxxf86vm-dev \
>    linux-libc-dev pkg-config python-libxml2 quilt x11proto-dri2-dev \
>    x11proto-gl-dev xutils-dev
> -- 
> 1.7.9.5


More information about the wayland-devel mailing list