You are not logged in.

#1 2006-05-25 20:38:47

2692b
Member
From: Everberg, Belgium
Registered: 2006-05-01
Posts: 3

Error building pkg wepdecrypt

Hello,

I am trying to build the pkg wepdecrypt from AUR using ABS. All the dependancies are installed, but during the makepkg I get the following error :

wepclient.c: In function 'server_connection':
wepclient.c:121: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness
wepclient.c:123: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness
gcc -march=i686 -O2 -pipe -c -D__LINUX_WLAN__ -D__I386__ -o md5_digest.o md5_digest.c
gcc  -o wepdecrypt wepdecrypt.o rc4.o wepfilter.o log.o
        modes.o misc.o md5_digest.o  wepserver.o wepclient.o verify.o keygen.o localkeygen.o -lcrypto -lz -lpcap
gcc: log.omodes.o: No such file or directory
make[1]: *** [wepdecrypt] Error 1
make[1]: Leaving directory `/var/abs/local/wepdecrypt/src/wepdecrypt-0.7/src'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

This is the PKGBUILD:

# Contributor: phloyd <phloyd>
pkgname=wepdecrypt
pkgver=0.7
pkgrel="1"
pkgdesc="Enhanced version of WepAttack a tool for breaking 802.11 WEP keys"
url="http://wepdecrypt.sourceforge.net/"
license="GPL"
makedepends=('gcc' 'make')
depends=('bash' 'zlib' 'openssl' 'libpcap' 'fltk')
source=(http://dl.sourceforge.net/sourceforge/$pkgname/WepDecrypt-$pkgver.tar.gz)
backup=('etc/wepdecrypt.conf')
md5sums=('72576cec9af9486bf64124b7aaa79f31')
sha1sums=('304c14db012392509d3b84d3e8d6c39e8b586fff')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure
  make || return 1

INSTDIR=/usr/bin
mkdir -p $startdir/pkg/$INSTDIR
mkdir -p $startdir/pkg/etc
mkdir -p $startdir/pkg/usr/man/man1/

    install -m 755 src/wepdecrypt       $startdir/pkg/$INSTDIR
    install -m 755 run/wepdecrypt_word  $startdir/pkg/$INSTDIR
    install -m 755 run/wepdecrypt_inc   $startdir/pkg/$INSTDIR
    install -m 644 conf/wepdecrypt.conf $startdir/pkg/etc
    install -m 644 doc/wepdecrypt.1.gz  $startdir/pkg/usr/man/man1/
}

I would appreciate if someone tries and tell me whats missing or what i am doing wrong....

Tx,
B

Offline

Board footer

Powered by FluxBB