[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Modcaml] "apache.cma"?
From: |
Robert Fischer |
Subject: |
[Modcaml] "apache.cma"? |
Date: |
Thu, 01 May 2008 17:58:13 -0500 |
User-agent: |
Thunderbird 2.0.0.12 (Macintosh/20080213) |
Where is the "apache.cma" supposed to come from? I've got a
"apache/apache.cmi" in the std-lib dir, but no "*.cma". Did I miss
something in my mod_caml install?
~~ Robert
dev ~/wrk/cocanwiki/dev/trunk: ls `ocamlc -where`/apache
META apache.mli cgi.mli cgi_escape.cmo cgi_escape.mli
mod_caml.cmi mod_caml_config.cmi registry.mli template.cmo template.mli
apache.cmi cgi.cmi cgi_escape.cmi cgi_escape.cmx cgi_escape.o
mod_caml.mli registry.cmi template.cmi template.cmx template.o
dev ~/wrk/cocanwiki/dev/trunk: env PGHOST=localhost PGUSER=www-data
PGDATABASE=cocanwiki make | grep apache.cma
ocamlfind ocamlc -package pcre,extlib,netstring,calendar -I
/home/robert/lib/pgocaml -I /usr/local/godi/lib/ocaml/pkg-lib/csv -I
+pcre -I +extlib -I /usr/local/godi/lib/ocaml/std-lib/apache -I lib -pp
"camlp4o -I +pcre -I +extlib -I /home/robert/lib/pgocaml
/usr/local/godi/lib/ocaml/std-lib/str.cma
/usr/local/godi/lib/ocaml/std-lib/unix.cma
/usr/local/godi/lib/ocaml/std-lib/../pkg-lib/pcre/pcre.cma
/usr/local/godi/lib/ocaml/std-lib/../pkg-lib/extlib/extLib.cma
/usr/local/godi/lib/ocaml/std-lib/../pkg-lib/calendar/calendar.cma
/usr/local/godi/lib/ocaml/pkg-lib/csv/csv.cma pgocaml.cma pa_pgsql.cmo"
-a -o lib/cocanwiki.cma `ocamlc -where`/apache/apache.cma
lib/cocanwiki_version.cmo lib/cocanwiki_extensions.cmo
lib/cocanwiki_date.cmo lib/cocanwiki_files.cmo
lib/cocanwiki_server_settings.cmo lib/cocanwiki_strings.cmo
lib/cocanwiki_create_host.cmo lib/wikilib.cmo lib/cocanwiki_template.cmo
lib/cocanwiki_images.cmo lib/cocanwiki_ok.cmo lib/cocanwiki.cmo
lib/cocanwiki_links.cmo lib/cocanwiki_ext_calendar.cmo
lib/cocanwiki_emailnotify.cmo lib/cocanwiki_pages.cmo
lib/cocanwiki_diff.cmo lib/cocanwiki_mail.cmo
lib/cdvmm_phone_numbers.cmo lib/cocanwiki_func_shell.cmo
Cannot find file /usr/local/godi/lib/ocaml/std-lib/apache/apache.cma
make[1]: *** [lib/cocanwiki.cma] Error 2
make: *** [all] Error 2
Robert Fischer wrote:
> PostgreSQL is running locally, and I've created the cocanwiki database.
> Still had problems. I set PGHOST to "localhost", and it's started to
> gripe about the password being wrong for my current username. That's at
> least progress!
>
> ~~ Robert.
>
> Richard Jones wrote:
>> On Thu, May 01, 2008 at 02:39:26PM -0500, Robert Fischer wrote:
>>> Yup, it's up and running.
>>>
>>> Is it doing anything different from the "psql" defaults?
>>>
>>> And what's the empty string in the last element of the (CstTag21,
>>> "connect", "") tuple mean?
>>> List of databases
>>> Name | Owner | Encoding
>>> -----------+----------+-----------
>>> postgres | postgres | SQL_ASCII
>>> robert | postgres | SQL_ASCII
>>> template0 | postgres | SQL_ASCII
>>> template1 | postgres | SQL_ASCII
>> One of those is a cocanwiki database? It's expecting a database
>> called 'cocanwiki' and that is hard-coded into at least one of the
>> Makefiles (script/Makefile for one, perhaps others).
>>
>> The database needs to be created with '-E UNICODE' option as well.
>>
>> And of course it has to be populated with the cocanwiki tables
>> (schema/cocanwiki.sql).
>>
>> Is PostgreSQL running locally? If not you'll need to set PGHOST.
>>
>> Rich.
>>
>
>
> _______________________________________________
> Modcaml mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/modcaml
- [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Robert Fischer, 2008/05/01
- Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Richard Jones, 2008/05/01
- Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Robert Fischer, 2008/05/01
- Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Richard Jones, 2008/05/01
- Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Robert Fischer, 2008/05/01
- Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", ""), Richard Jones, 2008/05/01
- [Modcaml] "apache.cma"?,
Robert Fischer <=
- [Modcaml] Re: "apache.cma"?, Richard Jones, 2008/05/01
- Re: [Modcaml] Re: "apache.cma"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] Re: "apache.cma"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] Re: "apache.cma"?, Richard Jones, 2008/05/02
- [Modcaml] "Printer"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] "Printer"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] "Printer"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] "Printer"?, Robert Fischer, 2008/05/02
- Re: [Modcaml] "Printer"?, Richard Jones, 2008/05/03
- Re: [Modcaml] "Printer"?, Richard Jones, 2008/05/03