* [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released
@ 2004-08-04 10:04 Richard Jones
2004-08-04 14:50 ` John Goerzen
0 siblings, 1 reply; 3+ messages in thread
From: Richard Jones @ 2004-08-04 10:04 UTC (permalink / raw)
To: caml-list
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:
* 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released
2004-08-04 10:04 [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released Richard Jones
@ 2004-08-04 14:50 ` John Goerzen
2004-08-04 17:16 ` Richard Jones
0 siblings, 1 reply; 3+ messages in thread
From: John Goerzen @ 2004-08-04 14:50 UTC (permalink / raw)
To: Richard Jones; +Cc: caml-list
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released
2004-08-04 14:50 ` John Goerzen
@ 2004-08-04 17:16 ` Richard Jones
0 siblings, 0 replies; 3+ messages in thread
From: Richard Jones @ 2004-08-04 17:16 UTC (permalink / raw)
To: John Goerzen, debian-ocaml-maint; +Cc: caml-list
On Wed, Aug 04, 2004 at 09:50:31AM -0500, John Goerzen wrote:
[...]
Version 0.9.9 is available:
http://savannah.nongnu.org/download/modcaml/
This fixes:
* Install *.o files to allow native linking to work.
* Fixed Dbi_postgresql driver to work against Markus Mottl's Postgresql
module v.1.3.3.
Rich.
--
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
PTHRLIB is a library for writing small, efficient and fast servers in C.
HTTP, CGI, DBI, lightweight threads: http://www.annexia.org/freeware/pthrlib/
-------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-04 17:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 10:04 [Caml-list] ANNOUNCE: ocamldbi 0.9.8 released Richard Jones
2004-08-04 14:50 ` John Goerzen
2004-08-04 17:16 ` Richard Jones
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox