[Gretl-users] cvs builds on kubuntu edgy

Allin Cottrell cottrell at wfu.edu
Wed Feb 7 12:55:00 EST 2007


On Wed, 7 Feb 2007, Ignacio Diaz-Emparanza wrote:

> El Miércoles, 7 de Febrero de 2007 16:39, Allin Cottrell escribió:
>>
>> * Check the response to the command
>>
>>   pkg-config --cflags glib-2.0
>
> Well, I don't know exactly how I did it, but this error is 
> solved. Now I have a similar problem with file gtk.h
>
> I may find gtk.h in /usr/include/gtk-1.2/gtk/
> but in running "make" I have the error
> "excel_import.c:24:21: error: gtk/gtk.h: No such file or directory"

There are two main sets of Gtk and Glib libraries in circulation. 
One set has is labeled "1.2".  It is very old, in fact it is 
effectively obsolete.  Gretl can't use glib-1.2, nor can it use 
gtk-1.2.  You need "2.0" versions of both libraries for gretl.

The magic to see if the "developer" packages for these are on your 
system is

pkg-config --cflags glib-2.0
pkg-config --cflags gtk+-2.0

If the second command doesn't turn anything up, it will be 
necessary to install the gtk 2.0 "dev" package.

Anyone want to do a "CVS gretl on Ubuntu HOWTO"?  I recently got a 
new PC at home, installed Ubuntu, and built CVS gretl (of 
course!).  So I know it can be done OK.  But unfortunately I was 
too impatient to make a detailed note of all the packages I had to 
install first.

Allin.


More information about the Gretl-users mailing list