Yu, Ming wrote:
> I have downloaded openldap and apache2.2.0.  I am looking for
> instructions of how to compile the apache web server with
> mod_authnz_ldap.
>
> Thanks,
>
> - Ming YU
> - Johns Hopkins University Applied Physics Lab
>
>
>   

Assuming you have OpenLdap in /usr/local/openldap, OpenSSL in
/usr/local/ssl, BerkeleyDB in /usr/local/BerkeleyDB and perl in
/usr/local/bin, and you want to install it in /usr/local/apache2...

Create a 'myconfigure.sh' script and add the following - Adjust to fit
your environment if the above is not what you have/need:

---BEGIN---

#! /bin/sh
#
# Created by configure

### NOTE:  The following envs should be on the same line for each one...
CFLAGS="-O2"; export CFLAGS
LDFLAGS="-L/usr/local/ssl/lib -L/usr/local/openldap/lib -L/usr/local/lib
-R/usr/local/ssl/lib:/usr/local/openldap/lib:/usr/local/lib"; export LDFLAGS
CPPFLAGS="-I/usr/local/ssl/include -I/usr/local/openldap/include
-I/usr/local/include"; export CPPFLAGS

"./configure" \
"--prefix=/usr/local/apache2" \
"--enable-mods-shared=most" \
"--with-ldap-include=/usr/local/openldap/include" \
"--with-ldap-lib=/usr/local/openldap/lib" \
"--with-ssl=/usr/local/ssl" \
"--with-perl=/usr/local/bin/perl" \
"--with-ldap" \
"--with-berkeley-db=/usr/local/BerkeleyDB" \
"--enable-ldap" \
"--enable-authnz-ldap" \
"--enable-ssl" \
"$@"

---END---





-- 

°(((=((===°°°(((===========================================

begin:vcard
fn:Ricardo Stella
n:Stella;Ricardo
org:Rider University
adr;dom:;;2083 Lawrenceville Rd;Lawrenceville;NJ;08648
version:2.1
end:vcard


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to