Hi, 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 then: make and make check when OK: final make ./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 --enable-workarounds-for-imap-client-bugs - compiler etc.: gcc --version gcc (GCC) 3.4.6 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ld --version GNU ld version 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. ar --version GNU ar 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. Note: the packages from sunfreeware.com won't work because their gcc was linked with the Sun linker and so this gcc will _always_ use the Sun linker (regardless of your search path and compiler options). Hope this helps. Good luck, Gebhard Thier ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
