Göran Höglund writes:

Hi list
I'm trying to build courier IMAP on a sun solaris engine.
I have configured amkefile with args:
'CPPFLAGS=-I/usr/local/BerkeleyDB/include' 'LDFLAGS=-L/usr/local/BerkeleyDB/lib -R/usr/local/lib' '--with-waitfunc=wait3' '--enable-mimetypes' '--with-authmysql' '--with-mysql-libs=/usr/local/mysql/lib/mysql' '--with-mysql-includes=/usr/local/mysql/include/mysql' '--without-authldap'
(exerpt from configure.args)

I DO NOT want ldap but when i run make i get a complaint abot LDAP...
Wich I thought I disabled using --without-authldap :(

Compiling ldapaliasd.c
ldapaliasd.c:66: error: syntax error before '*' token

For starters, this is not Courier-IMAP, but Courier.

Secondly, there's no such option --without-authldap, in either Courier or Courier-IMAP's configuration script. This is an option for courier-authlib's configure script, and for some prehistoric versions of Courier that everyone has forgotten about, for a long, long time.

I do not want LDAP, it is not installed on my box.

Yes, it is. The LDAP code wouldn't get compiled in the first place, if configure script did not detect the presence of LDAP libraries.

How do I get rid of this?

What's probably happening is that Solaris has some kind of an LDAP support library, but it's sufficiently different from OpenLDAP to not work.

Now, if you really want to build Courier, use the --without-ldapaliasd configure option. If all you want is Courier-IMAP, just build it, since it has no LDAP code in it.

Attachment: pgpGqkASV1UUe.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to