Hi,
Many thanks for your invaluable advice that I was able to finally
get courier authlib compiled and installed. I hope there is an easier and
less painful way, but what you adviced is the surest thing to get it
working. The crux of the matter here is to probably upgrade
the linker i.e the ld to GNU ld version 2.17 which has
a fix for problem. Since the sun distributed
GCC uses the non GNU ld, we have no choice but to rebuild gcc
in order to use the new ld here. Ouch !!
And just make make sure to tell courier authlib and courier imap to use
the new GCC and we are mostly set.
Once again , many thanks and am glad that I used this
mailing lists.
Rgds
Henley
I managed to compile courier on Solaris 10 x86 (32 bit). You have to
ensure to use a clean and complete GNU environment (I also got the
information that maybe a clean Sun compiler environment might also
work). The best way ist to start with the GNU tarballs and make a clean
GNU compile environment on your own.
Here's what worked for me:
- courier-0.53.3
- courier-authlib-0.58
- options for authlib:
./configure --prefix=/app/courier --without-stdheaderdir
--with-mailuser=courier --with-mailgroup=courier
CPPFLAGS=-I/usr/local/BerkeleyDB/include
LDFLAGS=-L/usr/local/BerkeleyDB/lib CCLD=/usr/local/gt-compile/bin/ld
CXXLD=/usr/local/gt-compile/bin/ld LD=/usr/local/gt-compile/bin/ld
- options for courier:
setting where auth lives:
COURIERAUTHCONFIG=/app/courier/bin/courierauthconfig
export COURIERAUTHCONFIG
first compile to run make check:
./configure --prefix=/app/courier --without-stdheaderdir
--with-mailuser=courier --with-mailgroup=courier
CPPFLAGS=-I/usr/local/BerkeleyDB/include
LDFLAGS=-L/usr/local/BerkeleyDB/lib CCLD=/usr/local/gt-compile/bin/ld
CXXLD=/usr/local/gt-compile/bin/ld LD=/usr/local/gt-compile/bin/ld
--without-tcpddns --enable-unicode --enable-https=auto
--with-waitfunc=wait3