Hi!
To make IMAPd compile on AIX 5.3, we have to make some changes (the same
for 2.2.12 and 2.3.7):
aix> cd $SOURCE
aix> cd cyrus-imapd-2.3.7/perl/imap
aix> Edit file ‚Makefile.PL’
'MYEXTLIB' => '../../lib/libcyrus.a ../../lib/libcyrus_min.a’,
extend to:
'MYEXTLIB' => '../../lib/libcyrus.a ../../lib/libcyrus_min.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc.a',
aix> cd $SOURCE
aix> cd cyrus-imapd-2.3.7/perl/sieve/managesieve
aix> Edit file ‘Makefile.PL’
'MYEXTLIB' => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o
../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a
extend to:
'MYEXTLIB' => '../lib/isieve.o ../lib/lex.o ../lib/mystring.o
../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.3.0.0/3.3.2/libgcc.a',
aix> cd cyrus-imapd-2.3.7
aix> Edit file ‘configure.in’
LDAP_LIBS=""
to
LDAP_LIBS="-lldap -llber"
(two times!)
I compiled everthing (BDB, SASL, OpenLDAP) with
--prefix=/opt/mail \
--libdir=/opt/freeware/lib \
--includedir=/opt/freeware/include \
Is this realy the simplest way to get IMAPd compiled in this configuration?
Hans
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html