> This is not really a bug so if this is not the correct address, would you
> please forward this mail.
Installation problems count as bugs - this is the right address.
Thanks for your report - I think I know what's going on.
The critical part of the error message is the bit that says that machdep.h
is #including /usr/local/include/io.h. The relevant code is:
#ifdef HAVE_IO_H
# include <io.h>
#endif
On DOS machines, this is supposed to grab some kind of IO libraries; on Unix
machines, HAVE_IO_H is supposed to be undefined and nothing happens.
What went wrong is that the configure script checked whether io.h could
be #included but didn't test whether it contained the right stuff.
Several alternative ways to solve the problem.
o edit config.h - comment out or delete the line that says
#define HAVE_IO_H
o remove /usr/local/include from your include path and rerun configure.
But I'd really like to fix Hugs so that this problem doesn't happen again.
To do this, I'll need to either check that io.h has the right stuff in it
or, alternatively, doesn't contain the wrong stuff. Can you tell me a little
about what io.h is? Is it a common library or does your machine probably
have the only copy? Can you send me a copy?