Re: trouble with 2.16 installation

Bruno Guillaume <[email protected]> Fri, 24 Aug 2012 23:45:25 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
On Aug 24, 2012, at 6:45 PM, Adrien wrote:

> It's a bit weird that the filename ends in ".so". As far as I know, it
> should be .dylib on your platform. Can you attach (or upload
> somewhere) the full build log?

I've put the full log of the command "sudo port install lablgtk2 +rsvg" on a web page: http://wikilligramme.loria.fr/doku.php?id=lablgtk2

(the +rsvg force the compilation, without it port only install an already compiled code) 

As it is said in the log, adding add /opt/local/lib/ocaml/site-libs/stublibs to CAML_LD_LIBRARY_PATH solves the first issue (running lablgtk2) but I don't understand the difference MacPorts VS install from sources.


> Can you add -verbose to the invocation? It will give details.

The second issue is still there. The command "ocamlfind ocamlc -verbose -package lablgtk2 test.ml"

returns

Effective set of compiler predicates: pkg_lablgtk2,autolink,byte
+ ocamlc.opt -verbose -I /opt/local/lib/ocaml/site-lib/lablgtk2 test.ml
File "test.ml", line 1, characters 0-10:
Error: Unbound module GMain
ocamlc.opt returned with exit code 2


> Also, you will (i.e. later) need to add -linkpkg to the command-line
> 
> 
> Regards,
> Adrien Nader

_______________________________________________
Lablgtk-list mailing list
[email protected]
https://lists.ocamlcore.org/cgi-bin/listinfo/lablgtk-list