Page 1 of 1

trafshow 3.1

PostPosted: Thu Oct 31, 2002 5:52 pm
by <sAMANOSKe>
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 !?

Re: trafshow 3.1

PostPosted: Sat Dec 07, 2002 8:59 am
by apex
It looks like you need to install ncurses.

Re: trafshow 3.1

PostPosted: Tue Dec 10, 2002 10:04 am
by DMCrimson
hmm, could you post some sort of HOW-TO on compiling this?

Re: trafshow 3.1

PostPosted: Fri Jan 31, 2003 11:08 pm
by quietplease
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?

Re: trafshow 3.1

PostPosted: Tue Apr 29, 2003 8:14 pm
by <xpi>
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

Re: trafshow 3.1

PostPosted: Sat Dec 27, 2003 2:11 pm
by <Tim Haigh>
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

Re: trafshow 3.1

PostPosted: Sat Dec 27, 2003 2:45 pm
by <Tim Haigh>
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