qmail compilation error
Hello everyone,
I've installed qmail several times over the years, but always before on Redhat systems. This time I'm attempting to compile a fresh installation of qmail-1.03 onto Slackware 9.0. When running "make setup check" I get:
./compile qmail-local.c
qmail-local.c:1:23: sys/types.h: No such file or directory
qmail-local.c:2:22: sys/stat.h: No such file or directory
qmail-local.c: In function `maildir_child':
qmail-local.c:85: storage size of `st' isn't known
qmail-local.c: In function `checkhome':
qmail-local.c:313: storage size of `st' isn't known
qmail-local.c: In function `qmeox':
qmail-local.c:329: storage size of `st' isn't known
qmail-local.c: In function `qmeexists':
qmail-local.c:348: storage size of `st' isn't known
qmail-local.c:361: `S_IFMT' undeclared (first use in this function)
qmail-local.c:361: (Each undeclared identifier is reported only once
qmail-local.c:361: for each function it appears in.)
qmail-local.c:361: `S_IFREG' undeclared (first use in this function)
qmail-local.c: In function `main':
qmail-local.c:450: warning: return type of `main' is not `int'
make: *** [qmail-local.o] Error 1
I know that some of you will state the obvious about the files missing. Thankyou for your grasp of the situation. The finer point is, why is the makefile pointing at files which don't exist? I'm not a programmer by any stretch of the imagination, and I'd just like this thing to compile and install cleanly.
Thanks in advance!
|