[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Modcaml] Re: Apache2
From: |
Richard Jones |
Subject: |
[Modcaml] Re: Apache2 |
Date: |
Sat, 19 May 2007 17:40:33 +0100 |
User-agent: |
Mutt/1.5.9i |
On Sat, May 19, 2007 at 04:48:55PM +0100, Joel Reymont wrote:
> Has anyone succeeded in getting mod_caml to run with Apache2?
>
> Was this recently?
>
> I'm building on Mac OSX 10.4.9 and I get the following (obvious)
> errors but once I fix the errors I can run any examples. Apache
> reports error 500 (server error) and nothing shows up in the error log.
Nothing at all? Can you 'strace' the process?
[...]
> gcc -I/usr/local/lib/ocaml -I/usr/local/apache2/include -arch i386 -
> isysroot /Developer/SDKs/MacOSX10.4u.sdk -DSHARED_MODULE -c -o
> mod_caml_c.o mod_caml_c.c
> gcc -I/usr/local/lib/ocaml -I/usr/local/apache2/include -arch i386 -
> isysroot /Developer/SDKs/MacOSX10.4u.sdk -DSHARED_MODULE -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
Looks like they've moved the fields around again.
By luck I've been building OCaml packages for Fedora this weekend and
last. At some point they'll need a package for mod_caml, and Fedora
ships with a recent Apache. So I can take a look at this. Although
it probably won't be for another week or two.
Rich.
--
Richard Jones
Red Hat