GTK installation problem  | Member | | Join Date: Apr 2007 Location: India
Posts: 101
| |
The gtk version which tried to install is 2.12.9
The Glib version is 2.16.3 - /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -o gtk-query-immodules-2.0 queryimmodules.o libgtk-x11-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la
-
gcc -g -O2 -Wall -o .libs/gtk-query-immodules-2.0 queryimmodules.o ./.libs/libgtk-x11-2.0.so -L/home/numenta/glib-2.16.3/glibconf/lib /home/numenta/gtk+-2.12.9/gdk/.libs/libgdk-x11-2.0.so -L/usr/X11R6/lib -L/home/numenta/pixman-0.10.0/pixmanconf/lib -L/home/numenta/cairo-1.6.4/cairoconf/lib -L/home/numenta/pango-1.19.4/pangoconf/lib -L/home/numenta/glib-2.14.6/glib/lib -L/home/numenta/atk-1.18.0/atk/lib /home/numenta/atk-1.18.0/atk/lib/libatk-1.0.so ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so ../gdk/.libs/libgdk-x11-2.0.so -lXrandr -lXinerama /home/numenta/pango-1.19.4/pangoconf/lib/libpangocairo-1.0.so /home/numenta/pango-1.19.4/pangoconf/lib/libpangoft2-1.0.so /home/numenta/pango-1.19.4/pangoconf/lib/libpango-1.0.so /home/numenta/glib-2.14.6/glib/lib/libgobject-2.0.so /home/numenta/glib-2.14.6/glib/lib/libgmodule-2.0.so /home/numenta/glib-2.14.6/glib/lib/libglib-2.0.so /home/numenta/cairo-1.6.4/cairoconf/lib/libcairo.so -lSM -lICE -lpng12 /home/numenta/pixman-0.10.0/pixmanconf/lib/libpixman-1.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so -lXcursor -lXrender -lXext -lXcomposite -lXdamage -lXfixes -lX11 /home/numenta/gtk+-2.12.9/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /home/numenta/glib-2.16.3/glibconf/lib/libgmodule-2.0.so -ldl /home/numenta/glib-2.16.3/glibconf/lib/libgobject-2.0.so /home/numenta/glib-2.16.3/glibconf/lib/libglib-2.0.so -lm -Wl,--rpath -Wl,/home/numenta/gtk+-2.12.9/gtkconf/lib -Wl,--rpath -Wl,/home/numenta/atk-1.18.0/atk/lib -Wl,--rpath -Wl,/home/numenta/pango-1.19.4/pangoconf/lib -Wl,--rpath -Wl,/home/numenta/glib-2.14.6/glib/lib -Wl,--rpath -Wl,/home/numenta/cairo-1.6.4/cairoconf/lib -Wl,--rpath -Wl,/home/numenta/pixman-0.10.0/pixmanconf/lib -Wl,--rpath -Wl,/home/numenta/glib-2.16.3/glibconf/lib
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext'
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message_expr'
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message'
-
collect2: ld returned 1 exit status
-
make[4]: *** [gtk-query-immodules-2.0] Error 1
-
make[4]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[3]: *** [all-recursive] Error 1
-
make[3]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[2]: *** [all] Error 2
-
make[2]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[1]: *** [all-recursive] Error 1
-
make[1]: Leaving directory `/home/numenta/gtk+-2.12.9'
-
make: *** [all] Error 2
How do I have to resolve this one ??
Where is the actual declaration for g_assertion_message ??
My configure was successful with its target as X11
|  | Moderator | | Join Date: Aug 2007 Location: Germany
Posts: 2,466
| | | re: GTK installation problem Quote:
Originally Posted by kaarthikeyapreyan The gtk version which tried to install is 2.12.9
The Glib version is 2.16.3 - ...
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext'
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message_expr'
-
./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message'
-
collect2: ld returned 1 exit status
-
make[4]: *** [gtk-query-immodules-2.0] Error 1
-
make[4]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[3]: *** [all-recursive] Error 1
-
make[3]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[2]: *** [all] Error 2
-
make[2]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
-
make[1]: *** [all-recursive] Error 1
-
make[1]: Leaving directory `/home/numenta/gtk+-2.12.9'
-
make: *** [all] Error 2
How do I have to resolve this one ??
Where is the actual declaration for g_assertion_message ??
My configure was successful with its target as X11 Hi!
I've often had similar errors when libraries where missing. Try installing libraries like "libgtk2.0-0" and "libgtk2.0-dev" (or as you're trying to install GTK 2.12, choose the appropriate ones) and then try again.
Greetings,
Nepomuk
|  | Member | | Join Date: Apr 2007 Location: India
Posts: 101
| | | re: GTK installation problem Quote:
Originally Posted by nepomuk Hi!
I've often had similar errors when libraries where missing. Try installing libraries like "libgtk2.0-0" and "libgtk2.0-dev" (or as you're trying to install GTK 2.12, choose the appropriate ones) and then try again.
Greetings,
Nepomuk My first question is where do i get these development files
I had a copy downloaded from the debian site which contained a folder usr with files
usr/lib
usr/bin
usr/share
usr/include
where do i deploy these into my gtk source
|  | Familiar Sight | | Join Date: Mar 2008 Location: Belgium
Posts: 136
| | | re: GTK installation problem
usually you can set the location folder when you run ./configure
do ./configure --help to get the right information
you should get something like this:
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
so when you want to install the program into a directory X you do
./configure --prefix=/X
when you do make install, it will copy the files into the right directory
|  | Moderator | | Join Date: Aug 2007 Location: Germany
Posts: 2,466
| | | re: GTK installation problem Quote:
Originally Posted by kaarthikeyapreyan My first question is where do i get these development files
I had a copy downloaded from the debian site which contained a folder usr with files
usr/lib
usr/bin
usr/share
usr/include
where do i deploy these into my gtk source So, are you using Debian then? In that case, it's much easier:
Open a terminal, become root (with su) and then type - apt-get install libgtk2.0-0 libgtk2.0-dev
(Or whatever version, you want to install.)
That should do the hard work for you.
Greetings,
Nepomuk
|  | Member | | Join Date: Apr 2007 Location: India
Posts: 101
| | | re: GTK installation problem Quote:
Originally Posted by nepomuk So, are you using Debian then? In that case, it's much easier:
Open a terminal, become root (with su) and then type - apt-get install libgtk2.0-0 libgtk2.0-dev
(Or whatever version, you want to install.)
That should do the hard work for you.
Greetings,
Nepomuk Nope I don use debian I use SUSE Linux i was not able to get hold of the development files for this platform thats the reason why i got it from the debian site. Since it was a source download i thought it would not cause much of a difference
|  | Member | | Join Date: Apr 2007 Location: India
Posts: 101
| | | re: GTK installation problem Quote:
Originally Posted by micmast usually you can set the location folder when you run ./configure
do ./configure --help to get the right information
you should get something like this:
Installation directories:
--prefix=PREFIX install architecture-independent files in PREFIX
[/usr/local]
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
[PREFIX]
so when you want to install the program into a directory X you do
./configure --prefix=/X
when you do make install, it will copy the files into the right directory The development package did not contain the configure file for me to do all these operations it just had a folder named usr and the subdirectories as specified earlier
|  | Moderator | | Join Date: Aug 2007 Location: Germany
Posts: 2,466
| | | re: GTK installation problem Quote:
Originally Posted by kaarthikeyapreyan The development package did not contain the configure file for me to do all these operations it just had a folder named usr and the subdirectories as specified earlier Well, I am guessing, that the files theoretically should just be copied into the root directory with - user@computer:~$ su
-
root@computer:/home/user# cp -r usr /
however I am not sure of this plus the expected filetree might be a bit different under SuSE than under Debian. So I wouldn't try that without great caution and before I've tried all other possibilities.
I expect, Yast doesn't offer GTK 2.12.9 by itself? Otherwise you'd probably taken that route in the first place.
Did you download your files from the GTK website and follow the Installation Guide there? Are all dependencies installed, that that site lists?
Greetings,
Nepomuk
|  | Member | | Join Date: Apr 2007 Location: India
Posts: 101
| | | re: GTK installation problem Quote:
Originally Posted by nepomuk Are all dependencies installed, that that site lists? The installation was carried out in the same way as given in the GTK site
My configuration was successful, its only my make that errors out doesn't that mean that all my dependencies was upto the benchmark ?
|  | Similar Unix / Linux / BSD bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,419 network members.
|