|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I'm having problems getting httpd.2.0.54 to compile with ldap support.
Here are the parameters that I'm using: ../configure CC="gcc" CFLAGS="-O2" --prefix="/nfs/httpd-2.0.54" --with-apr="/nfs/httpd-2.0.54" --with-apr-util="/nfs/httpd-2.0.54" --with-openldap="/nfs/openldap-2.3.4" --enable-ldap --enable-auth-ldap --with-ssl="/nfs/openssl-0.9.6b" --enable-ssl --with-mpm=worker --enable-auth-dbm --enable-auth-digest --enable-cgid --enable-cgi --enable-rewrite --enable-so --enable-dav --enable-dav-fs --enable-suexec --enable-log-forensic --enable-dumpio --enable-http Here is the error message: #error mod_ldap requires APR-util to have LDAP support built in Any suggestions? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
edherrin wrote:
> I'm having problems getting httpd.2.0.54 to compile with ldap support. > Here are the parameters that I'm using: > ./configure CC="gcc" CFLAGS="-O2" --prefix="/nfs/httpd-2.0.54" > --with-apr="/nfs/httpd-2.0.54" --with-apr-util="/nfs/httpd-2.0.54" > --with-openldap="/nfs/openldap-2.3.4" --enable-ldap --enable-auth-ldap > --with-ssl="/nfs/openssl-0.9.6b" --enable-ssl --with-mpm=worker > --enable-auth-dbm --enable-auth-digest --enable-cgid --enable-cgi > --enable-rewrite --enable-so --enable-dav --enable-dav-fs > --enable-suexec --enable-log-forensic --enable-dumpio --enable-http > > Here is the error message: > #error mod_ldap requires APR-util to have LDAP support built in You used --with-apr-util=... But your apr-util was evidently built without LDAP support. Either rebuild it with LDAP, or ignore your installed APR-UTIL (and probably also APR), and let it configure the bundled version for you instead. -- Nick Kew |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Thanks
I made some forward progress by doing the following: ../configure CC="gcc" CFLAGS="-O2" --prefix=/dir/httpd-2.0.54 --with-openldap=/dir/lib/openldap-2.3.4 --enable-ldap --enable-auth-ldap --with-ssl=/dir/lib/openssl-0.9.6b --enable-ssl --with-mpm=worker --enable-auth-dbm --enable-auth-digest --enable-cgid --enable-cgi --enable-rewrite --enable-so --enable-dav --enable-dav-fs --enable-suexec --enable-log-forensic --enable-dumpio --enable-http After the error: #error mod_ldap requires APR-util to have LDAP support built in cd to srclib/apr-util and run:./configure --prefix="/dir/httpd-2.0.54" --with-ldap-include="/dir/lib/openldap-2.3.4/include" --with-ldap-lib="/dir/lib/openldap-2.3.4/lib" --with-ldap=ldap --with-apr="/dir/src/httpd-2.0.54/srclib/apr" Re-run make and I get this error: modules/experimental/.libs/mod_ldap.a(util_ldap.o)(.text+0x8c1): In function `util_ldap_post_config': : warning: the use of `tmpnam' is dangerous, better use `mkstemp' modules/experimental/.libs/mod_ldap.a(util_ldap.o)(.text+0x6f6): In function `util_ldap_post_config': : undefined reference to `ldap_set_option' modules/experimental/.libs/mod_ldap.a(util_ldap.o)(.text+0x8af): In function `util_ldap_post_config': : undefined reference to `ldap_set_option' modules/experimental/.libs/mod_ldap.a(util_ldap.o)(.text+0xd2c): In function `util_ldap_connection_open': : undefined reference to `ldap_set_option' I have reason to believe that warning (warning: the use of `tmpnam' is dangerous, better use `mkstemp') can be ignored. What about the rest? |
|
![]() |
| Outils de la discussion | |
|
|