[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20
From: |
Richard Jones |
Subject: |
Re: [Modcaml] CocanWiki: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", "") |
Date: |
Thu, 1 May 2008 20:35:15 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Thu, May 01, 2008 at 02:04:47PM -0500, Robert Fischer wrote:
> Okay, making some progress on compiling this all, but I've encountered a
> problem when building CocanWiki itself:
>
> dev ~/wrk/cocanwiki/dev/trunk: make
> make -C scripts all
> make[1]: Entering directory `/home/robert/wrk/cocanwiki/dev/trunk/scripts'
> 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"
> -c lib/cocanwiki_server_settings.ml `ocamlc -where`/apache/apache.cma
> File "lib/cocanwiki_server_settings.ml", line 44, characters 6-68:
> Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", "")
>
> Preprocessor error
> make[1]: *** [lib/cocanwiki_server_settings.cmo] Error 2
> make[1]: Leaving directory `/home/robert/wrk/cocanwiki/dev/trunk/scripts'
> make: *** [all] Error 2
>
> That's a fascinating error, since it looks like it's failing to connect
> to a socket or something. Any help on what it's expecting to find?
You got a PostgreSQL server running somewhere?
It needs to be able to access the cocanwiki database while compiling
(see extensive documentation for PG'OCaml on this subject for why).
It'll connect to a local database automatically, but otherwise you'll
need to set the $PGHOST etc. variables (see psql manpage).
Rich.
--
Richard Jones
Red Hat
- [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 <=
- 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, 2008/05/01
- [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