Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 18th, 2012, 02:58 PM
sasi1503 sasi1503 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 1 sasi1503 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 24 m 20 sec
Reputation Power: 0
Angry general - Facing compilation problem with Apache configuration & LDAP

Hi,

We are trying to compile Apache with LDAP and followed below steps for the LDAP configuration followed by compilation.

Mod_Auth_ldap & mod_ldap:

Command Able To Configure Able To Make Able To Make Install
./configure --enable-auth-ldap Yes No No

Details :

This was due to the compilation problem with APR-Util with LDAP support.
In order to get rid of this error again i ran the configure command with the following options:

--with-ldap-include= path to ldap include file
--with-ldap-lib=path = path to ldap lib file
--with-ldap=library = ldap library

After that 'make' command works fine but the flag status for the mod_auth_ldap changed from 'Yes' to 'No'

Command Configure Make Make Install
./configure --enable-ldap Yes No No

Details:

This was due to the compilation problem with APR-Util with LDAP support.In order to get rid of this error again i ran the configure command with the following options:

--with-ldap-include= path to ldap include file
--with-ldap-lib=path = path to ldap lib file
--with-ldap=library = ldap library

After that 'make' command works fine but the flag status for mod_ldap changed from 'Yes' to 'No'.

In order to overcome the above Apr & Apr-Util problem we tried with the below configure options
and configure was working fine but we faced problems while building of ‘make’ statement and their corresponding errors has been captured as below.

Configure:

./configure --prefix=/Volumes/app/apache2.2/httpd-2.2.22 --enable-threads --enable-other-child - apr
./configure --prefix=/Volumes/app/apache2.2/httpd-2.2.22 --with-apr=../apr --with-ldap-lib=/usr/lib --with-ldap-include=/usr/include --with-ldap=ldap - apr-util
./configure --enable-ldap --enable-authnz-ldap --with-included-apr

While doing make

Errors:

nawk -f /Volumes/app/apache2.2/httpd-2.2.22/build/make_exports.awk `cat export_files` > exports.c
/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr/libtool --silent --mode=compile gcc -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/pcre -I. -I/Volumes/app/apache2.2/httpd-2.2.22/os/unix -I/Volumes/app/apache2.2/httpd-2.2.22/server/mpm/prefork -I/Volumes/app/apache2.2/httpd-2.2.22/modules/http -I/Volumes/app/apache2.2/httpd-2.2.22/modules/filters -I/Volumes/app/apache2.2/httpd-2.2.22/modules/proxy -I/Volumes/app/apache2.2/httpd-2.2.22/include -I/Volumes/app/apache2.2/httpd-2.2.22/modules/generators -I/Volumes/app/apache2.2/httpd-2.2.22/modules/mappers -I/Volumes/app/apache2.2/httpd-2.2.22/modules/database -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr/include -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr-util/include -I/Volumes/app/apache2.2/httpd-2.2.22/srclib/apr-util/xml/expat/lib -I/Volumes/app/apache2.2/httpd-2.2.22/modules/proxy/../generators -I/Volumes/app/apache2.2/httpd-2.2.22/modules/ssl -I/Volumes/app/apache2.2/httpd-2.2.22/modules/dav/main -prefer-non-pic -static -c exports.c && touch exports.lo
exports.c:1800: error: redefinition of 'ap_hack_ap_basic_http_header'
exports.c:1681: error: previous definition of 'ap_hack_ap_basic_http_header' was here
exports.c:1801: error: redefinition of 'ap_hack_ap_send_http_trace'
exports.c:1682: error: previous definition of 'ap_hack_ap_send_http_trace' was here
exports.c:1802: error: redefinition of 'ap_hack_ap_send_http_options'
exports.c:1263: error: previous definition of 'ap_hack_apr_version_string' was here
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/Volumes/app/apache2.2/httpd-2.2.22/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Volumes/app/apache2.2/httpd-2.2.22/server'
make: *** [all-recursive] Error 1.
==================================================================================================== ======================================================

How can I get rid of the above errors?.

Thanks in advance for any suggestions.

Thanks,
Sasi

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > general - Facing compilation problem with Apache configuration & LDAP

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap