trafshow 3.1

Anonymous

2002-10-31 17:52:00

this beauty wont run under 10.2.

Error is
dyld: trafshow Undefined symbols
_COLS
_LINES
_stdscr
Trace/BPT trap

and, yes I am running it ass root and it worked under 10.x.x. Any1 an idea !?

apex

2002-12-07 08:59:00

It looks like you need to install ncurses.

DMCrimson

2002-12-10 10:04:00

hmm, could you post some sort of HOW-TO on compiling this?

quietplease

2003-01-31 23:08:00

has anyone had any success running this under OS X 10.2.3? i get the same dyld: errors (_COLS _LINES _stdscr are undefined). that's running the package downloaded from forked.net. mumble re-link against ncurses mumble mumble, but where would i find the source for the pkg on forked.net?

Anonymous

2003-04-29 20:14:00

So first get the package.. Because you can't wait for the workaround in the configure programs.
trafshow-3.1: ./configure Darwin ; make

It'll complain about u_char, I'm guessing those crazy russian meant unsigned int so put this in darwin.h cat - > darwin.h
#ifndef _mdarwin

#define _mdarwin
#define u_char unsigned char

#endif

ctrl-d

and then add this to config.h
#include "darwin.h"

then viola, But I would not trust the installer; yet. So manually copy the binary and manual page.
make;
mkdir -p /usr/local/sbin
cp trafshow /usr/local/sbin/
mkdir -p /usr/local/man/man1
cp trafshow.1 /usr/local/man/man1

Anonymous

2003-12-27 14:11:00

trafshow 4.0 builds just fine without any modifications on darwin 7.2 and OSX 10.3.2.


just make sure you have libpcap and ncurses installed on your system.

ftp://ftp.nsk.su/pub/RinetSoft/trafshow-4.0.tgz

Anonymous

2003-12-27 14:45:00

Please note I did not trust the installer I manually installed the binary and man file.

by default trafshow will try and install a config file in /etc/trafshow this may break OSX as the path should be /private/etc