Post New Topic  Post A Reply
my profile | register | search | faq | forum home
  next oldest topic   next newest topic
» MacOSX - forked.net   » Compile Problems   » trafshow 3.1

UBBFriend: Email this page to someone!    
Author Topic: trafshow 3.1
<sAMANOSKe>
unregistered

posted October 31, 2002 09:52 AM           Edit/Delete Post  Reply With Quote 
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 !?


IP: Logged
apex
Administrator
Member # 1

posted December 07, 2002 12:59 AM      Profile for apex   Email apex   Send New Private Message      Edit/Delete Post  Reply With Quote 
It looks like you need to install ncurses.
Posts: 307 | From: Alaska | Registered: Aug 2001  |  IP: Logged
DMCrimson
Member
Member # 503

posted December 10, 2002 02:04 AM      Profile for DMCrimson     Send New Private Message      Edit/Delete Post  Reply With Quote 
hmm, could you post some sort of HOW-TO on compiling this?
Posts: 15 | From: Finland | Registered: Sep 2002  |  IP: Logged
bobo newton
Junior Member
Member # 595

posted January 31, 2003 03:08 PM      Profile for bobo newton     Send New Private Message      Edit/Delete Post  Reply With Quote 
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?
Posts: 1 | Registered: Jan 2003  |  IP: Logged
<xpi>
unregistered

posted April 29, 2003 01:14 PM           Edit/Delete Post  Reply With Quote 
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


IP: Logged
<Tim Haigh>
unregistered

posted December 27, 2003 06:11 AM           Edit/Delete Post  Reply With Quote 
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


IP: Logged
<Tim Haigh>
unregistered

posted December 27, 2003 06:45 AM           Edit/Delete Post  Reply With Quote 
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


IP: Logged

All times are Pacific Time  

Post New Topic  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Hop To:

Contact Us | macosx.forked.net

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0.2