Phil,

No twiddling required just a few changes to the Makefile:-

STATETOP_CFLAGS=-DSTATETOP
STATETOP_INC=-I/usr/include
STATETOP_LIB=-L/usr/lib -lcurses

The problem with using GCC is that you cannot have ncurses and curses
installed on the same server.  I tried doing an install of ncurses and got a
wrong ELFCLASS32 message when compiling.

Adam

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Dibowitz
Sent: Wednesday, 13 April 2005 6:59 PM
To: Adam Summerfield
Cc: [email protected]
Subject: Re: IPFilter 4.1.8 StateTop Solaris lcurses

Adam Summerfield wrote:
> So in summary sparc compiled with curses and statetop enabled when you
quit
> ipfstat you get EOF in the shell and the shell terminates.

If you bug me after April 26th, I'll see if I can look deeper into it,
since I recently looked into the statetop code.

BTW, in my experience it takes some twiddling to make the code accept
curses on solaris - it seems to assume you want ncurses on solaris... as
I recall the code is something like:

#if SunOS
  #include <ncurses>
  ...
#endif

I'm assuming you changed that?

Also, did you try it with ncurses? Does it have the same issue?

--
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759


Reply via email to