[gtkada] gtkada Digest, Vol 74, Issue 5
Rob Groen
robgr at xs4all.nl
Wed Jan 5 12:02:03 CET 2011
Hello,
Recently I started using Ubuntu, now using 9.10, and can't get GtkAda
installed
The steps I have taken:
- downloaded the 2009 GPL GPS en en GtkAda for from the Libre site
(x86-Linux)
- using synaptic package manager I installed libgtk2.0-dev
- unpacked gtk+-2.14.5-i686-pc-linux-gnu.tgz in <mydir>
- unpacked GtkAda-gpl-2.14.0.tgz in a temp dir and did
<tempdir>/configure --prefix=<mydir>
- this resulted in errors stating that libpng12.pc could not be found
(although this is available in /usr/lib/pkgconfig, but not in
<mydir>/lib/pkg-config)
If I do NOT unpack gtk+-2.14.5-i686-pc-linux-gnu.tgz, than the
./configure finished Ok, but the subsequent "$ make" resulted in errors
when it got to:
"make -C gtkextra
make[2]: Entering directory
`/home/rob/Downloads/unpack/gtkada/GtkAda-2.14.0/src/gtkextra'
gcc -c -g -O2 -D_REENTRANT -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC
gtkitementry.c -o obj/gtkitementry.o
gtkitementry.c: In function 'gtk_entry_real_insert_text':
gtkitementry.c:696: error: 'GtkEntry' has no member named 'n_bytes'
gtkitementry.c:696: error: 'GtkEntry' has no member named 'text_size'
... repeated multiple times ...
make[2]: *** [obj/gtkitementry.o] Error 1
make[2]: Leaving directory
`/home/rob/Downloads/unpack/gtkada/GtkAda-2.14.0/src/gtkextra'
make[1]: *** [gtkextra] Error 2
make[1]: Leaving directory
`/home/rob/Downloads/unpack/gtkada/GtkAda-2.14.0/src'
make: *** [src] Error 2
I have tried setting PKG_CONFIG_PATH so that it includes both the
pkgconfig from the <midir>/lib/pkg-config and /usr/lib/pkgconfig, but
then a new error appears:
"Package 'pthread-stubs', required by 'XCB', not found";
so, added "/usr/share/pkgconfig" to PKG_CONFIG_PATH. No the result is:
*** 'gtk-config --version' returned 2.14.5, but GTK+ (2.18.3)
I don't know what the "right" version is, so I don't know if I must
modify /etc/ld.so.conf or not.
Now I am stuck. What am I missing when building GtkAda on Linux?
Regards
Rob
More information about the gtkada
mailing list