See attached patch... At the moment camomile compiles but silently does not install: >>> Install camomile-0.5.3 into /var/tmp/portage/camomile-0.5.3/image/ category dev-ml /usr/sbin/ebuild.sh: line 23: findlib_src_install: command not found man: prepallstrip: strip: >>> Completed installing into /var/tmp/portage/camomile-0.5.3/image/ BTW: Shouldn't portage always complain about any "command not found" error in ebuilds? Wouln't that reduce the probability of inconspicuous bugs? I think it's not hard to implement just a wrapper for command calls ...
Created attachment 39324 [details, diff] add inherit findlib
Hmmm... Now camomile installs fine ... but "ocamlc -package camomile ..." does not work. Somehow the modules are not found although they exist in "/usr/lib/ocaml/site-packages/camomile/": ocamlfind ocamlopt -package camomile -linkpkg unix.cmxa threads.cmxa -thread -o mlEfil node.cmx test.cmx No implementations provided for the following modules: UReStr referenced from node.cmx URe referenced from node.cmx UTF8 referenced from node.cmx
Most likely the second problem comes from camomile not supporting parallel builds, both errors are now fixed in CVS (-r1 in case any broken install has gone undetected). I also added 0.6.0 (just released) as unstable.
Even without threads or as bytecode it doesn't work. Could it be a findlib problem? $ ocamlfind ocamlc -package camomile -linkpkg -o mlEfil node.cmo test.cmo Error on dynamically loaded library: dllcamomile.so: cannot open shared object file: No such file or directory