Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old April 30th, 2008, 10:28 AM
kaarthikeyapreyan's Avatar
Member
 
Join Date: Apr 2007
Posts: 74
Default GTK installation problem

The gtk version which tried to install is 2.12.9
The Glib version is 2.16.3

Expand|Select|Wrap|Line Numbers
  1. /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
  2. 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
  3. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext'
  4. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message_expr'
  5. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message'
  6. collect2: ld returned 1 exit status
  7. make[4]: *** [gtk-query-immodules-2.0] Error 1
  8. make[4]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  9. make[3]: *** [all-recursive] Error 1
  10. make[3]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  11. make[2]: *** [all] Error 2
  12. make[2]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  13. make[1]: *** [all-recursive] Error 1
  14. make[1]: Leaving directory `/home/numenta/gtk+-2.12.9'
  15. 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
Reply
  #2  
Old May 2nd, 2008, 04:01 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 2,003
Default

Quote:
Originally Posted by kaarthikeyapreyan
The gtk version which tried to install is 2.12.9
The Glib version is 2.16.3

Expand|Select|Wrap|Line Numbers
  1. ...
  2. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_dpgettext'
  3. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message_expr'
  4. ./.libs/libgtk-x11-2.0.so: undefined reference to `g_assertion_message'
  5. collect2: ld returned 1 exit status
  6. make[4]: *** [gtk-query-immodules-2.0] Error 1
  7. make[4]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  8. make[3]: *** [all-recursive] Error 1
  9. make[3]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  10. make[2]: *** [all] Error 2
  11. make[2]: Leaving directory `/home/numenta/gtk+-2.12.9/gtk'
  12. make[1]: *** [all-recursive] Error 1
  13. make[1]: Leaving directory `/home/numenta/gtk+-2.12.9'
  14. 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
Reply
  #3  
Old May 28th, 2008, 07:17 AM
kaarthikeyapreyan's Avatar
Member
 
Join Date: Apr 2007
Posts: 74
Default

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
Reply
  #4  
Old May 28th, 2008, 09:32 AM
micmast's Avatar
Member
 
Join Date: Mar 2008
Location: Belgium
Posts: 77
Default

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
Reply
  #5  
Old June 2nd, 2008, 04:39 PM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 2,003
Default

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
Expand|Select|Wrap|Line Numbers
  1. 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
Reply
  #6  
Old June 17th, 2008, 07:00 AM
kaarthikeyapreyan's Avatar
Member
 
Join Date: Apr 2007
Posts: 74
Default

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
Expand|Select|Wrap|Line Numbers
  1. 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
Reply
  #7  
Old June 17th, 2008, 07:08 AM
kaarthikeyapreyan's Avatar
Member
 
Join Date: Apr 2007
Posts: 74
Default

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
Reply
  #8  
Old June 17th, 2008, 10:12 AM
Nepomuk's Avatar
Moderator
 
Join Date: Aug 2007
Location: Germany
Age: 21
Posts: 2,003
Default

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
Expand|Select|Wrap|Line Numbers
  1. user@computer:~$ su
  2. 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
Reply
  #9  
Old July 10th, 2008, 05:51 AM
kaarthikeyapreyan's Avatar
Member
 
Join Date: Apr 2007
Posts: 74
Default

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 ?
Reply
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

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 network members.
Post your question now . . .
It's fast and it's free

Popular Articles