[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libdbi-ocaml depends on X, other things



On Tue, May 18, 2004 at 08:20:28AM -0500, John Goerzen wrote:
> On Tue, May 18, 2004 at 01:01:11PM +0100, Richard Jones wrote:
> > I've just installed libdbi-ocaml to replace my homegrown packages.  I
> > think because of the odbc dependencies, it depends on large chunks of
> > X.  This was what it installed:
> 
> Well, if doesn't *directly* depend on X :-)  In fact:
> 
> Depends: libpcre-ocaml, ocaml-base-3.07
> 
> As for libdbi-ocaml-dev, perhaps that is where this is coming from; your
> complaint perhaps rests with one of the database libraries:
> 
> Depends: libdbi-ocaml (= 0.9.3.cvs.55-2), libpcre-ocaml-dev,
> ocaml-findlib, ocaml-3.07, libperl4caml-ocaml-dev (>= 0.3.7-1),
> libpgsql-ocaml-dev (>= 20040120-2), libmysql-ocaml-dev (>= 1.0.3-1),
> libocamlodbc-ocaml-dev (>= 2.7-1), libsqlite-ocaml-dev

Well, I guess that's probably right!

But can libdbi-ocaml be changed so that it doesn't depend on the
database libraries directly (but 'suggests' them)?  It ought to still
work, surely, unless you actually tried to use dbi_xxx in which case
it should correctly give an error.

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
"One serious obstacle to the adoption of good programming languages is
the notion that everything has to be sacrificed for speed. In computer
languages as in life, speed kills." -- Mike Vanier



Reply to: