Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello everyone!
I've been bashing my way through a nightmarish installation of GTK, in the hopes of eventually being able to run the newest version of the GIMP. GTK seems to require pango, glib, and atk. I think I've managed to install glib successfully, but pango is giving me issues. using ./configure, I've managed to make it configure successfully.
However, when I type "make," the process is suspiciously short, and ends with a bunch of errors. I'm about as newbie as they come, so I have no idea whatsoever what this error message means, or what I'm supposed to do about it. Has anyone seen anything like this?
also, note that ./configure, make, make install will not get you by for very long ( especially on libraries, which should be installed from where they were originally installed). note also that you'll either have to keep these source directories around or make packages of them if you want to remove them later.
hi
could u pls explain how to install the glib propeprly as per ur earlier mail.
i have installed all the libraries (following) in the path /usr/tools/gtkada
i have installed the glib using " ./configure --prefix=/usr/tools/gtkada "command and then "make" and "make install"
which didnt give any problems .
but when i tried to 'make' the pango it gives error
In file included from ftxopen.h:285,
from ftxopen.c:18:
otlbuffer.h:17:18: glib.h: No such file or directory
In file included from ftxopen.h:285,
from ftxopen.c:18:
otlbuffer.h:23: syntax error before "typedef"
In file included from ftxopen.h:286,
from ftxopen.c:18:
ftxgdef.h:52: syntax error before "struct"
make[4]: *** [ftxopen.lo] Error 1
make[4]: Leaving directory `/usr/tools/gtkada/pango-1.8.0/pango/opentype'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/tools/gtkada/pango-1.8.0/pango'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/tools/gtkada/pango-1.8.0/pango'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/tools/gtkada/pango-1.8.0'
make: *** [all] Error 2
for atk while "make " , error is
../atk/atkobject.h:486: syntax error before "AtkState"
../atk/atkobject.h:489: syntax error before "gpointer"
../atk/atkobject.h:491: syntax error before "gchar"
../atk/atkobject.h:491: warning: type defaults to `int' in declaration of `atk_role_get_name'
../atk/atkobject.h:491: warning: data definition has no type or storage class
../atk/atkobject.h:492: warning: type defaults to `int' in declaration of `gchar'
../atk/atkobject.h:492: syntax error before '*' token
../atk/atkobject.h:498: `atk_object_add_relationship' declared as function returning a function
../atk/atkobject.h:501: `atk_object_remove_relationship' declared as function returning a function
../atk/atkobject.h:502: syntax error before "gchar"
../atk/atkobject.h:502: warning: type defaults to `int' in declaration of `atk_role_get_localized_name'
../atk/atkobject.h:502: warning: data definition has no type or storage class
In file included from atkaction.c:20:
atkaction.h:51: syntax error before "GTypeInterface"
atkaction.h:51: warning: no semicolon at end of struct or union
atkaction.h:54: syntax error before "gint"
atkaction.h:54: `do_action' declared as function returning a function
atkaction.h:55: syntax error before '*' token
atkaction.h:55: warning: type defaults to `int' in declaration of `gint'
atkaction.h:55: `gint' declared as function returning a function
atkaction.h:55: warning: data definition has no type or storage class
atkaction.h:56: syntax error before "gchar"
lot of them in fact!!
my env settings are
LD_LIBRARY_PATH=/usr/local/lib:/usr/tools/gtkada/lib
PKG_CONFIG_PATH=/root/bin:/usr/tools/GtkAda-2.0.0:/usr/tool.........
this is from your above output, condensed down a little. PKG_CONFIG_PATH needs to end with directories named pkgconfig, for example:
you can remove the LD_LIBRARY_PATH, CFLAGS, and LDFLAGS as pkgconfig will set these up automatically once you correct your PKG_CONFIG_PATH env. variable.
what errors did it give? remember when installing to non-standard locations ( like /usr/tools/GtkAda) everything environment wise will have to be set up manually.
while doing "make" for gtkada ,the error it gave was
cd lib-obj; gcc -c -g -O2 -Wall -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/tools/gtkada/include/gtk-2.0 -I/usr/tools/gtkada/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/tools/gtkada/include/atk-1.0 -I/usr/tools/gtkada/include/pango-1.0 -I/usr/include/freetype2 -I.. -fPIC ../misc_extra.c
../misc_extra.c: In function `ada_gtk_combo_box_get_button':
../misc_extra.c:210: structure has no member named `button'
../misc_extra.c: In function `ada_gtk_combo_box_get_arrow':
../misc_extra.c:215: structure has no member named `arrow'
../misc_extra.c: In function `ada_gtk_combo_box_get_frame':
../misc_extra.c:220: structure has no member named `frame'
make[1]: *** [lib-obj/misc_extra.o] Error 1
make[1]: Leaving directory `/usr/tools/gtkada/GtkAda-2.0.0/src'
make: *** [all] Error 2
i checked google for the same.in one of the forums a person had got the same error
and after trying a diffrerent version of gtk he did not have any problem
so i am downloading gtk version 2.6.4
i have deleted the directory of gtk2.6.5 from the /usr/tools/gtkada
would that be ok??
hi, i have done the (that is after deleting the earlier version and installed the new version 2.6.4)
but still the same error persists
cd lib-obj; gcc -c -g -O2 -Wall -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/tools/gtkada/include/gtk-2.0 -I/usr/tools/gtkada/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/tools/gtkada/include/atk-1.0 -I/usr/tools/gtkada/include/pango-1.0 -I/usr/include/freetype2 -I.. -fPIC ../misc_extra.c
../misc_extra.c: In function `ada_gtk_combo_box_get_button':
../misc_extra.c:210: structure has no member named `button'
../misc_extra.c: In function `ada_gtk_combo_box_get_arrow':
../misc_extra.c:215: structure has no member named `arrow'
../misc_extra.c: In function `ada_gtk_combo_box_get_frame':
../misc_extra.c:220: structure has no member named `frame'
make[1]: *** [lib-obj/misc_extra.o] Error 1
make[1]: Leaving directory `/usr/tools/gtkada/GtkAda-2.0.0/src'
make: *** [all] Error 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.