PDA

View Full Version : [ubuntu] installing packet sniffer


javedd.ali
May 6th, 2009, 12:14 PM
i am having a problem installing packet sniffer can anyone help plzzz
this is the response on running make install

Making install in src
make[1]: Entering directory `/home/javed/aps-0.18/src'
Making install in include
make[2]: Entering directory `/home/javed/aps-0.18/src/include'
make[3]: Entering directory `/home/javed/aps-0.18/src/include'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/javed/aps-0.18/src/include'
make[2]: Leaving directory `/home/javed/aps-0.18/src/include'
make[2]: Entering directory `/home/javed/aps-0.18/src'
make[3]: Entering directory `/home/javed/aps-0.18/src'
/bin/sh ../mkinstalldirs /usr/local/bin
/usr/bin/install -c aps /usr/local/bin/aps
/usr/bin/install -c xaps /usr/local/bin/xaps
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/javed/aps-0.18/src'
make[2]: Leaving directory `/home/javed/aps-0.18/src'
make[1]: Leaving directory `/home/javed/aps-0.18/src'
make[1]: Entering directory `/home/javed/aps-0.18'
make[2]: Entering directory `/home/javed/aps-0.18'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/javed/aps-0.18'
make[1]: Leaving directory `/home/javed/aps-0.18'
mkdir -p /usr/local/include/aps
if [ -f src/include/portlist.aps ]; then\
cp -f src/include/portlist.aps /usr/local/include/aps;fi
/bin/sh: Syntax error: "fi" unexpected (expecting "then")
make: *** [install] Error 2

cdenley
May 6th, 2009, 12:51 PM
Why not use tcpdump or wireshark?

The Cog
May 6th, 2009, 03:33 PM
tcpdump is (I think) installed by default. Much easier to understand is wireshark, which you can install with this command:
sudo aptitude install wireshark

As a general rule, you should use the repositories (System->Administration->Synaptic Package Manager) as your first place to look, and use internet searches for software as your last resort.