Joseph Tam
2010-03-19 01:02:56 UTC
I would like to build pine 4.64 for our Ubuntu hosts. I've want to build
pine as opposed to building alpine to keep compatibility with our other
architectures and OSs, until such time I can upgrade them all.
I built a version on some ancient RedHat version (and it still runs)
but I had to do some fancy symlinking to get it to link to the right
OpenSSL libraries.
I thought building it anew would fix this, but OpenSSL compatibility is
still problematic. Ubuntu 8.04 has OpenSSL 0.9.8g installed. If I
specify SSLTYPE=nopwd, I get these errors early in the build process:
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:42:
env_unix.c: In function mm_blocknotify:
env_unix.c:1631: warning: cast to pointer from integer of different size
env_unix.c:1634: warning: cast from pointer to integer of different size
env_unix.c:1634: warning: cast from pointer to integer of different size
In file included from /usr/include/openssl/x509.h:87,
from osdep.c:198:
/usr/include/openssl/ecdsa.h: At top level:
/usr/include/openssl/ecdsa.h:123: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:137: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:149: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:151: error: expected =, ,, ;, asm or __attribute__ before * token
... and so on and so forth ...
CCTYPE: gcc -O2 -fno-omit-frame-pointer -s
CFLAGS:
OSCFLAGS: -DCREATEPROTO=unixproto
-DEMPTYPROTO=unixproto
-DMAILSPOOL="/var/spool/mail"
-DANONYMOUSHOME="/var/spool/mail/anonymous"
-DACTIVEFILE="/var/lib/news/active"
-DNEWSSPOOL="/var/spool/news"
-DRSHPATH="/usr/bin/rsh"
-DLOCKPGM="/etc/mlock"
-DMD5ENABLE="/etc/cram-md5.pwd"
-I/usr/include/openssl
-I/usr/include/openssl/openssl
-DSSL_CERT_DIRECTORY="/etc/ssl"
-DSSL_KEY_DIRECTORY="/etc/ssl"
I was able to build it without SSL (SSLTYPE=none) after a minor
fix to help it find libncurses. It runs OK, but I would like to get
SSL capability for users who need it.
Any hints?
Joseph Tam <***@math.ubc.ca>
pine as opposed to building alpine to keep compatibility with our other
architectures and OSs, until such time I can upgrade them all.
I built a version on some ancient RedHat version (and it still runs)
but I had to do some fancy symlinking to get it to link to the right
OpenSSL libraries.
I thought building it anew would fix this, but OpenSSL compatibility is
still problematic. Ubuntu 8.04 has OpenSSL 0.9.8g installed. If I
specify SSLTYPE=nopwd, I get these errors early in the build process:
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:42:
env_unix.c: In function mm_blocknotify:
env_unix.c:1631: warning: cast to pointer from integer of different size
env_unix.c:1634: warning: cast from pointer to integer of different size
env_unix.c:1634: warning: cast from pointer to integer of different size
In file included from /usr/include/openssl/x509.h:87,
from osdep.c:198:
/usr/include/openssl/ecdsa.h: At top level:
/usr/include/openssl/ecdsa.h:123: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:137: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:149: error: expected declaration specifiers or ... before EC_KEY
/usr/include/openssl/ecdsa.h:151: error: expected =, ,, ;, asm or __attribute__ before * token
... and so on and so forth ...
CCTYPE: gcc -O2 -fno-omit-frame-pointer -s
CFLAGS:
OSCFLAGS: -DCREATEPROTO=unixproto
-DEMPTYPROTO=unixproto
-DMAILSPOOL="/var/spool/mail"
-DANONYMOUSHOME="/var/spool/mail/anonymous"
-DACTIVEFILE="/var/lib/news/active"
-DNEWSSPOOL="/var/spool/news"
-DRSHPATH="/usr/bin/rsh"
-DLOCKPGM="/etc/mlock"
-DMD5ENABLE="/etc/cram-md5.pwd"
-I/usr/include/openssl
-I/usr/include/openssl/openssl
-DSSL_CERT_DIRECTORY="/etc/ssl"
-DSSL_KEY_DIRECTORY="/etc/ssl"
I was able to build it without SSL (SSLTYPE=none) after a minor
fix to help it find libncurses. It runs OK, but I would like to get
SSL capability for users who need it.
Any hints?
Joseph Tam <***@math.ubc.ca>