[Libwebsockets] Configure error

Jack Mitchell ml at communistcode.co.uk
Tue Jan 15 14:27:56 CET 2013


I am the maintainer of the ArchLinux libwebsockets package and I have an 
error on configure as follows:

==> Determining latest git revision...
   -> Version found: 20130115
==> Making package: libwebsockets-git 20130115-0 (Tue 15 Jan 13:24:10 
GMT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
==> Building libwebsockets-git...
   -> Cloning git://git.warmcat.com/libwebsockets repository...
Cloning into 'libwebsockets'...
remote: Counting objects: 2752, done.
remote: Compressing objects: 100% (2112/2112), done.
remote: Total 2752 (delta 2086), reused 818 (delta 622)
Receiving objects: 100% (2752/2752), 1.17 MiB | 1.06 MiB/s, done.
Resolving deltas: 100% (2086/2086), done.
Already on 'master'
Preparing the libwebsockets build system...please wait

Found GNU Autoconf version 2.69
Found GNU Automake version 1.13.1
Found GNU Libtool version 2.4.2

Automatically preparing build ... Warning: autoreconf failed
Attempting to run the preparation steps individually

Preparing build ... ERROR: aclocal failed
==> ERROR: A failure occurred in build().
     Aborting...

I have had a report saying that if the m4 directory is created then the 
build works OK.

Do you hava any idea what the route cause could be? The PKGBUILD file is 
paste below and should be fairly obvious what it is doing.

# Maintainer: Jack Mitchell <jack at embed.me.uk>

pkgname=libwebsockets-git
pkgver=20130115
pkgrel=0

pkgdesc="C Websockets Server Library"
arch=(i686 x86_64)
url='http://git.warmcat.com/cgi-bin/cgit/libwebsockets'
license=(LGPL)

depends=()
makedepends=(git)
provides=('libwebsockets')

_gitroot="git://git.warmcat.com/libwebsockets"
_gitbranch="master"
_gitname="libwebsockets"

source=()
md5sums=()

build() {

   msg "Building ${pkgname}..."

   if [ -d "$_gitname" ] ; then
     warning 'Repository directory already exists!'
     cd "$_gitname"
     git checkout master
     msg2 "Pulling..."
     git pull "$_gitroot" master
   else
     msg2 "Cloning $_gitroot repository..."
     git clone "$_gitroot" "$_gitname"
     cd "$_gitname"
     git checkout "$_gitbranch"
   fi

   ./autogen.sh

   ./configure --prefix=/usr

   make
}

package(){

   msg "Packaging ${pkgname}..."
   cd "$_gitname"
   make DESTDIR="$pkgdir" install

}


-- 

   Jack Mitchell (jack at embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--




More information about the Libwebsockets mailing list