From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id BCA72BC6B for ; Wed, 28 Mar 2007 13:37:18 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2SBbEmo011546 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 28 Mar 2007 13:37:18 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1HWWSl-0002Kd-00; Wed, 28 Mar 2007 12:37:11 +0100 Date: Wed, 28 Mar 2007 12:37:11 +0100 To: Joel Reymont Cc: caml-list@inria.fr Subject: Re: [Caml-list] Problem building mod_caml with Apache2 Message-ID: <20070328113711.GB1202@furbychan.cocan.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at discorde with ID 460A536A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; 0100,:01 gcc:01 usr:01 lib:01 ocaml:01 rec':01 rec':01 'user':01 'user':01 makefile:01 config:01 28,:98 wrote:01 caml-list:01 caml:02 On Wed, Mar 28, 2007 at 01:48:46AM +0100, Joel Reymont wrote: > Folks, > > I'm getting the following error while building mod_caml against Apache2: > > gcc -I/usr/local/lib/ocaml -I/opt/local/apache2/include -c -o > apache_c.o apache_c.c > apache_c.c: In function 'mod_caml_connection_ap_auth_type': > apache_c.c:237: error: 'struct conn_rec' has no member named > 'ap_auth_type' > apache_c.c:237: error: 'struct conn_rec' has no member named > 'ap_auth_type' > apache_c.c: In function 'mod_caml_connection_user': > apache_c.c:239: error: 'struct conn_rec' has no member named 'user' > apache_c.c:239: error: 'struct conn_rec' has no member named 'user' > make: *** [apache_c.o] Error 1 Which version of Apache are you using? Also have you made the appropriate changes to Makefile.config (setting APACHE_MAJOR, APXS, etc.)? To be honest I only ever use Apache 1.3. Rich. -- Richard Jones Red Hat