Re: Build fails if gtksourceview is installed

Jacques Garrigue <[email protected]> Tue, 02 Mar 2010 10:11:47 +0900 (JST)
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Message-ID <[email protected]>
From: Serban Udrea <[email protected]>
> I tried to build lablgtk 2.14.0 with gtksourceview 2.6.0 on a
> slackware 13.0 box and the build failed with:
> 
> [...]
> 
> ocamlc.opt   -w s -c gtkSourceView2.ml
> File "gtkSourceView2.ml", line 192, characters 34-68:
> Error: Unbound type constructor SourceViewEnums.source_search_flag
> make[1]: *** [gtkSourceView2.cmo] Error 2
> make[1]: Leaving directory `/tmp/SBo/lablgtk-2.14.0/src'
> make: *** [world] Error 2

Sorry for the very slow answer:
there is a small bug in lablgtk-2.14.0, that GSourceView2 refers to
SourceViewEnums instead of SourceView2Enums.
You just have to fix it by hand in gSourceView2.ml and
gSourceView2.mli.

Should release a fixed version soon (with other additions).

Jacques