Hi All,
Hello Bill Shupp.

Firstly, follow the step of shupp toaster as usual. The problem arise
when compiling the qmail-1.03.

After i hacking the source.

actually, the qmail-remote.c file included the openssl library. but the
/usr/include/openssl/kssl.h cannot find the krb5.h 
in /usr/include/openssl library.
(FILE not exist there, BUT in /usr/kerberos/include)

> > In file included from /usr/include/openssl/ssl.h:179,
> >                  from qmail-remote.c:36:
> > /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

BUT the /usr/include/openssl/kssl.h cannot find the krb5.h(this file is 
missing)

actuallty krb5.h is in /usr/kerberos/include.

All, i do is to copy /usr/kerberos/include/krb5.h 
to /usr/include/openssl
and make changes to  file kssl.h just for #<include "openssl/krb5.h">, 
so it will
find that krb5.h in /usr/include/openssl.

ALSO need to copy file profile.h and com_err.h 
FROM /usr/include/kerberos to 
/usr/include/openssl.

file from /usr/kerberos/include to copy to /usr/include/openssl
        - krb5.h
        - profile.h
        - com_err.h

make changes in /usr/include/openssl/kssl.h
also the krb5.h, profile.h and com_err.h

The changes are the #<include> statement that required the above file.

in kssl.h
from #<include "krb5.h"> to #<include "openssl/krb5.h">

in krb5.h
from #<include "profile.h"> to #<include "openssl/profile.h">
from #<include "com_err.h"> to #<include "openssl/com_err.h"> (IF EXIST 
ONLY)

in profile.h
from #<include "com_err.h"> to #<include "openssl/com_err.h">

THE ARE MANY STATEMENT THAT USING THE #<include> statement.

After finish the patching of qmail-toaster-0.5, then apply these
patches. Then, continue the shupp-toaster step :)

PATCHES FROM
http://www.mattriffle.com/mirrors/qmail/rpms/var-qmail/glibc-2.3.1/

qmail-1.03.errno.patch
qmail-1.03.qmail_local.patch
ucspi-tcp-0.88.errno.patch
daemontools-0.76.errno.patch
ezmlm-idx-0.53.400.unified_41.patch


There is no need to compile OpenSSL :)
It work's again like in my Redhat 7.2

But, why the /usr/include/openssl/kssl.h fail to load the krb5.h coz 
file not exist ?

* Sorry, if missing something.

Thanks,


Regards,


Aimix.

Reply via email to