Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 96074 invoked from network); 23 Oct 2007 13:29:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 13:29:52 -0000 Received: (qmail 56327 invoked by uid 500); 23 Oct 2007 13:29:39 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 56107 invoked by uid 500); 23 Oct 2007 13:29:38 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 56098 invoked by uid 99); 23 Oct 2007 13:29:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 06:29:38 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kakibend@gmail.com designates 64.233.184.234 as permitted sender) Received: from [64.233.184.234] (HELO wr-out-0506.google.com) (64.233.184.234) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 13:29:40 +0000 Received: by wr-out-0506.google.com with SMTP id 50so1039436wra for ; Tue, 23 Oct 2007 06:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=3jD45VZCJjRYNx4NpInhkQ7NGWBFflgkCWRLrJuTi24=; b=CmbER2FXxGHeP5VTNxVeyaRVE5BLkO9WIes6aVrsAdxhOspcZ09YyG8mvEAsegYGpcJDuvpTrgrHS9UqmZ2uJ1We2QynOP4WpYb96ZY3vEL1d/MBCwwvCZ1BikuiE99Iw+ZDAjG02OGUxcwI/IErFo4XuOByttIN+XKGdW7E5ag= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=N5swweVqL3U55zYTEEJK+dM5M+mPh/t1+sJgvpObf62qZ0cjaaDA6MM32XhBn5OZ7P0oMS7ec8H0e8tg6Q/uCHUWS9xVq1//V3u6d61U8Tla9JMXbPV4BjPStLNari3ncBZ8W8XIMOfe4B0iHNnv5k/9RN6vC1DYNTYfB8S6llg= Received: by 10.78.140.17 with SMTP id n17mr3996668hud.1193146156833; Tue, 23 Oct 2007 06:29:16 -0700 (PDT) Received: by 10.78.160.20 with HTTP; Tue, 23 Oct 2007 06:29:16 -0700 (PDT) Message-ID: <9dc7421e0710230629t467b08cdkd7d4ddbb4fbf4700@mail.gmail.com> Date: Tue, 23 Oct 2007 15:29:16 +0200 From: "karim Bendadda" To: modules-dev@httpd.apache.org Subject: Have you tried to compile mod_auth_ldap?? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_685_4506855.1193146156820" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_685_4506855.1193146156820 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi everybody, I'm trying to make the mod_auth_ldap.c ( http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap.html). I installed the openldap but I have the same error when doying the make (I think the compilation is ok), Have you any idea??? debian:/usr/local/modauthldap_apache2# make /usr/local/apache2/bin/apxs -c -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_NSLDAP=1 -DHAVE_LDAP=1 -DHAVE_SSL=1 -I/usr/local/iplanet/include mod_auth_ldap.c /usr/local/apache2/build/libtool --silent --mode=compile gcc -prefer-pic -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -O2 -pthread -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/apache2/include -I/usr/local/iplanet/include -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_YP_GET_DEFAULT_DOMAIN=1 -DHAVE_LIBNSL=1 -DHAVE_RES_SEARCH=1 -DHAVE_LIBRESOLV=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DHAVE_NSLDAP=1 -DHAVE_LDAP=1 -DHAVE_SSL=1 -c -o mod_auth_ldap.lo mod_auth_ldap.c && touch mod_auth_ldap.slo mod_auth_ldap.c:61:24: error: apr_compat.h: No such file or directory mod_auth_ldap.c: In function 'create_ldap_auth_dir_config': mod_auth_ldap.c:322: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c:337: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_ldap_server': mod_auth_ldap.c:364: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_ldap_deref': mod_auth_ldap.c:403: warning: initialization makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_base_dn': mod_auth_ldap.c:445: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_sub_dn': mod_auth_ldap.c:453: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_bind_dn': mod_auth_ldap.c:461: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_bind_pass': mod_auth_ldap.c:469: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_ca_cert_db_path': mod_auth_ldap.c:491: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_uid_attr': mod_auth_ldap.c:501: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_uid_attr_alt': mod_auth_ldap.c:509: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_group_attr': mod_auth_ldap.c:517: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'set_ldapauthoritative': mod_auth_ldap.c:525: warning: initialization makes pointer from integer without a cast mod_auth_ldap.c: At top level: mod_auth_ldap.c:558: error: expected expression before 'ldap_auth_config_rec' mod_auth_ldap.c:558: error: initializer element is not constant mod_auth_ldap.c:558: error: (near initialization for 'ldap_auth_cmds[0].cmd_data') mod_auth_ldap.c:631: error: expected expression before 'ldap_auth_config_rec' mod_auth_ldap.c:631: error: initializer element is not constant mod_auth_ldap.c:631: error: (near initialization for 'ldap_auth_cmds[14].cmd_data') mod_auth_ldap.c:635: error: expected expression before 'ldap_auth_config_rec' mod_auth_ldap.c:635: error: initializer element is not constant mod_auth_ldap.c:635: error: (near initialization for 'ldap_auth_cmds[15].cmd_data') mod_auth_ldap.c:652: error: expected expression before 'ldap_auth_config_rec' mod_auth_ldap.c:652: error: initializer element is not constant mod_auth_ldap.c:652: error: (near initialization for 'ldap_auth_cmds[17].cmd_data') mod_auth_ldap.c:656: error: expected expression before 'ldap_auth_config_rec' mod_auth_ldap.c:656: error: initializer element is not constant mod_auth_ldap.c:656: error: (near initialization for 'ldap_auth_cmds[18].cmd_data') mod_auth_ldap.c: In function 'check_user_authentication': mod_auth_ldap.c:1348: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c: In function 'check_user_authorization': mod_auth_ldap.c:1751: error: 'ap_array_header_t' undeclared (first use in this function) mod_auth_ldap.c:1751: error: (Each undeclared identifier is reported only once mod_auth_ldap.c:1751: error: for each function it appears in.) mod_auth_ldap.c:1751: error: expected expression before ')' token mod_auth_ldap.c:1751: error: invalid operands to binary * mod_auth_ldap.c:1751: error: called object '' is not a function mod_auth_ldap.c:1751: warning: assignment from incompatible pointer type mod_auth_ldap.c:1927: warning: assignment makes pointer from integer without a cast mod_auth_ldap.c:2035: warning: assignment makes pointer from integer without a cast apxs:Error: Command failed with rc=65536 Thank you for help. ------=_Part_685_4506855.1193146156820--