English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Problem building mod_caml with Apache2
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-03-28 (00:48)
From: Joel Reymont <joelr1@g...>
Subject: Problem building mod_caml with Apache2
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

Googling reveals that ap_auth_type is part of the Apache 1.3 API.

Am I missing something?

N.B.: The Apache2/PCRE bug that the Wiki refers to has been fixed.

	Thanks, Joel

--
http://wagerlabs.com/