You are not logged in.

#1 2012-10-18 15:09:47

From: Tanzania
Registered: 2012-10-11
Posts: 38

[DELETE] OCaml library packages using ocamlfind

Wrong place for this discussion.  Sorry.

The OCaml Package Guidelines has a suggested PKGBUILD line of:

OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"

which gives a rather ugly error

/home/charles/packages/ocaml-curses/PKGBUILD: line 16: ocamlfind: command not found
==> ERROR: An unknown error has occurred. Exiting...
User defined signal 1

if the user doesn't already have ocaml-findlib installed.  While the user can look at the PKGBUILD and see the make-depends, is there a better way?  I used OCaml for a few years before learning about findlib (or bash scripts) and I suspect some users will assume the package is broken.

I'm new to Arch and considering adopting some of the orphaned OCaml libraries and wondered if there is a nicer way to let the user know exactly what the problem is.

Last edited by Myshkin (2012-10-19 11:08:13)


Board footer

Powered by FluxBB