LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2006, 03:04 AM   #1
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Rep: Reputation: 15
Gaim + lib issues


I'm trying to install the Gaim 2.0 beta since I've totally screwed my system up with swaret again, but that's a story for another day. When I do a ./configure I get this message:
Code:
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.6.6)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
And when I try make I get:
Code:
make: *** No targets specified and no makefile found.  Stop.
I'm still having trouble getting my head around dependencies and how to solve them. On the rare occasions that I'm able to find the files/libraries that I *think* I need I have no idea what to do with them so I think my latest issue here is bigger than just Gaim.
 
Old 02-19-2006, 09:11 AM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
# removepkg glib
Then download Glib, tar, configure, make, make install or checkinstall.
 
Old 02-19-2006, 04:52 PM   #3
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Original Poster
Rep: Reputation: 15
I still get the same first error message when I ./configure.

I also get the same error when I try to use make.
Code:
make: *** No targets specified and no makefile found.  Stop.
 
Old 02-19-2006, 09:07 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Make will not work because of the configure error. If you havent already tried it do 'slackpkg install glib' as root and see if that helps

You may want to use pkgtool to check what versions of glib u have and remove them first tho

Last edited by dive; 02-19-2006 at 09:10 PM.
 
Old 02-20-2006, 01:00 AM   #5
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive
'slackpkg install glib' as root and see if that helps
I did that and it said:
Code:
bash: slackpkg: command not found
And I am logged in as root.

I used pkgtool and removed the glib that was by itself (there were lots of others that were glib2* and glib* that I didnt' touch though).

Then I downloaded the source from the link above did ./configure, make, make install, and checkinstall (which walked me through turning it into a tgz package I guess? ) and I still get the same error:
Code:
make: *** No targets specified and no makefile found.  Stop
when I use make in the directory I have all the Gaim source files in.
 
Old 02-20-2006, 04:19 AM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
You only get a makefile when ./configure has worked. Do you still get glib error after installing the glib libs from link above?

Also did you do make install as root?
 
Old 02-21-2006, 07:12 PM   #7
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive
You only get a makefile when ./configure has worked.
Didn't know that. Now I do.

Quote:
Originally Posted by dive
Do you still get glib error after installing the glib libs from link above?
Yes. I completely removed glib using pkgtool, then downloaded the latest tar.gz from the link, ./configure, make, makeinstall, check install and I still get errors when I ./configure gaim.

Quote:
Originally Posted by dive
Also did you do make install as root?
Yes. I did it from a terminal window in KDE, but that's never been a problem before.
 
Old 02-21-2006, 07:23 PM   #8
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
There are 5 GLib packages here:

http://slackware.it/en/pb/browse.php...nt/slackware/l

I would try installing all of them and retry.

BTW about installing from source - it's better to './configure' and 'make' as user, and only do the 'make (un)install' as root. That way you don't get files with only root privileges, but you need to be root to copy some files into certains dirs.

If you have tried to ./configure as root it would be a good idea to rm the dir and untar again as user

Last edited by dive; 02-21-2006 at 07:24 PM.
 
Old 02-21-2006, 11:35 PM   #9
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Original Poster
Rep: Reputation: 15
OK, I think I'm gettin closer .. maybe. Now when I run ./configure in the directory I have the gaim source files in I get this:
Code:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.
So I went to www.gtk.org and got gtk+-2.8.9 and when I did a ./configure in that directory I got:
Code:
configure: error: Package requirements (glib-2.0 >= 2.7.1    atk >= 1.0.1    pango >= 1.9.0    cairo >= 0.9.2) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the BASE_DEPENDENCIES_CFLAGS and BASE_DEPENDENCIES_LIBS environment variables
to avoid the need to call pkg-config.  See the pkg-config man page for
more details.
Soooo, I downloaded and installed pango-1.10.0, cairo-1.0.2, atk-1.10.3, and glib-2.9.0. I didn't get any error message when I installed any of those four packages, so I *think* my problem is the PKG_CONFIG_PATH environment variable whatever that is. When I do:
Code:
echo $PKG_CONFIG_PATH
I get a blank line. I assume that that is supposed to be something other than a blank line, right?

On the bright side I'm indirectly answering my own question about how to keep my computer up to date.
 
Old 02-22-2006, 05:14 AM   #10
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
After installing libs you may need to run /sbin/ldconfig as root

I seem to remember Gaim is a pain to compile but you are on the way. PKG_CONFIG_PATH should point to /usr/lib/pkgconfig. Maybe 'export PKG_CONFIG_PATH=/usr/lib/pkgconfig' may help, but I don't remember what I did to get it to work.
 
Old 02-22-2006, 12:20 PM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
There was no trouble for me to compile gaim in new 10.2 machine. You said there were others glib(2) packages. Could you post names of them?

Last edited by Alien_Hominid; 02-22-2006 at 12:26 PM.
 
Old 02-22-2006, 12:30 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
glib-1.2.10-i386-2
glib2-2.8.6-i486-1
glibc-2.3.6-i486-2
glibc-i18n-2.3.6-noarch-2 (international so don't need it)
glibc-profile-2.3.6-i486-2

http://slackware.it/en/pb/browse.php...nt/slackware/l

They should all be installed with Slack but I guess OP didn't

Last edited by dive; 02-22-2006 at 12:31 PM.
 
Old 02-22-2006, 04:59 PM   #13
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Based on those dependencies, Gaim 2.0 must depend on GTK 2.8.

This is NOT going to be an easy upgrade. I do not know myself if your apps will break from 2.6 --> 2.8 upgrade. I do know that only gtk 2.8 depends on cairo though.
 
Old 02-22-2006, 10:07 PM   #14
SaintsOfTheDiamond
Member
 
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dive
After installing libs you may need to run /sbin/ldconfig as root

I seem to remember Gaim is a pain to compile but you are on the way. PKG_CONFIG_PATH should point to /usr/lib/pkgconfig. Maybe 'export PKG_CONFIG_PATH=/usr/lib/pkgconfig' may help, but I don't remember what I did to get it to work.
Did that and nothing changed.

Quote:
Originally Posted by dive
glib-1.2.10-i386-2
glib2-2.8.6-i486-1
glibc-2.3.6-i486-2
glibc-i18n-2.3.6-noarch-2 (international so don't need it)
glibc-profile-2.3.6-i486-2
I have all of those except the international one, but my glibc-profile-* is the same except it's -1 not -2. I'm not sure if that's an issue or not.

Quote:
Originally Posted by dive
They should all be installed with Slack but I guess OP didn't
They may have been, but I've been tinkering around with my setup a lot and I've messed it up more than a couple times with SWareT.

Quote:
Originally Posted by liquidtenmilion
This is NOT going to be an easy upgrade. I do not know myself if your apps will break from 2.6 --> 2.8 upgrade. I do know that only gtk 2.8 depends on cairo though.
According to pkgtool I have both gtk+-1.2.10-i386-3 and gtk+-2.8.12-i486-1 installed.
 
Old 02-22-2006, 10:30 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
And it still says it cant find gtk 2.8 after doing ldconfig?

Have you check that these are true: glib-2.0 >= 2.7.1 atk >= 1.0.1 pango >= 1.9.0 cairo >= 0.9.2 ?

One or more must be false

Last edited by dive; 02-22-2006 at 10:38 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
" '/lib/cpp' fails sanity check" when trying to install GAIM BoardinBum Linux - Newbie 2 08-13-2004 09:39 AM
snes9x lib and ELF header issues jasondcater Linux - Games 2 05-13-2004 06:28 PM
Gaim issues Rhiannon Fedora 7 03-11-2004 12:55 AM
/lib/modules Issues w/ New Kernel peace Linux - General 2 01-03-2004 05:50 PM
Lib issues linuxchick Linux - Software 5 03-04-2002 03:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration