[ghemical-devel] Problems installing (gtkgl)
Tommi Hassinen
thassine at messi.uku.fi
Mon Nov 14 05:43:25 EST 2005
On Fri, 11 Nov 2005, Rocco Moretti wrote:
> Hello All,
>
> I am unable to get ghemical to install on our Linux Mandriva 2005 system. The
> ./configure script fails with the following message:
>
> ...
> checking for gdk_gl_query in -lgtkgl... no
> configure: error: Cannot find gtkgl library
> I've installed all of the gtkgl libraries that come with the distribution,
> but to no effect:
>
> $ ls /usr/lib/*gtkgl*
> /usr/lib/libgtkgl-2.0.a /usr/lib/libgtkgl.la*
> /usr/lib/libgtkgl-2.0.la* /usr/lib/libgtkgl.so@
> /usr/lib/libgtkgl-2.0.so@ /usr/lib/libgtkgl.so.4@
> /usr/lib/libgtkgl-2.0.so.1@ /usr/lib/libgtkgl.so.5@
> /usr/lib/libgtkgl-2.0.so.1.0.0* /usr/lib/libgtkgl.so.5.0.0*
> /usr/lib/libgtkgl.a
You did not mention the version number. The older version 1.02 is a
gnome-1 application and it needs "gtkglarea" while the 1.9x versions
are gtk2 applications and need "libgtkglext". These are the versions that
I have been using:
gtkglarea5 1.2.3-2
gtkglarea5-dev 1.2.3-2
libgtkglext1 1.0.6-2.0.1
libgtkglext1-dev 1.0.6-2.0.1
Installing just the library files (.a or .so) is enough if you just run
binary programs. But for compiling programs from source code this is not
enough and you need to have extra files (header or .h files) for that
task. Often these extra files are packaged in a separate "dev" package;
for example if you have a package
libgtkglext
for the library files, you have to search and install a package
libgtkglext-dev
if you need to compile programs that use libgtkgtlext.
If you have installed the "dev" package (for libgtkgtlext) properly, you
will have a header file "gtkgl.h" installed in your system:
$ locate gtkgl.h
/usr/include/gtkglext-1.0/gtk/gtkgl.h
For gtkglarea the header file is called gtkglarea.h :
$ locate gtkglarea.h
/usr/include/gtkgl/gtkglarea.h
I hope this helps,
Tommi
More information about the ghemical-devel
mailing list