From: John Goerzen <jgoerzen@complete.org>
To: Richard Jones <rich@annexia.org>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released
Date: Wed, 4 Aug 2004 09:50:31 -0500 [thread overview]
Message-ID: <20040804145031.GA25094@excelhustler.com> (raw)
In-Reply-To: <20040804100452.GA7557@annexia.org>
On Wed, Aug 04, 2004 at 11:04:52AM +0100, Richard Jones wrote:
> OCamlDBI is a simple, abstracted database interface for OCaml
> programs.
>
> http://savannah.nongnu.org/download/modcaml/
> http://www.merjis.com/developers/mod_caml/html-dbi/
>
> Main changes in version 0.9.8:
I can't build it with the Postgresql driver (CVS version had the same
problem):
ocamlc -g -I /usr/lib/ocaml/3.08/pcre -I /usr/lib/ocaml/3.08/postgres -I /usr/lib/ocaml/3.08/postgresql -I /usr/lib/ocaml/3.08/mysql -I /usr/lib/ocaml/3.08/perl -I /usr/lib/ocaml/3.08/sqlite -c dbi_postgres.mli
ocamlc -g -I /usr/lib/ocaml/3.08/pcre -I /usr/lib/ocaml/3.08/postgres -I /usr/lib/ocaml/3.08/postgresql -I /usr/lib/ocaml/3.08/mysql -I /usr/lib/ocaml/3.08/perl -I /usr/lib/ocaml/3.08/sqlite -c dbi_postgres.ml
ocamlc -g -I /usr/lib/ocaml/3.08/pcre -I /usr/lib/ocaml/3.08/postgres -I /usr/lib/ocaml/3.08/postgresql -I /usr/lib/ocaml/3.08/mysql -I /usr/lib/ocaml/3.08/perl -I /usr/lib/ocaml/3.08/sqlite -c dbi_postgresql.ml
File "dbi_postgresql.ml", line 223, characters 14-29:
Unbound value Connection.exec
make[1]: *** [dbi_postgresql.cmo] Error 2
>
> * Dbi.Factory has been *removed*.
>
> * Drivers have been removed from the monolithic dbi.cma. This requires
> a small change in the way programs are linked. You must now link with
> dbi.cma, and the particular driver(s) you need, eg:
>
> ocamlc [...] -I +dbi dbi.cma dbi_postgres.cmo test.ml
>
> Rich.
>
> --
> Richard Jones. http://www.annexia.org/ http://www.j-london.com/
> Merjis Ltd. http://www.merjis.com/ - improving website return on investment
> http://www.winwinsales.co.uk/ - CRM improvement consultancy
>
> -------------------
> To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
> Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2004-08-04 14:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-04 10:04 Richard Jones
2004-08-04 14:50 ` John Goerzen [this message]
2004-08-04 17:16 ` Richard Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040804145031.GA25094@excelhustler.com \
--to=jgoerzen@complete.org \
--cc=caml-list@inria.fr \
--cc=rich@annexia.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).