[Gretl-users] cvs builds on kubuntu edgy

Ignacio Diaz-Emparanza ignacio.diaz-emparanza at ehu.es
Wed Feb 7 11:01:18 EST 2007


El Miércoles, 7 de Febrero de 2007 16:39, Allin Cottrell escribió:
> On Wed, 7 Feb 2007, Sven Schreiber wrote:
> > Ignacio Diaz-Emparanza schrieb:
> >> I tried to install gretl from CVS but in running "make" I am obtaining
> >> an error. It seems that the file glib.h cannot be found. I have this
> >> file in /usr/include/glib-2.0/
> >
> > I'm also on kubuntu edgy, and I have another glib.h (much bigger) in
> > /usr/include/glib-1.2/glib.h. Don't know if that's relevant, though.
>
> Ooh, no, glib-1.2/glib.h is from the old version of glib and gretl
> can't use it.  The one under glib-2.0 is right.
>
> Ignacio, here are a couple of things to check.
>
> * After doing ./configure, take a look in lib/Makefile and
> see what is recorded there (not far from the top) as the value
> of GLIB_CFLAGS .
>
> * Check the response to the command
>
>   pkg-config --cflags glib-2.0
>
> Allin.

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"

In lib/Makefile now I am seeing 
"GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include "
and a line "have_gtk = no".

The command: pkg-config --cflags glib-2.0
responds:  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
and I also tried: pkg-config --cflags gtk-1.2
obtaining: 
"Package gtk-1.2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-1.2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-1.2' found"

---
Ignacio Díaz-Emparanza










More information about the Gretl-users mailing list