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

Re: [Bug 446940] ocaml / omake failing with 34 GB problem

On Tue, May 20, 2008 at 01:44:35PM -0700, Shivkumar Chandrasekaran wrote:
> Thanks for all your efforts. I am waiting for omake to appear on
> testing-updates.

Yeah, this is not very cool.  I've just asked a question about why
this package is still stuck after 3 days ...


> In the meantime I have a question. I am very used to Godi. So, for
> example, to use the camlimages library, I know that when I compile
> against it I can just use ocamlfind and give a single -package argument
> to link to it properly.
> If I install the findlib package in Core 9 will I get similar
> functionality? My impression is no.

Answer is yes ... for some packages.

When I published the second set of OCaml packaging guidelines[1] I
made the use of a META file for findlib mandatory.  So all new library
packages should be findlib compatible, and 'ocamlfind -package ...'
should just work.  This is also in alignment with Debian's packaging

However there are still some old packages which don't conform to this
guideline, and it seems like ocaml-camlimages is one of those.  I've
just filed a bug[2].  If you find any other packages like this, please
also file bugs and assign them to me.

This shouldn't stop you from using the package though.  You can just
compile it like this:

 ocamlfind ocamlc -package any,other,pkgs -I +camlimages foo.ml
 ocamlfind ocamlc -package any,other,pkgs -linkpkg -I +camlimages \
   ci_core.cma foo.cmo

It's a lot easier with proper findlib support though :-)

> What do you recommend as the best
> approach to using complex (as far as linking goes) librraies in Core 9.
> Camlimages itself recommends including their recommended file inside my
> Makefile. However that is not going to work easily with omake.

I'm afraid I don't know very much about omake, but I'm sure a command
such as the above would work.


[1] http://fedoraproject.org/wiki/Packaging/OCaml#head-acc221f1e087bc5ce860356b34823bb447da5df5

[2] https://bugzilla.redhat.com/show_bug.cgi?id=447627

Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.

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