You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Brenda Washington <bw...@pnc.edu> on 2005/10/18 18:04:41 UTC

[users@httpd] Help with Apache-2.0.54 with mod_ldap_auth

I am trying to install Apache-2.0.54 with mod_ssl, mod_ldap, and mod_auth_ldap with no success with the mod_auth_ldap
piece. My configure runs find, but I can't get apache to make. This is my configure statement:

# CPPFLAGS="-I/opt/openldap-2.0.25/include" CPPFLAGS="-I/opt/openssl-0.9.8/include" LDFLAGS="-L/opt/openldap-2.0.25/libraries" ./configure --with-ssl=/opt/openssl-0.9.8 --with-ldap --with-ldap-include=/opt/openldap-2.0.25/include --with-ldap-lib=/opt/openldap-2.0.25/libraries --with-apr=/usr/local/apache2/bin --with-arp-util=/opt/apache/httpd-2.0.54/srclib/apr-util --enable-ssl=static --enable-so --enable-mods-shared=most --enable-auth_dbm --enable-headers --enable-info --enable-status --enable-rewrite --enable-ldap --enable-auth-ldap 

When I run the make command, I get the following error messages:

make[2]: Leaving directory `/opt/apache/httpd-2.0.54/os/unix'
make[1]: Leaving directory `/opt/apache/httpd-2.0.54/os'
Making all in server
make[1]: Entering directory `/opt/apache/httpd-2.0.54/server'
Making all in mpm
make[2]: Entering directory `/opt/apache/httpd-2.0.54/server/mpm'
Making all in prefork
make[3]: Entering directory `/opt/apache/httpd-2.0.54/server/mpm/prefork'
make[4]: Entering directory `/opt/apache/httpd-2.0.54/server/mpm/prefork'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/opt/apache/httpd-2.0.54/server/mpm/prefork'
make[3]: Leaving directory `/opt/apache/httpd-2.0.54/server/mpm/prefork'
make[2]: Leaving directory `/opt/apache/httpd-2.0.54/server/mpm'
make[2]: Entering directory `/opt/apache/httpd-2.0.54/server'
/usr/local/apache2/build/libtool --silent --mode=compile cc  -g -Ae +Z +DAportable    -DHPUX11 -D_REENTRANT -D_XOPEN_SOURCE_EXTENDED  -I/opt/openssl-0.9.8/include  -I/usr/local/apache2/include -I/opt/apache/httpd-2.0.54/srclib/apr-util/include -I/opt/openldap-2.0.25/include -I/opt/apache/httpd-2.0.54/srclib/apr-util/xml/expat/lib -I. -I/opt/apache/httpd-2.0.54/os/unix -I/opt/apache/httpd-2.0.54/server/mpm/prefork -I/opt/apache/httpd-2.0.54/modules/http -I/opt/apache/httpd-2.0.54/modules/filters -I/opt/apache/httpd-2.0.54/modules/proxy -I/opt/apache/httpd-2.0.54/include -I/opt/apache/httpd-2.0.54/modules/generators -I/opt/openssl-0.9.8/include/openssl -I/opt/openssl-0.9.8/include -I/opt/apache/httpd-2.0.54/modules/dav/main -prefer-non-pic -static -c exports.c && touch exports.lo
cc: "exports.c", line 951: error 1714: Identifier "ap_hack_apr_base64_encode_len" is initialized more than once.
cc: "exports.c", line 952: error 1714: Identifier "ap_hack_apr_base64_encode" is initialized more than once.
cc: "exports.c", line 953: error 1714: Identifier "ap_hack_apr_base64_encode_binary" is initialized more than once.
cc: "exports.c", line 954: error 1714: Identifier "ap_hack_apr_base64_decode_len" is initialized more than once.
cc: "exports.c", line 955: error 1714: Identifier "ap_hack_apr_base64_decode" is initialized more than once.
cc: "exports.c", line 956: error 1714: Identifier "ap_hack_apr_base64_decode_binary" is initialized more than once.
cc: "exports.c", line 961: error 1714: Identifier "ap_hack_apr_brigade_create" is initialized more than once.
cc: "exports.c", line 962: error 1714: Identifier "ap_hack_apr_brigade_destroy" is initialized more than once.
cc: "exports.c", line 963: error 1714: Identifier "ap_hack_apr_brigade_cleanup" is initialized more than once.
cc: "exports.c", line 964: error 1714: Identifier "ap_hack_apr_brigade_split" is initialized more than once.
cc: "exports.c", line 965: error 1714: Identifier "ap_hack_apr_brigade_partition" is initialized more than once.
cc: "exports.c", line 969: error 1714: Identifier "ap_hack_apr_brigade_length" is initialized more than once.
cc: "exports.c", line 970: error 1714: Identifier "ap_hack_apr_brigade_flatten" is initialized more than once.
cc: "exports.c", line 971: error 1714: Identifier "ap_hack_apr_brigade_pflatten" is initialized more than once.
cc: "exports.c", line 972: error 1714: Identifier "ap_hack_apr_brigade_split_line" is initialized more than once.
cc: "exports.c", line 973: error 1714: Identifier "ap_hack_apr_brigade_to_iovec" is initialized more than once.
cc: "exports.c", line 974: error 1714: Identifier "ap_hack_apr_brigade_vputstrs" is initialized more than once.
cc: "exports.c", line 975: error 1714: Identifier "ap_hack_apr_brigade_write" is initialized more than once.
cc: "exports.c", line 976: error 1714: Identifier "ap_hack_apr_brigade_writev" is initialized more than once.
cc: "exports.c", line 977: error 1714: Identifier "ap_hack_apr_brigade_puts" is initialized more than once.
cc: "exports.c", line 978: error 1714: Identifier "ap_hack_apr_brigade_putc" is initialized more than once.
cc: "exports.c", line 979: error 1714: Identifier "ap_hack_apr_brigade_putstrs" is initialized more than once.
cc: "exports.c", line 980: error 1714: Identifier "ap_hack_apr_brigade_printf" is initialized more than once.
cc: "exports.c", line 981: error 1714: Identifier "ap_hack_apr_brigade_vprintf" is initialized more than once.
cc: "exports.c", line 982: error 1714: Identifier "ap_hack_apr_bucket_alloc_create" is initialized more than once.
cc: "exports.c", line 983: error 1714: Identifier "ap_hack_apr_bucket_alloc_create_ex" is initialized more than once.
cc: "exports.c", line 984: error 1714: Identifier "ap_hack_apr_bucket_alloc_destroy" is initialized more than once.
cc: "exports.c", line 985: error 1714: Identifier "ap_hack_apr_bucket_alloc" is initialized more than once.
cc: "exports.c", line 986: error 1714: Identifier "ap_hack_apr_bucket_free" is initialized more than once.
cc: "exports.c", line 987: error 1714: Identifier "ap_hack_apr_bucket_setaside_noop" is initialized more than once.
cc: "exports.c", line 988: error 1714: Identifier "ap_hack_apr_bucket_setaside_notimpl" is initialized more than once.
cc: "exports.c", line 989: error 1714: Identifier "ap_hack_apr_bucket_split_notimpl" is initialized more than once.
cc: "exports.c", line 990: error 1714: Identifier "ap_hack_apr_bucket_copy_notimpl" is initialized more than once.
cc: "exports.c", line 991: error 1714: Identifier "ap_hack_apr_bucket_destroy_noop" is initialized more than once.
cc: "exports.c", line 992: error 1714: Identifier "ap_hack_apr_bucket_simple_split" is initialized more than once.
cc: "exports.c", line 993: error 1714: Identifier "ap_hack_apr_bucket_simple_copy" is initialized more than once.
cc: "exports.c", line 994: error 1714: Identifier "ap_hack_apr_bucket_shared_make" is initialized more than once.
cc: "exports.c", line 995: error 1714: Identifier "ap_hack_apr_bucket_shared_destroy" is initialized more than once.
cc: "exports.c", line 996: error 1714: Identifier "ap_hack_apr_bucket_shared_split" is initialized more than once.
cc: "exports.c", line 997: error 1714: Identifier "ap_hack_apr_bucket_shared_copy" is initialized more than once.
cc: "exports.c", line 998: error 1714: Identifier "ap_hack_apr_bucket_eos_create" is initialized more than once.
cc: "exports.c", line 999: error 1714: Identifier "ap_hack_apr_bucket_eos_make" is initialized more than once.
cc: "exports.c", line 1000: error 1714: Identifier "ap_hack_apr_bucket_flush_create" is initialized more than once.
cc: "exports.c", line 1001: error 1714: Identifier "ap_hack_apr_bucket_flush_make" is initialized more than once.
cc: "exports.c", line 1002: error 1714: Identifier "ap_hack_apr_bucket_immortal_create" is initialized more than once.
cc: "exports.c", line 1003: error 1714: Identifier "ap_hack_apr_bucket_immortal_make" is initialized more than once.
cc: "exports.c", line 1004: error 1714: Identifier "ap_hack_apr_bucket_transient_create" is initialized more than once.
cc: "exports.c", line 1005: error 1714: Identifier "ap_hack_apr_bucket_transient_make" is initialized more than once.
cc: "exports.c", line 1006: error 1714: Identifier "ap_hack_apr_bucket_heap_create" is initialized more than once.
cc: "exports.c", line 1007: error 1714: Identifier "ap_hack_apr_bucket_heap_make" is initialized more than once.
cc: "exports.c", line 1008: error 1714: Identifier "ap_hack_apr_bucket_pool_create" is initialized more than once.
cc: "exports.c", line 1009: error 1714: Identifier "ap_hack_apr_bucket_pool_make" is initialized more than once.
cc: "exports.c", line 1011: error 1714: Identifier "ap_hack_apr_bucket_mmap_create" is initialized more than once.
cc: "exports.c", line 1012: error 1714: Identifier "ap_hack_apr_bucket_mmap_make" is initialized more than once.
cc: "exports.c", line 1014: error 1714: Identifier "ap_hack_apr_bucket_socket_create" is initialized more than once.
cc: "exports.c", line 1015: error 1714: Identifier "ap_hack_apr_bucket_socket_make" is initialized more than once.
cc: "exports.c", line 1016: error 1714: Identifier "ap_hack_apr_bucket_pipe_create" is initialized more than once.
cc: "exports.c", line 1017: error 1714: Identifier "ap_hack_apr_bucket_pipe_make" is initialized more than once.
cc: "exports.c", line 1018: error 1714: Identifier "ap_hack_apr_bucket_file_create" is initialized more than once.
cc: "exports.c", line 1019: error 1714: Identifier "ap_hack_apr_bucket_file_make" is initialized more than once.
cc: "exports.c", line 1020: error 1714: Identifier "ap_hack_apr_bucket_file_enable_mmap" is initialized more than once.
cc: "exports.c", line 1025: error 1714: Identifier "ap_hack_apr_date_checkmask" is initialized more than once.
cc: "exports.c", line 1026: error 1714: Identifier "ap_hack_apr_date_parse_http" is initialized more than once.
cc: "exports.c", line 1027: error 1714: Identifier "ap_hack_apr_date_parse_rfc" is initialized more than once.
cc: "exports.c", line 1032: error 1714: Identifier "ap_hack_apr_dbm_open_ex" is initialized more than once.
cc: "exports.c", line 1033: error 1714: Identifier "ap_hack_apr_dbm_open" is initialized more than once.
cc: "exports.c", line 1034: error 1714: Identifier "ap_hack_apr_dbm_close" is initialized more than once.
cc: "exports.c", line 1035: error 1714: Identifier "ap_hack_apr_dbm_fetch" is initialized more than once.
cc: "exports.c", line 1036: error 1714: Identifier "ap_hack_apr_dbm_store" is initialized more than once.
cc: "exports.c", line 1037: error 1714: Identifier "ap_hack_apr_dbm_delete" is initialized more than once.
cc: "exports.c", line 1038: error 1714: Identifier "ap_hack_apr_dbm_exists" is initialized more than once.
cc: "exports.c", line 1039: error 1714: Identifier "ap_hack_apr_dbm_firstkey" is initialized more than once.
cc: "exports.c", line 1040: error 1714: Identifier "ap_hack_apr_dbm_nextkey" is initialized more than once.
cc: "exports.c", line 1041: error 1714: Identifier "ap_hack_apr_dbm_freedatum" is initialized more than once.
cc: "exports.c", line 1042: error 1714: Identifier "ap_hack_apr_dbm_geterror" is initialized more than once.
cc: "exports.c", line 1043: error 1714: Identifier "ap_hack_apr_dbm_get_usednames_ex" is initialized more than once.
cc: "exports.c", line 1044: error 1714: Identifier "ap_hack_apr_dbm_get_usednames" is initialized more than once.
cc: "exports.c", line 1201: error 1714: Identifier "ap_hack_apr_hook_sort_register" is initialized more than once.
cc: "exports.c", line 1202: error 1714: Identifier "ap_hack_apr_hook_sort_all" is initialized more than once.
cc: "exports.c", line 1203: error 1714: Identifier "ap_hack_apr_sort_hooks" is initialized more than once.
cc: "exports.c", line 1204: error 1714: Identifier "ap_hack_apr_hook_debug_show" is initialized more than once.
cc: "exports.c", line 1205: error 1714: Identifier "ap_hack_apr_show_hook" is initialized more than once.
cc: "exports.c", line 1206: error 1714: Identifier "ap_hack_apr_hook_deregister_all" is initialized more than once.
cc: "exports.c", line 1233: error 1714: Identifier "ap_hack_apr_md4_init" is initialized more than once.
cc: "exports.c", line 1235: error 1714: Identifier "ap_hack_apr_md4_set_xlate" is initialized more than once.
cc: "exports.c", line 1238: error 1714: Identifier "ap_hack_apr_md4_update" is initialized more than once.
cc: "exports.c", line 1239: error 1714: Identifier "ap_hack_apr_md4_final" is initialized more than once.
cc: "exports.c", line 1240: error 1714: Identifier "ap_hack_apr_md4" is initialized more than once.
cc: "exports.c", line 1245: error 1714: Identifier "ap_hack_apr_md5_init" is initialized more than once.
cc: "exports.c", line 1246: error 1714: Identifier "ap_hack_apr_md5_set_xlate" is initialized more than once.
cc: "exports.c", line 1247: error 1714: Identifier "ap_hack_apr_md5_update" is initialized more than once.
cc: "exports.c", line 1248: error 1714: Identifier "ap_hack_apr_md5_final" is initialized more than once.
cc: "exports.c", line 1249: error 1714: Identifier "ap_hack_apr_md5" is initialized more than once.
cc: "exports.c", line 1250: error 1714: Identifier "ap_hack_apr_md5_encode" is initialized more than once.
cc: "exports.c", line 1251: error 1714: Identifier "ap_hack_apr_password_validate" is initialized more than once.
cc: "exports.c", line 1331: error 1714: Identifier "ap_hack_apr_dynamic_fn_register" is initialized more than once.
cc: "exports.c", line 1332: error 1714: Identifier "ap_hack_apr_register_optional_fn" is initialized more than once.
cc: "exports.c", line 1333: error 1714: Identifier "ap_hack_apr_dynamic_fn_retrieve" is initialized more than once.
cc: "exports.c", line 1334: error 1714: Identifier "ap_hack_apr_retrieve_optional_fn" is initialized more than once.
cc: "exports.c", line 1339: error 1714: Identifier "ap_hack_apr_optional_hook_add" is initialized more than once.
cc: Panic 2161: Maximum allowed number of errors exceeded.
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/opt/apache/httpd-2.0.54/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/apache/httpd-2.0.54/server'
make: *** [all-recursive] Error 1 

I have been working on this problems for a week or more with no success. Any help will be appreciated. 

Thanks, 

Brenda Washington
Unix System Specialist
1401 W. Hwy 421
Westville, Ind. 46360
(219) 785- 5417


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


Re: [users@httpd] Help with Apache-2.0.54 with mod_ldap_auth

Posted by Dmitriy Kirhlarov <dk...@oilspace.com>.
On Tue, Oct 18, 2005 at 11:04:41AM -0500, Brenda Washington wrote:
> I am trying to install Apache-2.0.54 with mod_ssl, mod_ldap, and mod_auth_ldap with no success with the mod_auth_ldap
> piece. My configure runs find, but I can't get apache to make. This is my configure statement:
> 
> # CPPFLAGS="-I/opt/openldap-2.0.25/include" CPPFLAGS="-I/opt/openssl-0.9.8/include" LDFLAGS="-L/opt/openldap-2.0.25/libraries" ./configure --with-ssl=/opt/openssl-0.9.8 --with-ldap --with-ldap-include=/opt/openldap-2.0.25/include --with-ldap-lib=/opt/openldap-2.0.25/libraries --with-apr=/usr/local/apache2/bin --with-arp-util=/opt/apache/httpd-2.0.54/srclib/apr-util --enable-ssl=static --enable-so --enable-mods-shared=most --enable-auth_dbm --enable-headers --enable-info --enable-status --enable-rewrite --enable-ldap --enable-auth-ldap 

Start from replacing openldap-2.0 to openldap-2.[23]

--
WBR
Dmitriy

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