Dear List, Am Freitag, 9. August 2002 12:15 schrieb Holger Hecht: > I try to install sqwebmail on a OpenBSD 3.1 System. > Everything works fine, the only (and important) thing that does not work: > authdaemond.ldap is not created, which I need for identification. > > My OpenLDAP libs and includes are under /usr/local, so I used the following > to call configure: > > env CPPFLAGS="-I/usr/local/include" env LDFLAGS="-R /usr/local/lib" > ./configure > --with-authldap > --enable-https > --enable-cgibindir=/var/www/cgi-bin > --enable-imagedir=/var/www/htdocs/pictures/webmail > --enable-mimetypes=/var/www/conf/mime.types > --with-ispell=/usr/local/bin/ispell > --without-authuserdb > --without-authpam > --without-authshadow > --without-authdaemon > --without-authvchkpw > > and configure finds ldap.h. > > checking for ldap.h... (cached) yes > checking for lber.h... (cached) yes > checking for syslog.h... (cached) yes > checking whether -lresolv is needed for res_query... no > checking for ber_scanf in -llber... (cached) no > checking for ldap_open in -lldap... (cached) no > checking for ldap_search_st... (cached) no > checking for ldap_start_tls_s... (cached) no > checking for ldap_result2error... (cached) no > > Do I have to change something by hand in the configure files or in the > Makefiles?
just to answer to my own question (in case someone has a similar problem): There seem to be more then one problem: 1. The environment settings were wrong: CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure etc. is working 2. For some reason there was always a config.cache file with false parameters, rm config.cache after you have changed something in the system. 3. To compile --without-authdaemon and trying to use it afterwards is not as clever as it seems. -- Best regards, Holger
