Re: configure option to include httpd-ldap?

2002-03-06 Thread Paul J. Reder

Actually, I fixed the build for the LDAP stuff so that you should just be able to
check out the whole httpd-ldap tree into httpd-2.0/modules/. then do a normal
configure like the following:

#! /bin/sh
#
# Created by configure

./configure \
--with-mpm=prefork \
--enable-maintainer-mode \
--disable-cgid \
--enable-cgi \
--with-ldap-include=/usr/local/include/ \
--with-ldap-lib=/usr/local/lib \
--with-ldap \
--enable-ldap \
--enable-auth_ldap \
--enable-status \
$


If it doesn't work, I need to fix something.

Cheers,

Paul J. Reder

Graham Leggett wrote:

 Tim Moloney wrote:
 
 
I want to try running Apache 2.0.32 with the auth_ldap module.  The
online manual (manual/dso.html) says to run configure with

   --add-module=module_type:/path/to/3rdparty/mod_foo.c

Unfortunately, configure doesn't like --add-module.  Since the
documentation is wrong and/or out of data, how can I tell configure
to find and use httpd-ldap?  Thanks.

 
 - Copy the contents of ldap-aaa to httpd-2.0/modules/ldap.
 - Run ./configure --with-ldap --enable-ldap --enable-auth-ldap
 
 Regards,
 Graham
 


-- 
Paul J. Reder
---
The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure.
-- Albert Einstein





configure option to include httpd-ldap?

2002-02-26 Thread Tim Moloney

I want to try running Apache 2.0.32 with the auth_ldap module.  The
online manual (manual/dso.html) says to run configure with

   --add-module=module_type:/path/to/3rdparty/mod_foo.c

Unfortunately, configure doesn't like --add-module.  Since the
documentation is wrong and/or out of data, how can I tell configure
to find and use httpd-ldap?  Thanks.

-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road \ /
Sarasota, FL  34232 .\(O)/.
(941) 377-6775 x208'  '  O(.)O  '  '




Re: configure option to include httpd-ldap?

2002-02-26 Thread Paul J. Reder

The config.nice file that I used for compiling Apache to include
LDAP based on the latest OpenLDAP is as follows:


#! /bin/sh
#
# Created by configure

./configure \
--with-mpm=prefork \
--enable-maintainer-mode \
--disable-cgid \
--enable-cgi \
--with-ldap-include=/usr/local/include/ \
--with-ldap-lib=/usr/local/lib \
--with-ldap \
--enable-ldap \
--enable-auth_ldap \
--enable-status \
$@

Hope that helps some.


Tim Moloney wrote:

 I want to try running Apache 2.0.32 with the auth_ldap module.  The
 online manual (manual/dso.html) says to run configure with
 
   --add-module=module_type:/path/to/3rdparty/mod_foo.c
 
 Unfortunately, configure doesn't like --add-module.  Since the
 documentation is wrong and/or out of data, how can I tell configure
 to find and use httpd-ldap?  Thanks.
 


-- 
Paul J. Reder
---
The strength of the Constitution lies entirely in the determination of each
citizen to defend it.  Only if every single citizen feels duty bound to do
his share in this defense are the constitutional rights secure.
-- Albert Einstein





Re: configure option to include httpd-ldap?

2002-02-26 Thread Thom May

* Tim Moloney ([EMAIL PROTECTED]) wrote :
 I want to try running Apache 2.0.32 with the auth_ldap module.  The
 online manual (manual/dso.html) says to run configure with
 
   --add-module=module_type:/path/to/3rdparty/mod_foo.c
 
 Unfortunately, configure doesn't like --add-module.  Since the
 documentation is wrong and/or out of data, how can I tell configure
 to find and use httpd-ldap?  Thanks.
 
Looks like you want to be using --with-module=/path/to/module :

(from configure)
ac_help=$ac_help
  --with-module=location  Include the specified module.  location is the
path to the new module.
HTH,
-Thom




Re: configure option to include httpd-ldap?

2002-02-26 Thread Tim Moloney

Thom May wrote:

 Tim Moloney ([EMAIL PROTECTED]) wrote :
 
I want to try running Apache 2.0.32 with the auth_ldap module.  The
online manual (manual/dso.html) says to run configure with

  --add-module=module_type:/path/to/3rdparty/mod_foo.c

Unfortunately, configure doesn't like --add-module.  Since the
documentation is wrong and/or out of data, how can I tell configure
to find and use httpd-ldap?  Thanks.


 Looks like you want to be using --with-module=/path/to/module :
 
 (from configure)
 ac_help=$ac_help
   --with-module=location  Include the specified module.  location is the
 path to the new module.


I tried adding '--with-auth_ldap=/home/moloney/httpd-ldap' to the
configure command and the module still wasn't compiled.

Any other ideas?

Here's my config.nice file if it helps.


  #! /bin/sh

   #

  # Created by configure
  
  ./configure \
  --prefix=/usr/local/apache2 \
  --enable-so \
  --enable-modules=ssl dav ldap auth_ldap \
  --with-ldap \
  --with-dbm=db4 \
  --with-berkeley-db=/usr/local/BerkeleyDB.4.0 \
  --with-auth_ldap=/home/moloney/httpd-ldap \
  $@


-- 
Tim Moloney
ManTech Real-time Systems Laboratory
2015 Cattlemen Road \ /
Sarasota, FL  34232 .\(O)/.
(941) 377-6775 x208'  '  O(.)O  '  '