configure doesn't detect normal curses

carter at qosient.com carter at qosient.com
Thu Jun 14 07:20:08 EDT 2007


Yes, I'm working the the curses issue in configure.  This is also an issue on some Solaris boxes.  Seems that autoconf is creating a ./configure that has syntax errors on some machines.

Thanks!!!!

Carter


Carter Bullard
QoSient LLC
150 E. 57th Street Suite 12D
New York, New York 10022
+1 212 588-9133 Phone
+1 212 588-9134 Fax

-----Original Message-----
From: Christoph Badura <bad at bsd.de>

Date: Wed, 13 Jun 2007 19:52:24 
To:argus-info <argus-info at lists.andrew.cmu.edu>
Subject: [ARGUS] configure doesn't detect normal curses


Hi,

I finally had time to try the latest radius clients (3.0.0.rc44).
This is NetBSD/i386 3.1_STABLE.

Make in ratop aborts with:
making in ./ratop
cc -O3 -O2 -I. -I../include -I../common -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_SETLINEBUF=1 -DHAVE_SETENV=1 -DHAVE_ALARM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_INTTYPES_H=1 -DARGUS_THREADS=1 -DHAVE_TCP_WRAPPER=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_
SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DCONFIG_X86_BSWAP=1 -DSTDC_HEADERS=1 -c ./ratop.c
ratop.c: In function `RaResizeHandler':
ratop.c:673: error: `RaWindow' undeclared (first use in this function)
ratop.c:673: error: (Each undeclared identifier is reported only once
ratop.c:673: error: for each function it appears in.)
ratop.c:673: error: `RaScreenLines' undeclared (first use in this function)
ratop.c:673: error: `RaScreenColumns' undeclared (first use in this function)
ratop.c: In function `ArgusCursesProcess':
ratop.c:1381: error: `RaScreenResize' undeclared (first use in this function)
ratop.c:1381: error: `RaScreenLines' undeclared (first use in this function)
ratop.c:1381: error: `RaScreenColumns' undeclared (first use in this function)
...
*** Error code 1

Stop.
make: stopped in /m/pkgobj/local/argus3-clients/work.i386/argus-clients-3.0.0.rc
.44/ratop

I don't have ncurses on the system and I believe configure now doesn't
detect they system curses if ncurses.h isn't found:

checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
test: -lncurses: unexpected operator
test: -lcurses: unexpected operator
checking readline/readline.h usability... yes

Cheers,
--chris



More information about the argus mailing list