Bruno Negrao wrote:
Hi guys,
I'm trying to install qmail-toaster for the first time in my test machine,
a redhat 9.0. I'm following the instructions at
http://www.shupp.org/toaster/.
I'm having an error with tls.c when running 'make' right after applying the
patch qmail-toaster-0.8.patch.bz2. The error is:
./compile tls.c
tls.c:12: conflicting types for `strerror'
/usr/include/string.h:243: previous declaration of `strerror'
make: *** [tls.o] Error 1
Can someone help me with this? I'm not an experient C programmer, so I find
it difficult to debug by myself.
But I noticed something weird in the 'compile' script:
#!/bin/sh
# WARNING: This file was auto-generated. Do not edit!
exec
cc -O2 -DTLS=20050329 -I/usr/local/ssl/include -I/home/vpopmail/include -c
${1+"$@"}
the '-I/usr/local/ssl/include' statement is not correct for my system
because there is no /usr/local/ssl/include directory in my machine.
I already installed qmail previously in this machine a lot of times. But
never with the tls patch. I recently installed openssl-0.9.8 from the
source, and I didn't remove the rpm packages openssl-0.9.7a-2 and
openssl-devel, they are still installed. I know it's messy...
If editing your include statements does not help, try using gmake
instead of make.
Bill