Subject: RE: Compiling pine 4.4.5 on RedHat9/gcc 3.2.2 (fwd)

From: Hong Tian <[email-masked]>
Date: Tue, 1 Jul 2003 08:40:36 -0400

Ed,

I tried to compile Pine 4.56 on RedHat9/gcc 3.2.2, but I got the errors as
followings. Do you know how to resolve it?

Thanks,
Hong
--------------

# uname -srv
Linux 2.4.20-6 #1 Thu Feb 27 10:06:59 EST 2003

# rpm -qa | grep openssl
openssl-0.9.7a-5
openssl-devel-0.9.7a-5

# gcc -v
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

# tar xvf pine.tar
# cd pine4.56
# ./build SSLDIR=/usr/share/ssl \
> SSLCERTS=/usr/share/ssl/certs \
> SSLINCLUDE=/usr/include/openssl \
> SSLLIB=/usr/lib \
> lrh 
......
/usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory
In file included from /usr/include/openssl/ssl.h:179,
                 from osdep.c:218:
/usr/include/openssl/kssl.h:132: parse error before "krb5_enctype"
/usr/include/openssl/kssl.h:134: parse error before "FAR"
/usr/include/openssl/kssl.h:135: parse error before '}' token
/usr/include/openssl/kssl.h:147: parse error before "kssl_ctx_setstring"
/usr/include/openssl/kssl.h:147: parse error before '*' token
/usr/include/openssl/kssl.h:148: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:149: parse error before '*' token
/usr/include/openssl/kssl.h:150: parse error before '*' token
/usr/include/openssl/kssl.h:151: parse error before "kssl_ctx_setprinc"
/usr/include/openssl/kssl.h:151: parse error before '*' token
/usr/include/openssl/kssl.h:153: parse error before "kssl_cget_tkt"
/usr/include/openssl/kssl.h:153: parse error before '*' token
/usr/include/openssl/kssl.h:155: parse error before "kssl_sget_tkt"
/usr/include/openssl/kssl.h:155: parse error before '*' token
/usr/include/openssl/kssl.h:157: parse error before "kssl_ctx_setkey"
/usr/include/openssl/kssl.h:157: parse error before '*' token
/usr/include/openssl/kssl.h:159: parse error before "context"
/usr/include/openssl/kssl.h:160: parse error before "kssl_build_principal_2"
/usr/include/openssl/kssl.h:160: parse error before "context"
/usr/include/openssl/kssl.h:163: parse error before "kssl_validate_times"
/usr/include/openssl/kssl.h:163: parse error before "atime"
/usr/include/openssl/kssl.h:165: parse error before "kssl_check_authent"
/usr/include/openssl/kssl.h:165: parse error before '*' token
/usr/include/openssl/kssl.h:167: parse error before "enctype"
In file included from osdep.c:218:
/usr/include/openssl/ssl.h:909: parse error before "KSSL_CTX"
/usr/include/openssl/ssl.h:909: warning: no semicolon at end of struct or
union
/usr/include/openssl/ssl.h:931: parse error before '}' token
make[3]: *** [osdep.o] Error 1
make[3]: Leaving directory `/root/download/pine4.56/imap/c-client'
make[2]: *** [lnp] Error 2
make[2]: Leaving directory `/root/download/pine4.56/imap/c-client'
make[1]: *** [OSTYPE] Error 2
make[1]: Leaving directory `/root/download/pine4.56/imap'
make: *** [lrh] Error 2
+---------------------------------------------+
| Problems building c-client                  |
|                                             |
| Please check the output above for a         |
| possible explanation for this failure       |
+---------------------------------------------+

-----Original Message-----
From: Ed Greshko [mailto:[email-masked]]
Sent: Tuesday, July 01, 2003 3:59 AM
To: Pine Discussion Forum
Subject: Re: Compiling pine 4.4.5 on RedHat9/gcc 3.2.2 (fwd)

On Tue, 1 Jul 2003, Simon White wrote:

> > claims, and point out exactly how any such changes you can find
> > violate any Linux standard.
>
> Sorry?
>
> I didn't say that it violated a standard, merely that it had changed. A
> number of things break between major revisions of RedHat and other
> distros, this is to be expected. They are not even expected to be binary
> compatible. GCC versions change (RH is on GCC 3.x now, I believe)...
>
> However, with regard to Pine, this means that the configuration that is
> fixed in the build scripts for 7.x will probably not work with RH9.x...
> because RH9.x adheres more strictly TO standards, ironically.
>
> I don't see what was negative about my post nor why you took umbrage to
> it, I'm just trying to help the person who is unable to compile.

I've still not seen, probably missed it, where the compile errors have
been posted.

I've compiled pine 4.56 on RH9 just fine...

-- 
SARS - The only virus not spread by Outlook
http://www.shorewall.net/  for all your firewall needs

---

From: Simon White <[email-masked]>
Date: Tue, 1 Jul 2003 14:49:07 +0200

> > SSLINCLUDE=/usr/include/openssl \

Are these the correct paths?

> /usr/include/openssl/kssl.h:72:18: krb5.h: No such file or directory

Do you need kerberos? Disabling it would be easier, but you have a
problem with not having kerberos devel libs, maybe? Does "locate krb5.h"
find anything?

All the errors appear to be related to kerberos...

-- 
Simon White
Web Manager

MediaDev
5 bis, rue du Louvre
75001 Paris
Tel.: +33 (0)1 40 15 92 00
Fax : +33 (0)1 40 15 92 62
Web : http://www.mediadev.com