You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Trent MacDougall <tr...@infointeractive.com> on 2002/05/23 14:41:54 UTC
compiling mod_auth_ldap in apache2
I have finally got mod_ldap compiled by looking thru the archives, but I cannot
seem to get mod_auth_ldap to compile. I was hoping someone has figured this
out. I have apache 2.0.36 compiled with ldap (openldap 2.0.23) support on a
Sun box running Solaris 8. The mod_auth_ldap sources are the latest from the
CVS repository. Here is the output of the build:
build# /opt/apache/bin/apxs -i -a -c mod_auth_ldap.c
/opt/apache/build/libtool --silent --mode=compile gcc -prefer-pic -I/opt/openldap/include -I/opt/openssl/include -L/opt/openldap/lib -L/opt/openssl/lib -DAP_HAVE_DESIGNATED_INITIALIZER -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -pthreads -I/opt/apache/include -c -o mod_auth_ldap.lo mod_auth_ldap.c && touch mod_auth_ldap.slo
mod_auth_ldap.c:795: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:795: initializer element is not constant
mod_auth_ldap.c:795: (near initialization for `mod_auth_ldap_cmds[1].cmd_data')
mod_auth_ldap.c:799: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:799: initializer element is not constant
mod_auth_ldap.c:799: (near initialization for `mod_auth_ldap_cmds[2].cmd_data')
mod_auth_ldap.c:803: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:803: initializer element is not constant
mod_auth_ldap.c:803: (near initialization for `mod_auth_ldap_cmds[3].cmd_data')
mod_auth_ldap.c:809: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:809: initializer element is not constant
mod_auth_ldap.c:809: (near initialization for `mod_auth_ldap_cmds[4].cmd_data')
mod_auth_ldap.c:814: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:814: initializer element is not constant
mod_auth_ldap.c:814: (near initialization for `mod_auth_ldap_cmds[5].cmd_data')
mod_auth_ldap.c:825: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:825: initializer element is not constant
mod_auth_ldap.c:825: (near initialization for `mod_auth_ldap_cmds[7].cmd_data')
mod_auth_ldap.c:836: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:836: initializer element is not constant
mod_auth_ldap.c:836: (near initialization for `mod_auth_ldap_cmds[9].cmd_data')
mod_auth_ldap.c:840: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:840: initializer element is not constant
mod_auth_ldap.c:840: (near initialization for `mod_auth_ldap_cmds[10].cmd_data')
mod_auth_ldap.c:845: parse error before `mod_auth_ldap_config_t'
mod_auth_ldap.c:845: initializer element is not constant
mod_auth_ldap.c:845: (near initialization for `mod_auth_ldap_cmds[11].cmd_data')
apxs:Error: Command failed with rc=65536
.
build#
--
Trent MacDougall @ InfoInterActive Corp., An AOL Company
Sr. System Administrator @ 902-832-AOL1
Trent.MacDougall@InfoInterActive.Com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: compiling mod_auth_ldap in apache2
Posted by Zac Stevens <bu...@cryptocracy.com>.
Hi Trent,
On Thu, May 23, 2002 at 09:41:54AM -0300, Trent MacDougall wrote:
> I have finally got mod_ldap compiled by looking thru the archives, but I cannot
> seem to get mod_auth_ldap to compile. I was hoping someone has figured this
> out. I have apache 2.0.36 compiled with ldap (openldap 2.0.23) support on a
> Sun box running Solaris 8. The mod_auth_ldap sources are the latest from the
> CVS repository. Here is the output of the build:
Well I'm having the exact same problem, but I don't have a solution to it
either.
What platform are you building on?
We should perhaps take this to the dev list...
Zac
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org