[Dovecot] Solaris 10 dovecot-latest configure error

Tomi Vainio Tomi.Vainio at Sun.COM
Fri Jul 31 21:27:56 EEST 2009


On 31.7.2009 18.33, Timo Sirainen wrote:
> On Jul 31, 2009, at 3:56 AM, Tomi Vainio wrote:
>
>> I got a second thought about this. Maybe this time I just should set
>> all extra include definitions through CPPFLAGS or mysql can be set
>> --with-mysql and of cource move linking flags to LDFLAGS?
>
> Yes, CPPFLAGS and LDFLAGS are the right way to add -I and -L paths.
>

Now this looks good

CC='cc' CXX='CC' CFLAGS='-xO4' \
CPPFLAGS='-I/usr/sfw/include/mysql' \
LDFLAGS='-R/usr/sfw/lib:/usr/lib/sasl -L/usr/sfw/lib -L/usr/lib/sasl' \
./configure \
--with-gssapi \
--with-ldap \
--with-mysql \
--with-pgsql \
--with-ssl=openssl \
--with-ssldir=/usr/sfw

Install prefix . : /usr/local
File offsets ... : 64bit
I/O polling .... : poll
I/O notifys .... : none
SSL ............ : yes (OpenSSL)
GSSAPI ......... : yes
passdbs ........ : passwd passwd-file shadow pam checkpassword ldap sql
                  : -bsdauth -sia -vpopmail
userdbs ........ : static prefetch passwd passwd-file checkpassword ldap sql
                  : -vpopmail -nss
SQL drivers .... : pgsql mysql
                  : -sqlite


   Tomppa


More information about the dovecot mailing list