Updating GLib

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Updating GLib

Post 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?
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Updating GLib

Post 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.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Re: Updating GLib

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Updating GLib

Post 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.
Image
Image
User avatar
ray
Posts: 87
Joined: 20. Mar 2010, 10:28
Location: United Kingdom

Re: Updating GLib

Post by ray »

GSB has packages as well, and i am using them without issues on salix.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Updating GLib

Post 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.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Updating GLib

Post by thenktor »

Indeed. GSB is the simpliest way.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
ZuLuuuuuu
Posts: 19
Joined: 23. Aug 2010, 15:40

Re: Updating GLib

Post by ZuLuuuuuu »

Thank you very much, I updated through GSB as you said.
Post Reply