Hello,
the file unix/README tells you to do mkconfig.
Due to an too old autoconf this didn't work with my linux system, but
when I tried with the given configure everthing went fine. As far as I
understand, if you don't do
1) Edit hugs/src/unix/configure.in in whatever way you like.
you don't have to
2) Run hugs/src/unix/mkconfig.
You should say so in that README file.
On a Sun I got screenfuls of warnings when compiling, they started with
gcc -c -g -O hugs.c
In file included from machdep.c:632,
from hugs.c:81:
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2/include/termios.h:116: warning:
`NL0' redefined
/usr/include/sys/ioctl.h:30: warning: this is the location of the previous definition
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.4/2.7.2/include/termios.h:117: warning:
`NL1' redefined
/usr/include/sys/ioctl.h:31: warning: this is the location of the previous definition
...
but the the resulting hugs executable worked.
I also was not able to configure --with-readline, it said
configure: warning: readline and editline packages not available
(ignoring --with-readline)
I don't know if this is a problem of the configure script or if it is
some local problem which I suspect, I only tell you so that you know
there might be a problem.
I have the last two problems with or without doing mkconfig first.
Christian Sievers