Summary: | dev-ml/extlib-1.5 ebuild puts files in wrong directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Noah Ready-Campbell <noah.readcamp> |
Component: | [OLD] Development | Assignee: | Gentoo Team for the ML programming language family <ml> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | noah.readcamp |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Noah Ready-Campbell
2009-05-25 04:06:03 UTC
Actually, moving the .mli and .cmi files didn't fix the problem. After the copy, "open" works fine, but you can't actually use the contents of the modules. I just get "Reference to undefined global `Std'". I think I must be doing something wrong, but it would be pleasant if emerging extlib resulted in a workable library, or maybe further instructions on using it properly. (In reply to comment #1) > Actually, moving the .mli and .cmi files didn't fix the problem. After the > copy, "open" works fine, but you can't actually use the contents of the > modules. I just get "Reference to undefined global `Std'". > > I think I must be doing something wrong, but it would be pleasant if emerging > extlib resulted in a workable library, or maybe further instructions on using > it properly. > Well, in case anyone finds this, you can get extlib to work properly in the top loop like this: ocaml -I `ocamlfind query extlib` extLib.cma You can can get it it work properly with ocamlbuild like this: ocamlbuild -cflags -I,/usr/lib/ocaml/site-packages/extlib/ -lflags -I,/usr/lib/ocaml/site-packages/extlib/ -lib extLib target where target might be something like "test.native", and your working directory for the command has "test.ml" in it. (In reply to comment #2) > ocaml -I `ocamlfind query extlib` extLib.cma yes; thats the point of installing it there, so that ocamlfind (findlib) helps finding it. |