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
ldapaliasd.c:66: warning: type defaults to `int' in declaration of 
`my_ldap_fp'
ldapaliasd.c:66: warning: data definition has no type or storage class
ldapaliasd.c: In function `ldapclose':
ldapaliasd.c:120: warning: implicit declaration of function `ldap_unbind'
ldapaliasd.c: In function `ldaperror':
ldapaliasd.c:130: warning: implicit declaration of function `NAME_ERROR'
ldapaliasd.c: At top level:
ldapaliasd.c:140: error: syntax error before '*' token
ldapaliasd.c:141: warning: return type defaults to `int'
ldapaliasd.c: In function `ldapconnect':
ldapaliasd.c:142: error: `LDAP' undeclared (first use in this function)
ldapaliasd.c:142: error: (Each undeclared identifier is reported only once
ldapaliasd.c:142: error: for each function it appears in.)
ldapaliasd.c:142: error: `p' undeclared (first use in this function)
ldapaliasd.c:161: warning: implicit declaration of function `ldap_init'
ldapaliasd.c: In function `ldapopen':
ldapaliasd.c:213: warning: implicit declaration of function 
`ldap_simple_bind_s'
ldapaliasd.c:214: error: `LDAP_SUCCESS' undeclared (first use in this 
function)
ldapaliasd.c:216: warning: implicit declaration of function 
`ldap_err2string'
ldapaliasd.c:216: warning: initialization makes pointer from integer 
without a cast
ldapaliasd.c: At top level:
ldapaliasd.c:229: error: syntax error before '*' token
ldapaliasd.c:230: warning: return type defaults to `int'
ldapaliasd.c: In function `search_attr':
ldapaliasd.c:233: error: `LDAPMessage' undeclared (first use in this 
function)
ldapaliasd.c:233: error: `result' undeclared (first use in this function)
ldapaliasd.c:241: warning: implicit declaration of function `ldap_search_st'
ldapaliasd.c:242: error: `LDAP_SCOPE_SUBTREE' undeclared (first use in 
this function)
ldapaliasd.c:245: error: `LDAP_SUCCESS' undeclared (first use in this 
function)
ldapaliasd.c: In function `search_maildrop':
ldapaliasd.c:254: error: `LDAPMessage' undeclared (first use in this 
function)
ldapaliasd.c:254: error: `result' undeclared (first use in this function)
ldapaliasd.c:313: warning: implicit declaration of function 
`ldap_count_entries'
ldapaliasd.c:315: error: `entry' undeclared (first use in this function)
ldapaliasd.c:318: warning: implicit declaration of function 
`ldap_first_entry'
ldapaliasd.c:319: warning: implicit declaration of function 
`ldap_get_values'
ldapaliasd.c:321: warning: assignment makes pointer from integer without 
a cast
ldapaliasd.c:323: warning: implicit declaration of function 
`ldap_count_values'
ldapaliasd.c:332: warning: implicit declaration of function 
`ldap_value_free'
ldapaliasd.c:335: warning: implicit declaration of function `ldap_msgfree'
ldapaliasd.c: In function `search_virtual':
ldapaliasd.c:346: error: `LDAPMessage' undeclared (first use in this 
function)
ldapaliasd.c:346: error: `result' undeclared (first use in this function)
ldapaliasd.c:422: error: `entry' undeclared (first use in this function)
ldapaliasd.c:428: warning: assignment makes pointer from integer without 
a cast
make[3]: *** [ldapaliasd.o] Error 1
make[3]: Leaving directory `/usr/share/src/courier-0.52.2/courier'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/share/src/courier-0.52.2/courier'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/courier-0.52.2/courier'
make: *** [all-recursive] Error 1

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

How do I get rid of this?



/GH

-------------------------------------------------------------------------
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