I know this question seems like a reasonably simple sort of issue, but I have no idea how to sort it out. I am trying to install cyrus imapd 2.2.8. I have already installed cyrus sasl 2.1.20, and that was a breeze.
I am running Red Hat 9 on a 2.5 athlon 512 ram. The make error I get is as follows:
$ make all CFLAGS=-O LDFLAGS=-L/usr/kerberos/lib/ CPPFLAGS=-I/usr/kerberos/include/
### Making all in /home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/man
make[1]: Entering directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/man'
### Making all in /home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/et
make[1]: Entering directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/et'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/et'
### Making all in /home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/lib
make[1]: Entering directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/lib'
gcc -c -I/usr/kerberos/include/ -DHAVE_CONFIG_H -O \
prot.c
prot.c:47:20: config.h: No such file or directory
In file included from prot.c:56:
/usr/lib/gcc/i686-pld-linux/3.4.1/include/varargs.h:4:2: #error "GCC no longer implements <varargs.h>."
/usr/lib/gcc/i686-pld-linux/3.4.1/include/varargs.h:5:2: #error "Revise your code to use <stdarg.h>."
prot.c: In function `prot_printf':
prot.c:865: error: `va_list' undeclared (first use in this function)
prot.c:865: error: (Each undeclared identifier is reported only once
prot.c:865: error: for each function it appears in.)
prot.c:865: error: parse error before "pvar"
prot.c:872: error: `pvar' undeclared (first use in this function)
prot.c:886: error: parse error before "long"
prot.c:892: error: parse error before "long"
prot.c:903: error: parse error before "int"
prot.c:909: error: parse error before "int"
prot.c:915: error: parse error before "char"
prot.c:920: error: parse error before "int"
make[1]: *** [prot.o] Error 1
make[1]: Leaving directory `/home/adam/downloads/04-11-2004/cyrus-imapd-2.2.8/lib'
make: *** [all] Error 1
I added the LDFLAGS and CPPFLAGS because it was not finding krb5.h, and the CFLAGS=-O is there beacause this howto has told me to do it:
http://en.tldp.org/HOWTO/Cyrus-IMAP.html
As I said, sorry if I have missed something stupid, but it is late and I need to sort this fairly soon.
Thanks for any help!
Radam