[gtkada] Building on Fedora 8
R. B. Love
rblove_lists at comcast.net
Tue Mar 4 03:20:49 CET 2008
My goal is to eventually build GPS for my system but I'm hung up on
getting the SVN source of GTKADA to build. I'll take all advice gladly.
When I run configure, I get this result:
checking for pkg-config... /usr/bin/pkg-config
checking for GTK - version >= 2.2.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log
for the
*** exact error that occured. This usually means GTK was incorrectly
installed
*** or that you have moved GTK since it was installed.
As far as I know, the default GTK+ that came with the system is here
untouched:
rlove at falcon> rpm -q gtk2
gtk2-2.12.5-1.fc8
gtk2-2.12.5-1.fc8
rlove at falcon> rpm -q gtk2-devel
gtk2-devel-2.12.5-1.fc8
gtk2-devel-2.12.5-1.fc8
The gtk software is installed and at a version > 2.2.0.
The config.log tells me:
configure:2985: checking for GTK - version >= 2.2.0
configure:3072: gcc -o conftest -g -O2 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/cairo conftest.c
-L/usr/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 >&5
configure: In function 'main':
configure:3034: warning: incompatible implicit declaration of built-in
function 'exit'
/usr/gnat/libexec/gcc/i686-pc-linux-gnu/4.1.3/ld: cannot find -lcairo
collect2: ld returned 1 exit status
When I look for cairo, I clearly see it:
rlove at falcon> locate libcairo
/usr/lib/libcairo.so.2
/usr/lib/libcairo.so.2.11.7
/usr/lib64/libcairo.so
/usr/lib64/libcairo.so.2
/usr/lib64/libcairo.so.2.11.7
/usr/lib64/libcairojava-1.0.so
/usr/lib64/libcairojni-1.0.so
/usr/lib64/libcairomm-1.0.so.1
/usr/lib64/libcairomm-1.0.so.1.1.0
Now I'm also told to see the INSTALL file. I don't see anything there
applicable. I don't have any prior version of gtkada installed, I have
the required tools such as GNU Make, pango, atk etc.
Does anybody see what is wrong or what else I can try? Why won't
configure run successfully?
Thanks in advance for all pointers.
More information about the gtkada
mailing list