You are not logged in.

#1 2008-04-15 23:44:50

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

[SOLVED] Gtk2 headers missing?

Hi,

Short version: What do I need to install for the gtk2 headers? I had them before but apparently no longer do. Gtk2 doesn't seem to be the correct package, and I'm blind or there's no headers package in sight.

Long version: A ways back I compiled and installed the pidgin plugin 'musictracker' from aur without issue. I tried to update funpidgin today, but it failed and I didn't want to bother fixing whatever was wrong with it, so i removed it and installed normal pidgin and a plugin to resize the windows (a .so i put into /usr/lib/purple-2). However, upon trying to install musictracker again now from aur, it fails with a nag about missing the gtk2 headers. Google only finds ubuntu stuff, which I already know would be to install the -dev files. I tried pacman -Sy gtk gtk2, reinstalling, nothing. I'm puzzled, because I didn't have this problem just a few weeks ago with it (though it may have been an older version of musictracker).  Looking through the pacman -Ss list for gtk2 or header files (-dev on debian), I can't find what I need, though I suspect they're supposed to be install by simple gtk2 package.

Thank you for your time smile

Last edited by FrozenFox (2008-04-16 01:13:42)

Offline

#2 2008-04-16 00:13:02

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: [SOLVED] Gtk2 headers missing?

pacman -Ql gtk2 | grep include

That shows a lot of gtk2 header files...

Offline

#3 2008-04-16 00:38:48

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [SOLVED] Gtk2 headers missing?

Hrmmmm. Very interesting. I checked that, and the files are indeed on my system. Then it appears there's something wrong with that plugin or its pkgbuild.. but I dont see anything wrong with the pkgbuild itself. X_x

It doesn't get past the ./configure stage. Perhaps there's a way to force it to recognize the headers directory?

Last edited by FrozenFox (2008-04-16 00:41:34)

Offline

#4 2008-04-16 00:48:28

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [SOLVED] Gtk2 headers missing?

:S upon compiling this w/o the pkgbuild, I seem to get the very same problem I had compiling funpidgin that I gave up on. In config.log, it has this somewhere in the middle:

/usr/bin/ld: errno@@GLIBC_PRIVATE: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in /usr/bin/../lib/libz.so.1

I've reinstalled glibc and zlib, also no good.

In the config.log, it also says:

*** GTK+ 2.0 is required to build MusicTracker; please make sure you have the
*** GTK+ development headers installed. The latest version of GTK+ is always
*** available at http://www.gtk.org/.

Zlib is one of the dependencies of a problematic file I'm having for apache in another thread too, libxml2 (causing apache to fail)..

I'm confused.

The full config.log is here, if it would be of any help.

http://pastebin.com/m639c18e2

Last edited by FrozenFox (2008-04-16 01:03:22)

Offline

#5 2008-04-16 01:13:30

FrozenFox
Member
From: College Station, TX
Registered: 2008-03-23
Posts: 422
Website

Re: [SOLVED] Gtk2 headers missing?

! I figured out the problem. A few days ago, I installed dpkg from aur and got .deb installs to work using alien-extra.tar.gz from ftp://ykbsb2.yk.psu.edu/pub/alien/. However, I didn't notice it had zlib and some symlinks for it there, and so I stupidly replaced zlib. pacman -Sf didnt fix it. Removing /usr/lib/libz.so, /usr/lib/libz.so.1, /usr/lib/libz.so.1.0.4 and THEN pacman -Sf zlib fixed the issue. Oops. I must correct a comment I made on the dpkg page right away..

For some reason, this caused the setup to fail at finding the gtk2 headers. o.o

Last edited by FrozenFox (2008-04-16 09:54:41)

Offline

Board footer

Powered by FluxBB