RE: [users@httpd] Compiling Apache 2.2.0 on Solaris 10 with mod_authnz_ldap support

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

 



I have downloaded openldap and BerkeleyDB source code, but do not want to install them on the server.  I am wondering whether I can compile apache2.2 with mod_authz_ldap.  

Thanks.

- Ming Yu

-----Original Message-----
From: Ricardo Stella [mailto:stella@xxxxxxxxx] 
Sent: Wednesday, March 15, 2006 1:35 PM
To: users@xxxxxxxxxxxxxxxx
Subject: Re: [users@httpd] Compiling Apache 2.2.0 on Solaris 10 with mod_authnz_ldap support



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---





-- 

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


---------------------------------------------------------------------
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