02-13-2005, 07:04 PM | #1 (permalink) |
Insane
|
Some more Linux questions
This is based off of SuSE 9.1 Pro. Firstly, I'm trying to install gAIM from the downloaded source. I ran into some problems with gcc not being installed, etc, but I got that fixed. Then I ran into a problem with Glib not being version 2.0.0 or better, so I went out and downloaded the source for that and compiled it successfully. So now to the current problem...
It runs pkg-config --modversion glib-2.0 and it finds that the version is 2.2.3, when in fact I have installed 2.6.2. The configure find this and complains that it doesn't know which is correct. Glib installed its stuff into /usr/local/lib. And the configure error suggests I point LD_PKGCONFIG_PATH to that location. As it is, LD_CONFIG_PATH (or LD_PKGCONFIG_PATH, I can't remember which) points to /opt/gnome/lib/pkgconfig, which I would guess is the problem. So how do I set the variable to the correct path? Secondly, is there anywhere I can go to find a step-by-step instruction guide for switching from KDE to something else? And also, what would be good to switch to? |
02-13-2005, 07:24 PM | #2 (permalink) |
Insane
|
Well, nevermind. As I'm typing this, everything is compiling for gAIM just fine. I must have misread the error message, as it said it need the GTK+ development files. So I installed them, and everything is hunky-dory. The second question, about changing from KDE if I so desire, still stands, however. Thanks.
|
02-13-2005, 07:26 PM | #3 (permalink) | |
Insane
|
And I now run into this problem:
Quote:
|
|
02-13-2005, 07:56 PM | #4 (permalink) |
Insane
|
One last note: I tried compiling from the cvs source. The compilation does fine, but once again, when I try to do the "make" step, I get an error in the same spot. The cvs source spits out a ton more errors, but it is at the same point in the "make" as before. Still not sure what to do.
|
02-13-2005, 08:07 PM | #5 (permalink) |
Pure Chewing Satisfaction
Location: can i use bbcode [i]here[/i]?
|
any particular reason why you're trying to compile the source manually?
Suse comes with a package manager, and I'd be surprised if Gaim isn't in there. And do you have yum or apt-get installed? You can use those to get programs, such as gaim, along with all it's pre-reqs. You could try 'yum install gaim' or 'apt-get install gaim' and see what happens...
__________________
Greetings and salutations. |
02-13-2005, 08:10 PM | #6 (permalink) | |
Pure Chewing Satisfaction
Location: can i use bbcode [i]here[/i]?
|
Quote:
__________________
Greetings and salutations. |
|
02-13-2005, 08:54 PM | #7 (permalink) |
Psycho
Location: i live in the state of denial
|
I'm not sure about how to change the window manager in SuSe, but I think you should run the xwmconfig script from the commandline. If the script isn't there, just try startx<windowmanagername>. Example: startxxfce4 or startxfluxbox. As far as a new environment goes, I am a total freak for xfce. The new version (4.2) is absolutely wonderful, and I think it uses between 15% and 20% of the resources kde uses. You can even run most kde-specific programs under xfce. If you're running a slower computer, you might want to try something even more stripped down, such as fluxbox, blackbox, or fvwm. You just have to find the windowmanager that's right for you.
|
02-14-2005, 03:19 AM | #8 (permalink) |
Junkie
Location: San Francisco
|
They're linker errors...some library with the function g_return_if_fail_warning is not being linked. I searched, and apparently it has to do with having two glibs installed. This is related to why pkg-config --modversion glib-2.0 returned 2.2.3 when you just installed 2.6.2. What's probably happening is you have 2.2.3 in /usr and 2.6.2 in /usr/local. gaim is being compiled with the 2.6.2 versions of the headers with g_return_if_fail_warning, but ld (the linker) is getting the 2.2.3 version of the library where it's not defined.
The best solution is to get rid of one of the two versions entirely, most likely the old one if you can, which you can probably do with the package manager. In the meantime, you can get the gaim binary built by pointing ld to the right library. Generally the configure script deals with getting the right version of a library, and yes, as it suggests, setting that environment variable will probably solve the problem. I think the one you're looking for is PKG_CONFIG_PATH. If you're using bash (you probably are), do export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig but I've never used pkg-config so I can't help much with the details on that one. You might also try export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" but I don't think it will matter because the linker is already getting that -L/usr/local/lib. Of course, as was suggested you can probably just use the package manager to get the gaim binaries without having to screw around with this stuff as it can be really complicated and confusing. Upgrading libraries tends to cause problems especially when they come from different places.
__________________
"Prohibition will work great injury to the cause of temperance. It is a species of intemperance within itself, for it goes beyond the bounds of reason in that it attempts to control a man's appetite by legislation, and makes a crime out of things that are not crimes. A Prohibition law strikes a blow at the very principles upon which our government was founded." --Abraham Lincoln Last edited by n0nsensical; 02-14-2005 at 03:27 AM.. |
02-14-2005, 03:48 AM | #9 (permalink) |
Human
Administrator
Location: Chicago
|
I honestly don't have the time to read this whole post right now, but it's important that I note it is Gaim or gaim, but NOT GAIM or gAIM. It may seem trivial to you, but keeping people from spelling it those ways is what keeps the project alive. (You guessed it, you can thank AOL for that one.)
__________________
Le temps détruit tout "Musicians are the carriers and communicators of spirit in the most immediate sense." - Kurt Elling |
02-14-2005, 06:45 AM | #10 (permalink) | |
Insane
|
Before I head to class, I wanted to reply with what I've tried. The SuSE package manager does has a Gaim package in there, but it is version 0.7-something, and I would like the updated version. The PKG_CONFIG_PATH, when echoed out, is pointed to the right places. I used the package manager to remove all 2.2.3 version of glib. I did ldconfig just to be safe, and I then did the configure, which also went through fine. The make, however, results in the same errors as before.
And Secret, I actually do use Gaim rather than gAIM most of the time, but I wasn't sure which was the correct one, so I took a stab at it. Good to know what the correct way to type it is. Oh, and here's the error code: Quote:
|
|
02-14-2005, 03:40 PM | #12 (permalink) |
Junkie
Location: San Francisco
|
Well it's still the same thing, there's no point posting more errors =P
First, since you uninstalled the old library, have you tried rm -rfing the whole thing and starting from scratch? That might fix it easily. Someone else might know another easy way to fix it, but I don't because I don't have any of this stuff installed and haven't used most of it (I avoid GTK like the plague). What I would do is link it manually, but again that can be confusing if you don't know what you're doing: The most important parts are the command that's being run to link and the path to the library. It looks like it has /usr/local/lib in the in search path already and it's linking with -lglib-2.0, so I suspect either the library isn't in /usr/local/lib at all or it's not named libglib-2.0.so. Do a find /usr/local -name libglib There should be the library somewhere like /usr/local/lib/somedir/libglib.so.2.6.2 or whatever version and path. There should also be links pointing to that library like libglib.so.2.6, libglib.so.2 and libglib.so. That directory needs to be given to ld like -L/usr/local/lib/somedir and the lib needs to be given -lglib, or whatever the name and path are. Then if something in the command needs to be modified, just copy and paste it into a command prompt, modify it, and run it yourself.
__________________
"Prohibition will work great injury to the cause of temperance. It is a species of intemperance within itself, for it goes beyond the bounds of reason in that it attempts to control a man's appetite by legislation, and makes a crime out of things that are not crimes. A Prohibition law strikes a blow at the very principles upon which our government was founded." --Abraham Lincoln |
Tags |
linux, questions |
|
|