[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 11:03:15AM -0500, John Goerzen wrote:
> On Tue, May 18, 2004 at 03:59:14PM +0100, Richard Jones wrote:
> > On Tue, May 18, 2004 at 08:20:28AM -0500, John Goerzen wrote:
> > > 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.
> 
> That's already how it works.  I think you may be confusing libdbi-ocaml
> with libdbi-ocaml-dev.

Ah yes, probably.  Unfortunately on my webserver I need both of these
packages, because we compile all our CGI scripts on the server rather
than distributing binaries.  Why does the -dev package require these
extra packages?

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://www.j-london.com/
Merjis Ltd. http://www.merjis.com/ - improving website return on investment
'There is a joke about American engineers and French engineers. The
American team brings a prototype to the French team. The French team's
response is: "Well, it works fine in practice; but how will it hold up
in theory?"'



Reply to: