I had this:
ldd /usr/bin/gretl_x11 | grep gtk
    libgtksourceview-2.0.so.0 => /usr/lib/libgtksourceview-2.0.so.0 (0x0000003f6d000000)
    libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x0000003f6d400000)

Alessandro Astuti

Il 29/03/2014 21:01, Allin Cottrell ha scritto:
On Sat, 29 Mar 2014, Alessandro Astuti wrote:

Hi everybody!
I'm running gretl 1.9.14 on debian testing/sid with gnome shell 64 bit. 
Everything works fine except the syntax highlighting. I checked on gretl 
dependencies and I got a very generic gtksourceview.
Can someone tell me which are the right packages to install in order to have 
syntax highlighting on gretl script editor?
The gretl GUI can be compiled against either gtk 2 or gtk 3. The 
requirement for syntax highlighting is that the matching version of 
gtksourceview (2 or 3) is installed. You should be able to tell what gretl 
is compiled against via ldd on gretl_x11. Here, for example, I get from

ldd /path/to/gretl_x11 | grep gtk

the following:

libgtksourceview-2.0.so.0 => /usr/lib/libgtksourceview-2.0.so.0 (0x00007ffb5baf0000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007ffb5b4bd000)

and, when I apply the above to the gtk 3 version:

libgtksourceview-3.0.so.1 => /usr/lib/libgtksourceview-3.0.so.1 (0x00007f6733f84000)
libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007f6733879000)

Allin Cottrell

Gretl-users mailing list