httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John P. Dodge" <do...@cruciate.ca.boeing.com>
Subject Re: [users@httpd] httpd 2.0.52 compilation with ldap on Solaris 9
Date Thu, 09 Dec 2004 15:53:08 GMT
On Thu, 9 Dec 2004, Andrea Classen wrote:

> Dear all,
>
> While I am installing a new server (OS Solaris 9), I want to move to
> httpd 2.0.52 and finally get the ldap modules compiled and used.
>
> Now, on my new server, on Solaris 9, I use the
> ./configure --enable-so --enable-mods-shared=all --with-ssl --enable-ssl
> --with-ssl-include=/usr/local/ssl/include
> --with-ssl-lib=/usr/local/ssl/lib --enable-dav --enable-rewrite
> --with-ldap --enable-ldap --enable-auth-ldap
>
> Configure finishes ok, but make ends with
> ###################################################################
> Building shared: mod_ldap.la mod_auth_ldap.la
> util_ldap.c:282: error: (Each undeclared identifier is reported only once
> util_ldap.c:282: error: for each function it appears in.)
> util_ldap.c:283: error: `LDAP_OPT_X_TLS' undeclared (first use in this
> function)
> util_ldap.c: In function `util_ldap_post_config':
> util_ldap.c:1352: error: `LDAP_OPT_X_TLS_CACERTFILE' undeclared (first
> use in this function)
> make[4]: *** [util_ldap.slo] Error 1
> make[4]: Leaving directory
> `/export/home/admin/src/httpd/httpd-2.0.52/modules/experimental'
> make[3]: *** [shared-build-recursive] Error 1
> make[3]: Leaving directory
> `/export/home/admin/src/httpd/httpd-2.0.52/modules/experimental'
> make[2]: *** [shared-build-recursive] Error 1
> make[2]: Leaving directory
> `/export/home/admin/src/httpd/httpd-2.0.52/modules'
> make[1]: *** [shared-build-recursive] Error 1
> make[1]: Leaving directory `/export/home/admin/src/httpd/httpd-2.0.52'
> make: *** [all-recursive] Error 1
> ############################################################################

I found that the logic in the srclib/apr-util/include/apr_ldap.h was not
setting things when I used the Netscape LDAPSDK. I had to set the #define
APR_HAS_NETSCAPE_LDAPSDK so it forced this to true and forced #define
APR_HAS_OPENLDAP_LDAPSDK to false. Then it made the proper downstream code
selections and compiled correctly.


----------------------------------------
"Mon aƩroglisseur est plein d'anguilles"
John P. Dodge
Boeing Shared Services


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message