Re: Problem compiling sourceview

Benjamin Monate <[email protected]> Thu, 27 Aug 2009 08:33:51 +0200
Newsgroups gmane.comp.lang.ocaml.lib.gtk
Organization CEA
Message-ID <[email protected]>
Hi,

Xingyuan Zhang a écrit :
> It seem that LablGTK does not support gtksourceview-2.0 which is the 
> current version on Fedora 10.

You are correct.

> I have tried modifying ./configure by replace the string 
> "gtksourceview-1.0" to "gtksourceview-2.0". 
> The configure can now find gtksourceview-2.0. But when I type "make", 
> the compilation failed when processing
> the ml_gtksurceview.c wraper file.
>  
> Is there any quick fix for this problem. I need to run another tool 
> depending on lablgtk's sourceview feature.

No: you cannot just relink with gtksourceview 2.x.
At this time only gtksourceview 1.x is interfaced in lablgtk.
There are significant changes to gtksourceview between 1.x and 2.x.
As soon as someone will provide the new stubs for gtksourceview 2.x, 
they will be reviewed and integrated.
For the time being, you can always install both gtksourceview versions 
side by side : just install the Fedora 10 package package called 
gtksourceview 
https://admin.fedoraproject.org/pkgdb/packages/name/gtksourceview

Cheers,
-- 
Benjamin Monate
Head of Software Safety Lab.  CEA-LIST/DRT/DTSI/SOL/LSL