You are not logged in.
Ok so i have been trying to install the dsniff suite for a while now. It installs fine on my fedoracore 3 laptop but gives me compileing errors in arch.
[root@archserver dsniff-2.3]# make
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR="/usr/local/lib/" -I. -I/usr/X11R6/include -I./missing -c ./arpspoof.c
./arpspoof.c: In function 'arp_send':
./arpspoof.c:49: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type
./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr'
./arpspoof.c:58: warning: pointer targets in assignment differ in signedness
./arpspoof.c:60: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type
./arpspoof.c:60: error: too few arguments to function 'libnet_build_ethernet'
./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this function)
./arpspoof.c:64: error: (Each undeclared identifier is reported only once
./arpspoof.c:64: error: for each function it appears in.)
./arpspoof.c:64: error: too few arguments to function 'libnet_build_arp'
./arpspoof.c: In function 'main':
./arpspoof.c:181: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1
anyone know how to get by this ?
Offline
dsniff builds fine for me with the PKGBUILD from AUR. Maybe you should try this.
Offline
I have never used a package build before. How is this done ?
Offline
/me looks on with interest,
i used dsniff prior Arch, had same probs in Arch, and was too cowardly/idle/lazy back then to attempt using pkgbuild.... pls feedback if you get it going before i do.
Offline
I have never used a package build before. How is this done ?
It's very simple and well described in the Wiki.
Offline
so I have the pkg build the /var/abs/local/dsniff/. Now what ? How do I use that file ?
Offline
read the wiki. Especially the part that says run 'makepkg' in the directory you placed the PKGBUILD in. and the part that says run 'pacman -U pkgname-pkgversion.pkg.tar.gz' when its installed.
Or look for a program called aurbuild posted here on the forum or in the aur itself. This program makes it almost as easy to build packages from aur as it is to install them with pacman!
Dusty
Offline
Never mind. This is what I did to get it running.
#makepkg
cd /to the src dir
#./configure
#make install
works great now . Thanks for the help.
Offline
*shakes head*. Hard to believe that was easier than makepkg.
Offline
:shock: So you first created a package with makepkg and installed dsniff manually via `make install' afterwards?
Offline