[users@httpd] LDAP support apache 2.2.3 - problem compiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am currently trying to set up an apache server. Due to some constraints, I am trying to build it from sources, what I am not really used to. But I am near to the end... One last thing doesn't compile : ldap support.

I am running a Mandriva 2006, with apr-util v 1.1.1 shipped. The configure process told me that v 1.2.x was required. So I've installed it from source.

   My first try was then to do :
./configure --prefix=/apache --enable-modules=most --enable-mods-shared=all --enable-so --enable-ssl --enable-ldap --enable-proxy --enable-proxy-connect
   Answer :
configure: error: Cannot use an external APR with the bundled APR-util Quit a logical answer, searching through the doc I've found an interesting option : --with-included-apr
   So, second try :
./configure --prefix=/apache --enable-modules=most --enable-mods-shared=all --enable-so --with-included-apr --enable-ssl --enable-ldap --enable-proxy --enable-proxy-connect
   Configure is then good... but it doesn't compile :
util_ldap.c:41:2: error: #error mod_ldap requires APR-util to have LDAP support built in
       util_ldap.c: In function 'util_ldap_handler':
util_ldap.c:94: error: 'util_ldap_state_t' undeclared (first use in this function) util_ldap.c:94: error: (Each undeclared identifier is reported only once
      ... (and so on)
util_ldap.c:2091: error: 'apr_OFN_uldap_ssl_supported_t' undeclared (first use in this function)
       make[4]: *** [util_ldap.slo] Erreur 1
make[4]: Leaving directory `/root/apache_build/sources/httpd-2.2.3/modules/ldap'
       make[3]: *** [shared-build-recursive] Erreur 1
make[3]: Leaving directory `/root/apache_build/sources/httpd-2.2.3/modules/ldap'
       make[2]: *** [shared-build-recursive] Erreur 1
make[2]: Leaving directory `/root/apache_build/sources/httpd-2.2.3/modules'
       make[1]: *** [shared-build-recursive] Erreur 1
       make[1]: Leaving directory `/root/apache_build/sources/httpd-2.2.3'
       make: *** [all-recursive] Erreur 1

What I see here is : "#error mod_ldap requires APR-util to have LDAP support built in"
   So I trying configuring apache with the freshly compiled apr :
./configure --prefix=/apache --enable-modules=most --enable-mods-shared=all --enable-so --with-included-apr --enable-ssl --enable-ldap --enable-proxy --enable-proxy-connect --with-apr=/usr/local/apr/bin/apr-1-config --with-apr-util=/usr/local/apr-util/bin/apu-1-config
   And the error is the same...

I would be very grateful if someone has any clue on how to solve this problem.

   Thanks in advance.

Julien Garet.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux