modcaml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Modcaml] Building mod_caml on Debian testing (Apache2)


From: Tim Lavoie
Subject: [Modcaml] Building mod_caml on Debian testing (Apache2)
Date: Thu, 24 Aug 2006 23:50:01 -0500

i all,

I'd like to use mod_caml on Debian testing, with Debian's Apache2
packages if possible. I've snagged mod_caml from CVS, tweaked the
Makefile.config file somewhat, but now get the errors below. They
don't appear when compiling for Apache 1.3, so I can at least use that
for the time being, if not by preference.

Oh, and I did see the experimental Debian packages, though it
mentioned that they require Apache 1.3. Would that still be the case?


          Thanks,
          Tim


sed  -e 's/@PACKAGE@/mod_caml/' \
                -e 's/@VERSION@/1.4.0/' \
                < META.in > META
sed -e 's,@APACHELIBDIR@,/usr/lib/apache2/modules,g' \
        -e 's,@PACKAGE@,mod_caml,g' \
        -e 's,@VERSION@,1.4.0,g' \
        -e 's,@APACHE_MAJOR@,2,g' \
        < config.h.in > config.h
sed -e 's,@APACHELIBDIR@,/usr/lib/apache2/modules,g' \
        -e 's,@OCAMLLIBDIR@,/usr/lib/ocaml/3.09.2,g' \
        -e 's,@OCAMLAPACHEDIR@,/usr/lib/ocaml/3.09.2/apache,g' \
        -e 's,@PACKAGE@,mod_caml,g' \
        -e 's,@VERSION@,1.4.0,g' \
        -e 's,@APACHE_MAJOR@,2,g' \
        -e 's,@MAILER_PATH@,/usr/sbin/sendmail,g' \
        -e 's,@MAILER_ARGS@,-t -i,g' \
        < mod_caml_config.ml.in > mod_caml_config.ml
sed -e 's,@APACHELIBDIR@,/usr/lib/apache2/modules,g' < 500mod_caml.info.in > 
500mod_caml.info
gcc -I/usr/lib/ocaml/3.09.2 -I/usr/include/apache2 -I/usr/include/apr-0 -pipe 
-I/usr/include/xmltok
+-I/usr/include/openssl -Wall -g -O2    -c -o mod_caml_c.o mod_caml_c.c
mod_caml_c.c:62: warning: ignoring #pragma init
gcc -I/usr/lib/ocaml/3.09.2 -I/usr/include/apache2 -I/usr/include/apr-0 -pipe 
-I/usr/include/xmltok
+-I/usr/include/openssl -Wall -g -O2    -c -o apache_c.o apache_c.c
apache_c.c: In function 'mod_caml_table_clear':
apache_c.c:81: warning: implicit declaration of function 'apr_clear_table'
apache_c.c: In function 'mod_caml_connection_ap_auth_type':
apache_c.c:237: error: 'conn_rec' has no member named 'ap_auth_type'
apache_c.c:237: error: 'conn_rec' has no member named 'ap_auth_type'
apache_c.c: In function 'mod_caml_connection_user':
apache_c.c:239: error: 'conn_rec' has no member named 'user'
apache_c.c:239: error: 'conn_rec' has no member named 'user'
apache_c.c:239: warning: control reaches end of non-void function
apache_c.c: In function 'mod_caml_connection_ap_auth_type':
apache_c.c:237: warning: control reaches end of non-void function
make: *** [apache_c.o] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]