LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GTK+ 2.2 & Gaim 0.62 (https://www.linuxquestions.org/questions/linux-software-2/gtk-2-2-and-gaim-0-62-a-59002/)

Bolt 05-10-2003 01:01 AM

GTK+ 2.2 & Gaim 0.62
 
Hi ya all!

I have been at this for some hours now, and a little confused. SO please help!

I am relatively new to linux and have been running Mandrake 9.1 for a few months now. Sick of gaim 0.58, I want to upgrade to the new 0.62 version.

When I tried running the rpm, i got this message

gtk2 >= 2.0.0 is needed by gaim-0.62-1 libpspell-modules.so.1 is needed by gaim-0.62-1 libpspell.so.4 is needed by gaim-0.62-1

Well, initally I thought that mandrake would come with gtk 2 since 9.1 was just released. So I tried looking in the distribution cd's but did not find it. But anyway, it is safe for me to compile and install the gtk 2.2 source from the website, or do i have to uninstall the old one first??

Is there any rpm for gtk 2.2?
Will gaim work after that?

The question might sound very silly, but I don't want to take any risk. The last time I took a risk, I found myself reinstalling the mandrake, which gave me a chance to upgrade to 9.1, so it wasn't that bad! :p

-bolt

chem1 05-10-2003 01:06 AM

Downlaod apt and synaptic packages from
http://freshrpms.net

then

1) Open Terminal and
rpm -ivh <apt package name>

2) rpm -ivh <synaptic package name>

3) Type synaptic on command line and install whatever you want
It will take care of all dependencies for you

Hope that helps...

yowwww 05-10-2003 01:27 AM

I had the same problem. I hate it when they don't make builds of programs with the dependencies accounted for. You could use apt-get like suggested, but it doesn't always get everything it is supposed to.

The bottom line is that "gtkspell" is needed by gaim 0.62 before it is installed. Try installing gtkspell first and then try to install gaim 0.62 after that. You can get gtkspell from the link here:

http://rpmfind.net/linux/rpm2html/se...mit=Search+...

(get the second one down - the one called " gtkspell-2.0.4-fr3.1.i386.rpm")

Let us know how it goes.

Bolt 05-10-2003 01:41 AM

Hi,
thanks for your reply guys, that was quick.

I tried both the things:

I wasn't sure which apt and synaptic packages to get (plus the website only mentions red hat everywhere) so I downloaded and installed the following as per instructions:

apt-0.5.5cnc5-fr2.src.rpm
synaptic-0.36.1-fr1.src.rpm

When I typed synaptic on the command line, got an error "command not found"

I also got the gtkspell package and installed it. Got this error --> gtk2 is needed by gtkspell-2.0.4-fr3.1

-setu.

yowwww 05-10-2003 01:47 AM

makes me wonder what packages you chose to install when you put mdk on your box. Did you pick all the development packages?
Did you install kde or gnome or both?

I have a feeling you didn't install gnome (I don't really blame ya if that's the case, I much prefer kde) but gtk 2.0 comes with gnome. So you can either add gnome to your packages (even if you don't use it as a dekstop which is what I do) or you can try to install gtk separately. If you wanna install gtk separately, see here:

http://www.gtk.org/download/

Bolt 05-10-2003 01:52 AM

I did not choose to select any individual packages, I only selected the standard development selection that the setup provides.

Yes, I installed both Gnome and KDE.

yowwww 05-10-2003 01:58 AM

have you tried compiling gaim from the source? that's how I ended up doing it in the end.

Bolt 05-10-2003 02:19 AM

I am curious, is gtk2 included with mandrake 9.1??

yowwww 05-10-2003 03:19 AM

Everything for Development

Develop applications quickly and efficiently:

GCC 3.2.2 features C, C++, Fortran 77, Objective C, Java and Ada 95 compilers.
PHP 4.3.0, Perl 5.8.0 and Python 2.2.2 scripting languages are also available.
GTK+ 2.0
and Qt 3.1.1 libraries - along with KDE and GNOME libraries - are available for developing graphical applications.
Java bytecode can be run with Kaffe 1.0.7.
Kdevelop 2.1.5 is an Integrated Development Environment.
Quanta Plus 3.1 is an HTML Integrated Development Environment.
Choose from a large selection of editors such as the popular Vim 6.1, Emacs 21.2 and XEmacs 21.4

taken from this page:

http://www.mandrakelinux.com/en/9.1/features/

check your development packages to make sure you have it
try "whereis gtk" in your term

I'm not really a big mdk fan, but I have to admit that 9.1 looks pretty good, I might have to triple boot my backup to include it :D

Bolt 05-10-2003 04:58 AM

Yippeee...
it finally worked.
i already had gtk2 installed, there was something wrong with the gaim rpm. nonetheless, i installed gtk2.2 and all the other libraries, which was futile..
but then i downloaded the source as you sugested, and compiled and installed it... it works like a charm! i like this new gaim!... hell i love linux!!
hehehe....

thanks for your help man.. i really really appreciate it yowwww!

-bolt

acid_kewpie 05-10-2003 06:37 AM

quite al ot people have been advising people to get apt-get as a matter of routine for a simple dependency problem like this. while it is a useful tool for deps, the problem he is having does not require throwing that into the equation imho, especially as mandrakes built in urpmi system does this anyway...

senthil 05-10-2003 02:16 PM

Hi,

True the .62 rpm doesn't find the gtk+2 at the right place on Mandrake 9.1 (not sure whether it works fine on Redhat). I compiled from source a few weeks ago and it works fine. I just had to install the appropriate devel packages from the cd though.

Cheers,
Senthil

ArchNGEL 06-24-2003 04:14 PM

well i see it as there are gtk rpms coming with mandrake9.1 however they are somehow altered, and so useless. i found that when tried to configure program using gtk2. reading config.log i saw first of all it cannot found, so i linked it. then .... every declaration, every stuff in gtk2-devel just useless with errors.
even my
#include <gtk/gtk.h>
int main () { return 0; }

did not compile but get hundreds of errmsgs

charming

so you say i should compile source?
well then here goes my question... i have standard gtk2 rpm installed for the programs with dependencies. i hope i dont have to uninstall (and the 30programs with it) before i compile... ?!

senthil 06-26-2003 05:01 PM

Yup, compiling from source after installation of the relevant devel packs from the mdk 9.1 cd's should work. That's what I did.

Cheers,
Senthil


All times are GMT -5. The time now is 03:28 PM.