Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-19-2006, 03:04 AM
|
#1
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Rep:
|
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.
|
|
|
02-19-2006, 09:11 AM
|
#2
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
# removepkg glib
Then download Glib, tar, configure, make, make install or checkinstall.
|
|
|
02-19-2006, 04:52 PM
|
#3
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Original Poster
Rep:
|
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.
|
|
|
02-19-2006, 09:07 PM
|
#4
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
02-20-2006, 01:00 AM
|
#5
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Original Poster
Rep:
|
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.
|
|
|
02-20-2006, 04:19 AM
|
#6
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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?
|
|
|
02-21-2006, 07:12 PM
|
#7
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Original Poster
Rep:
|
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.
|
|
|
02-21-2006, 07:23 PM
|
#8
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
02-21-2006, 11:35 PM
|
#9
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Original Poster
Rep:
|
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.
|
|
|
02-22-2006, 05:14 AM
|
#10
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
02-22-2006, 12:20 PM
|
#11
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
02-22-2006, 12:30 PM
|
#12
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
02-22-2006, 04:59 PM
|
#13
|
Member
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606
Rep:
|
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.
|
|
|
02-22-2006, 10:07 PM
|
#14
|
Member
Registered: Jan 2006
Location: Lexington, KY
Distribution: Arch and a little Slack
Posts: 139
Original Poster
Rep:
|
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.
|
|
|
02-22-2006, 10:30 PM
|
#15
|
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 02:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|