neo driver install on Debian - curses.h/term.h no such file...

After unpacking the tarball and running configure, I get the following during “make all” when it tries to compile ditty.c ->

make[1]: Entering directory /u/shared/linux/neo/dgnc-1.0/ditty' cc -g -O2 -I../includes -I../drv -I../driver/include ditty.c -o ditty -lncurses ditty.c:65: curses.h: No such file or directory ditty.c:66: term.h: No such file or directory make[1]: *** [ditty] Error 1 make[1]: Leaving directory /u/shared/linux/neo/dgnc-1.0/ditty’
make: *** [build] Error 2

There is not a term.h or curses.h in any of the include directories on the system… yet curses is installed… I could only find termio.h and termios.h in /usr/include.

What should I do at this point?

Hi Larry,

Do you have ncurses-devel installed?

Hey thanks!
No, it wasn’t installed.
Here’s how I prepped it since I have to put this on quite a few servers.
I extracted libncurses5-dev_5.2.20020112a-7_i386.deb from the binary-1 cd’s pool directory and added the command line isntallation to my script:

#Installation for Digi Neo dirver on Debian 3.0r1

[ -f ./Neo_Driver_40002369_a.tgz ] || {
echo “Must have packages and install script in same directory and”
echo “cd into it before executing the installation.”
exit 1
}
CURSES=“Y”
[ -f /usr/include/term.h ] || CURSES=“N”
[ -f /usr/include/curses.h ] || CURSES=“N”
[ -L /usr/lib/libncurses.so ] || CURSES=“N”
case $CURSES in
“N”) [ -f ./libncurses5-dev_5.2.20020112a-7_i386.deb || {
echo “Must have packages and install script in same directory and”
echo “cd into it before executing the installation.”
exit 1
};;
“Y”) ;;
esac

#Install curses development libraries
dpkg -i ./libncurses5-dev_5.2.20020112a-7_i386.deb

#Unpack dgnc driver package tarball
rm -r dgnc-1.0 >/dev/null 2>&1
zcat Neo_Driver_40002369_a.tgz | tar xf -
cd dgnc-1.0

#Compile package
./configure
make clean
make all
make install

#Create fresh links to init script
rm /etc/rc0.d/K01dgnc >/dev/null 2>&1
rm /etc/rc1.d/S99dgnc >/dev/null 2>&1
rm /etc/rc2.d/S99dgnc >/dev/null 2>&1
rm /etc/rc3.d/S99dgnc >/dev/null 2>&1
rm /etc/rc4.d/S99dgnc >/dev/null 2>&1
rm /etc/rc5.d/S99dgnc >/dev/null 2>&1
rm /etc/rc6.d/K01dgnc >/dev/null 2>&1
cd /etc/rc0.d
ln …/init.d/dgnc K01dgnc
cd /etc/rc1.d
ln …/init.d/dgnc S99dgnc
cd /etc/rc2.d
ln …/init.d/dgnc S99dgnc
cd /etc/rc3.d
ln …/init.d/dgnc S99dgnc
cd /etc/rc4.d
ln …/init.d/dgnc S99dgnc
cd /etc/rc5.d
ln …/init.d/dgnc S99dgnc
cd /etc/rc6.d
ln …/init.d/dgnc K01dgnc

#Start the driver without rebooting
/etc/init.d/dgnc start

#Remind user of inittab entries if they are using for terminal or modem
echo “Sample Digi Neo 2-port entries for /etc/inittab, if needed.”
echo “# n1a:2345:respawn:/sbin/getty ttyn1a 38 ansi”
echo “# n1b:2345:respawn:/sbin/mgetty ttyn1b”