Re: ocaml 3.04 packaging issues ...
On Fri, Dec 21, 2001 at 06:08:57AM +0100, Ralf Treinen wrote:
> > BTW, you would need to depend on the ocalk-base package, but also on the
> > shared stubs libraries of all the non pure ocaml packages you depend on. Maybe
> > in this case, the -base postfix was ill choosen, or we should split off
> > libraries with -runtime or something such, including the shared libraries
> > needed for them.
>
> Does version 3.04-2 of the runtime package contain the libraries that
> are used by the runtime system? bc packages loose a lot of their
> potential advantages when a user needs to install the ocaml development
> package to run them.
I have ready 4 packages, ocaml, ocaml-doc, lablgl and lablgtk.
In the case of libraries, i have a full package and a runtime package with
oinly the dlls, in the same manner as the ocaml-base package.
You can look at the lablgl package for an example on how to do it (you need to
register the dlls subdir with /usr/lib/ocaml/ld.conf, i have a small
postinst/prerm script, which altough not very advanced do the job (just append
the new dir, and remove them trough a grep -v).
Friendly,
Sven Luther
Reply to: