[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | John Goerzen <jgoerzen@c...> |
| Subject: | Re: [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released |
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