Page 1 of 1

Updating GLib

Posted: 23. Aug 2010, 15:47
by ZuLuuuuuu
Hello,

I was having some problems with GTK+ bindings of GNU Smalltalk and thought maybe it is because of the GTK+ version of my system (Salix OS 13.1.1 64-Bit) since other people don't have any problem with the bindings. I downloaded the latest source for GLib (2.24.2) and GTK+ (2.20.1) from GTK+ web site. I did:

./configure
make
make install (as root)

on GLib folder, all went very well but when I do:

pkg-config --modversion glib-2.0

It still shows the old version: 2.22.5. What should I do to update GLib and GTK+ on my Salix box?

Re: Updating GLib

Posted: 23. Aug 2010, 16:21
by thenktor
Better try to use the Slackbuilds from here:
http://slackware.osuosl.org/slackware_source/l/glib2/
http://slackware.osuosl.org/slackware_source/l/gtk+2/

Download all the files from these folders, download the new source packages and then edit the version in the Slackbuilds.

Re: Updating GLib

Posted: 23. Aug 2010, 19:15
by ZuLuuuuuu
Thanks,

GTK+ installation gave me an error at the configure level (when executing .SlackBuild file):

./configure: line 25075: syntax error near unexpected token `1.11'
./configure: line 25075: `GTK_DOC_CHECK(1.11)'
make: *** No targets specified and no makefile found. Stop.
make: *** No targets specified and no makefile found. Stop.

although doing ./configure separately works fine :(

Note: I'm using GTK+ 2.20.1 tarball.

Re: Updating GLib

Posted: 23. Aug 2010, 19:25
by gapan
Maybe it would be easier for you to get the glib and gtk+2 packages from the slackbuilds project. They offer newer versions than the ones in salix/slackware 13.1.x.

Re: Updating GLib

Posted: 23. Aug 2010, 22:46
by ray
GSB has packages as well, and i am using them without issues on salix.

Re: Updating GLib

Posted: 24. Aug 2010, 06:57
by gapan
ray wrote:GSB has packages as well, and i am using them without issues on salix.
Oops. That's what I meant. I meant to write "gnome slackbuilds" and I only wrote "slackbuilds". Duh.

Re: Updating GLib

Posted: 24. Aug 2010, 11:30
by thenktor
Indeed. GSB is the simpliest way.

Re: Updating GLib

Posted: 24. Aug 2010, 20:14
by ZuLuuuuuu
Thank you very much, I updated through GSB as you said.