Re: Trouble finding a library which *is* installed
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jul 04, 2015 at 10:29:22AM -0400, Hendrik Boom [email protected] [ocaml_beginners] wrote: > On Sat, Jul 04, 2015 at 06:19:02AM +0000, Gage Peterson [email protected] [ocaml_beginners] wrote: > > Use opam. It will work out much better. Also I don't think you should ever > > have to run it from root. > > Running it from root was a mistake. And the way it affected the > results was a clue that the Debian-installed packages weren't even > being seen. THough first I misinterpreted the clue. > > I'll try opam. That should work. > > Will report back. OK. Did opam install lablgtk and opam install cairo Now I get hendrik@notlookedfor:~/dv/fun/group/toy/cairo_toy$ ocamlfind ocamlopt -package cairo -package lablgtk2 toy_maker.mli toy_maker.ml my_interactor.ml demo_toy.ml -o runme File "demo_toy.ml", line 1: Error: No implementations provided for the following modules: GMain referenced from toy_maker.cmx, my_interactor.cmx GPack referenced from toy_maker.cmx GWindow referenced from toy_maker.cmx GBin referenced from toy_maker.cmx Cairo referenced from my_interactor.cmx GMisc referenced from toy_maker.cmx hendrik@notlookedfor:~/dv/fun/group/toy/cairo_toy$ Can I conclude that I'm now getting as far as the linker? How do I go abbout getting it to actually *find* these modules? -- hendrik