modcaml
[Top][All Lists]
Advanced

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

[Modcaml] Re: mod_caml w/Apache 2.0


From: Richard Jones
Subject: [Modcaml] Re: mod_caml w/Apache 2.0
Date: Sun, 31 Jul 2005 16:43:08 +0100
User-agent: Mutt/1.3.28i

On Sun, Jul 31, 2005 at 09:53:33AM -0400, Jesse D. Guardiani wrote:
> ocamlc -linkall -custom -g -w s -I /usr/lib/ocaml/site-packages/pcre
> dynlink.cma str.cma pcre.cma unix.cma mod_caml_c.o apache_c.o wrappers.o
> apache.cmo mod_caml_config.cmo mod_caml.cmo cgi_escape.cmo template.cmo
> cgi.cmo -o mod_caml.so \
>   -cclib "-I/usr/include/apache2 -I/usr/lib/ocaml  -L/usr/lib -lpcre -lz
> -lssl -lcrypto -ldl -L/usr/local/apache2/lib -lapr-0 -lgdbm -laprutil-0
> -lxml -lexpat -ldb -lcamlrun -ltermcap -lunix -lstr "
> mod_caml_c.o(.text+0x6a): In function `post_config':
> : undefined reference to `ap_add_version_component'
[...]
> The problem doesn't seem to be that the APR library isn't being loaded,
> but rather that it doesn't contain the symbols in question:
> 
> # nm /usr/lib/libapr-0.a | grep ap_rwrite
> Exit 1
> # nm /usr/lib/libaprutil-0.a | grep ap_rwrite
> Exit 1

Does this symbol occur in any Apache library?  What about libraries in
your /usr/local/apache2/lib directory?

> Out of curiousity, did you do your Apache 2.0 testing on a machine
> that had Apache 1.x also installed? Or maybe the Apache 2.0 API has
> changed recently? I'm wondering how it was possible for you to get it
> compiled.

It been quite a while since I got mod_caml working on Apache 2.  We
are still using Apache 1.3 on our live servers, and I was waiting for
Apache 2.1/2.2 to come along because it includes the PCRE fix, thus
meaning that I don't need to build my own .deb.

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com




reply via email to

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