On Sep 6, 2008, at 12:39 PM, Ronald D. Mabbitt wrote:
I'm sorry, it was late, and I went to the www.kismetwireless.net
site, and saw this <http://www.kismetwireless.net/
documentation.shtml>:
*******************************************************************************************
...
7. Required Libraries & Utilities
Kismet is primary self-contained, however for some features it
requires
some external libraries or utilities. For distributions which
provide split
library packages of somelib and somelib-devel, you will need both
installed
for Kismet to compile.
- LibPcap (0.9+ preferred): http://tcpdump.org/
REQUIRED for the majority of packet capturing systems
LibPcap provides the common capture system Kismet uses to read
from most
Posix-style interfaces. Without LibPcap, Kismet will be all
but useless
on most platforms.
- GPSD (any version): http://gpsd.berlios.de/
REQUIRED for GPS support
GPSD is a daemon which listens on a serial port for GPS data,
parses it,
and makes it available via a TCP socket. Kismet can use a GPSD
on the
local system, or if there is a wired ethernet connection
available it can
use a GPS via port 2947 on a remote host.
- Imagemagick (5.4.7+): http://www.imagemagick.org/
REQUIRED for gpsmap map generation
Imagemagick is a graphics generation library which can read and
write in
almost any format. Kismet requires a recent version of
Imagemagick due
to IM's frequently changing API. If you do not plan to use
gpsmap, you
can skip this library.
- Expat (1.95+): http://expat.sourceforge.net/
REQUIRED for gpsmap map generation
Expat is an XML processing library. Kismet requires this for
parsing
netxml and gpsxml output logs. If you do not plan to use
gpsmap, you can
skip this library.
Some versions of Expat included in distributions or other system
utilities (ie, XFree86-cvs) contain errors that make it
impossible to
compile expat.h. Make sure you have the latest stable Expat
version, and
remove offending duplicate headers if necessary.
- GMP: http://www.swox.com/gmp/
REQUIRED for gpsmap map generation
GMP is an arbitrary-precision math library. Kismet needs this
for high
precision math functions when calculating graphics in gpsmap.
If you
do not plan to use gpsmap, you can skip this.
- DBUS: http://dbus.freedesktop.org/
OPTIONAL for networkmanager control
Networkmanager is a network connection management tool. It can
reconfigure devices while Kismet is running, and should be
stopped.
If Kismet is compiled with DBUS support and the
networkmanagersleep
variable in kismet.conf is true, Kismet will use DBUS to send
sleep/wake commands to Networkmanager
...
*******************************************************************************************
Since nothing looked like it was dependent on X11, I leaped to the
conclusion that the only reason X11 was needed was due to the
imagemagick dependency, which could be satisfied by imagemagick-
nox. My mistake. :-P
Sadly, installing imagemagick and imagemagick1-dev did not allow me
to build kismet.
When I tried building kismet 3.0.1-1035, I got this error:
**************************************************************************************
I'm intimidated by all the 'gmake vs. make' threats, but I would
think the Fink package would normally have taken all that into
account, right? So this error is outside that realm, correct?
I can't think of anything in my configuration that could be causing
this [I have got gcc 4.3.2-1000 installed, but I haven't done any
configuration to make it the default compiler yet].
Any suggestions?
Here is the complete build, in case that helps:
**************************************************************************************************************
The package 'kismet' will be built and installed.
Reading dependency for kismet-3.0.1-1035...
Reading build dependency for kismet-3.0.1-1035...
Reading build conflict for kismet-3.0.1-1035...
The following package will be installed or updated:
kismet
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-
kismet-3.0.1-1035 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-kismet-3.0.1-1035' in `/
sw/src/fink.build/fink-buildlock-
kismet-3.0.1-1035_2008.09.06-09.28.13_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-
kismet-3.0.1-1035_2008.09.06-09.28.13_darwin-powerpc.deb
Selecting previously deselected package fink-buildlock-
kismet-3.0.1-1035.
(Reading database ... 259739 files and directories currently
installed.)
Unpacking fink-buildlock-kismet-3.0.1-1035 (from .../fink-buildlock-
kismet-3.0.1-1035_2008.09.06-09.28.13_darwin-powerpc.deb) ...
Setting up fink-buildlock-kismet-3.0.1-1035 (2008.09.06-09.28.13) ...
<snip needless unpacking messages>
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/
PkgVersion.pm line 4963.
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/
PkgVersion.pm line 4963.
[ -r /sw/fink/dists/unstable/main/finkinfo/net/kismet.patch ]
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/
PkgVersion.pm line 4963.
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/
PkgVersion.pm line 4963.
patch -p1 < /sw/fink/dists/unstable/main/finkinfo/net/kismet.patch
patching file configure
patching file gpsmap.cc
patching file panelfront_display.cc
patching file tcpclient.cc
rm -f getopt.*
perl -pi.bak -e 's/getopt.o//g' Makefile.in
perl -pi.bak -e 's/"getopt.h"/<getopt.h>/' `grep -lr '"getopt.h"' .`
perl -pi.bak -e 's|/usr/local/etc|/sw/etc/kismet|' README docs/
README.html man/kismet.conf.5
Use of uninitialized value in list assignment at /sw/lib/perl5/Fink/
PkgVersion.pm line 4963.
./configure --prefix=/sw --mandir='${prefix}/share/man' --
sysconfdir='${prefix}/etc/kismet' --without-ethereal
checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking for gcc... g++-3.3
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether g++-3.3 accepts -g... yes
checking for g++-3.3 option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... g++-3.3 -E
checking for platform-specific compiler flags... Apple GCC - added -
no-cpp-precomp
checking whether byte ordering is bigendian... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for ANSI C header files... (cached) yes
checking return type of signal handlers... void
checking whether lstat dereferences a symlink specified with a
trailing slash... no
checking whether stat accepts an empty string... no
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strcasecmp... yes
checking for strftime... no
checking for strstr... yes
checking for system-level getopt_long()... yes
checking for stdint.h... (cached) yes
checking for accept() addrlen type... socklen_t
checking for group 'root'... no. Using 'wheel'
checking for group 'man'... no. Using 'wheel'
checking for initscr in -lncurses... yes
checking for new_panel in -lpanel... yes
checking for assume_default_colors in -lncurses... yes
checking for linux/netlink.h... no
configure: WARNING: *** Missing Linux netlink headers. Prism2/
orinoco source will not be built. ***
checking for linux/wireless.h... no
configure: WARNING: *** Missing Linux Wireless kernel extentions.
Wavelan/generic source will not be built. ***
configure: WARNING: *** Disabling pcap because we're building under
OSX. ***
configure: WARNING: Compiling without libpcap support.
checking for setuid ... yes
configure: WARNING: *** Enabling Viha by default because we're
compiling under OSX ***
checking WiFi/WLPacketSource.h usability... yes
checking WiFi/WLPacketSource.h presence... yes
checking for WiFi/WLPacketSource.h... yes
checking WiFi/WLFrame.h usability... yes
checking WiFi/WLFrame.h presence... yes
checking for WiFi/WLFrame.h... yes
checking WiFi/IEEE80211Frame.h usability... yes
checking WiFi/IEEE80211Frame.h presence... yes
checking for WiFi/IEEE80211Frame.h... yes
checking WiFi/WFException.h usability... yes
checking WiFi/WFException.h presence... yes
checking for WiFi/WFException.h... yes
configure: WARNING: *** Wiretap support disabled. While Kismet will
function without wiretap, it will limit the log reading and writing
abilities. ***
checking for XML_GetCurrentLineNumber in -lexpat... yes
checking for wget... yes
checking for Magick-config... yes
checking magick/api.h usability... yes
checking magick/api.h presence... yes
checking for magick/api.h... yes
checking for WriteImage in -lMagickCore... yes
checking for gzopen in -lz... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/kismet
config.status: creating scripts/kismet_monitor
config.status: creating scripts/kismet_unmonitor
config.status: creating extra/buzzme/Makefile
config.status: creating extra/Makefile
config.status: creating conf/kismet.conf
config.status: creating conf/kismet_ui.conf
config.status: creating config.h
Configuration complete:
Compiling for: darwin8.11.0 (powerpc)
Installing as group: wheel
Man pages owned by: wheel
Installing into: /sw
Setuid capable: yes
Zaurus extras: no
Terminal Control: ncurses
Curses interface: yes
Panels interface: yes
Linux Netlink capture: no
Linux wireless : no
Linux wireless v.22+ : no
pcap capture: no
WSP100 capture: no
Viha capture: yes
Using local dump code: yes
Using ethereal wiretap: no
Imagemagick support: yes (6.4.1 Q16 HDRI)
Expat Library: yes
PThread Support: yes
libz compression: yes
Configuration complete. You are not running a linux-based system,
you will likely need to use 'gmake' instead of 'make'.
Run 'gmake dep' to generate dependencies and 'gmake' followed by
'gmake install' to compile and install Kismet
Kismet WILL NOT be installed suid-root by default. If you wish to
install
Kismet as a suid-root utility, READ THE DOCUMENTATION and run
'make suidinstall'.
DO NOT INSTALL KISMET AS SUID-ROOT IF YOU HAVE UNTRUSTED USERS ON
YOUR SYSTEM.
make dep
Makefile:358: .depend: No such file or directory
Generating dependencies...
make[2]: `.depend' is up to date.
make
g++ -I/sw/include -I/sw/include/ImageMagick -O2 -Wall -
DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_TINY=1 -DTIMESTAMP=
\"`cat TIMESTAMP`\" -g -O2 -no-cpp-precomp -g -O2 -I/sw/include/
ImageMagick -c util.cc -o util.o
g++ -I/sw/include -I/sw/include/ImageMagick -O2 -Wall -
DVERSION_MAJOR=3 -DVERSION_MINOR=0 -DVERSION_TINY=1 -DTIMESTAMP=
\"`cat TIMESTAMP`\" -g -O2 -no-cpp-precomp -g -O2 -I/sw/include/
ImageMagick -c configfile.cc -o configfile.o
packet.h:643: error: class definition may not be declared a friend
make: *** [configfile.o] Error 1
### execution of make failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-kismet-3.0.1-1035
(Reading database ... 259740 files and directories currently
installed.)
Removing fink-buildlock-kismet-3.0.1-1035 ...
Failed: phase compiling: kismet-3.0.1-1035 failed
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel