LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2003, 01:12 PM   #1
salvatore
Member
 
Registered: Oct 2003
Location: Florida
Distribution: Fedora Core 1 and 3
Posts: 68

Rep: Reputation: 15
Post The Good Gaim Post


Do a search on 'gaim' here and you'll find literally dozens of threads, and hundreds of replies. I've spent the last few days reading just about all of them.

Nothing was working, and I managed to follow several unrelated directions just to see if I had some obscure setup going on, or if there was a variable I was missing. NSS and NSPR were installed, GTK was installed, I tried a few different RPMs, even the .tar and the '--with-nss-include=\path\to\nss' configure option. Nothing.

Finally after heading back to the Gaim site, I decided to start again and make sure everything was where it needed to be on my system. The gaim documentation says I may need to edit my /etc/lib.so.conf, which I had done originally. As per those docs, I added /usr/lib/mozilla-1.4 and ran ldconfig as root.

This time through, I did a ls /usr/lib/mozilla-1.4 and was given: no such file or directory.

Duh.

There WAS no /usr/lib/mozilla-1.4. It was /usr/lib/mozilla-1.4.1

I altered /etc/lib.so.conf, reran ldconfig, removed the RPM (# rpm -e gaim), and reinstalled gaim (# rpm -ivh gaim*.rpm).
Viola, gaim with MSN support.

Gaim didn't suck. I sucked.

Hopefully I can save some other poor newbie the trouble of going grey (or completely bald) trying to troubleshoot gaim and msn. The gaim docs, while sparse and a little disconnected, are right for the most part. Check them first, then check your system, before giving up.
 
Old 10-27-2003, 01:28 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well there have been many issues with gaim and msn over the last year mainly due to M$'s continual protocol changes, and currently they're using this whole authentication thing, which is - as you've found - already uneffective. there's a good deal of info about adding full nss and nspr support at their homepage, http://gaim.sf.net, including....

Quote:
Gaim 0.71 SSL

Read the ChanServ notice? Read the Topic? Read the FAQ?
Still having problems getting SSL to work with Gaim?
read on, maybe you're in luck. but probably not.


SuSE (8.2)
==========
Upgrade pango: http://www.usr-local-bin.org/misc.php
Gaim rpm: http://www.usr-local-bin.org/gaim.php


Red Hat Linux (8.0 or 9)
========================
Use the gaim provided packages : http://sourceforge.net/project/showf...p?group_id=235


Red Hat Linux (7.3)
===================

Thanks to lesshaste on #gaim for this:
1. Install gtk2 from http://kde-redhat.sf.net/ (using apt-get is easiest)
2. Make sure you have mozilla-nss, mozilla-nss-devel, mozilla-nspr and
mozilla-nspr-devel installed
3. Compile from source - ./configure should be enough to find everything gaim
needs


Mandrake
========
9.1: Use the gaim provided packages : http://sourceforge.net/project/showf...p?group_id=235

9.2, compiling from source:

Compiling on Mandrake 9.2 :
<icicled> i found that if i changed the permissions of the private directory in
/usr/include/mozilla-1.4/nspr it will compile perfectly
<faceprint> wow, that's sucky
<ChipX86> ew
<faceprint> you should definitely go scream bloody murder at mandrake
<icicled> ?
<icicled> not sure why they would have the private directory only readable by
root
<faceprint> that sounds like a serious bug in the mandrake package
Hint: (as root)
chmod 755 /usr/include/mozilla-1.4/nspr/private
chmod 644 /usr/include/mozilla-1.4/nspr/private/*


Win32
=====
Use the gaim provided packages : http://sourceforge.net/project/showf...p?group_id=235


Debian
======
Use the debs (hmm, when they arrive...)

Some have reported success with gnutls from unstable, and compiling gaim from
source:
<ntm> i changed the apt sources to include unstable releases
<ntm> apt-get install libgnutls7
<ntm> apt-get install libgnutls7-dev
<ntm> that's it.

Solaris (sparc)
===============
Use the gaim provided packages : http://sourceforge.net/project/showf...p?group_id=235


Slackware
=========

Use the gaim source, with mozilla-1.4 installed (if you have another version
of mozilla, try replacing 1.4 with your version number):
./configure --with-nss-includes=/usr/include/mozilla-1.4/nss \
--with-nspr-includes=/usr/include/mozilla-1.4/nspr \
--with-nss-libs=/usr/lib/mozilla-1.4 \
--with-nspr-libs=/usr/lib/mozilla-1.4
As far as I can tell (the includes are almost certainly correct, the libs
might be correct)


Not listed above
================

I strongly recommend you use pre-packaged binaries where possible, however if you MUST
use source, these tips might help you. GnuTLS is the (developers) preferred
option, but I've witnessed more success with Mozilla NSS & NSPR


Mozilla NSS & NSPR
==================

mozilla nss & nspr can be found here:

ftp://ftp.mozilla.org/pub/mozilla.or...4.1-dbm.tar.gz

--with-{nss,nspr}-includes should point to the directory with the .h files in (eg. nspr.h)
--with-{nss,nspr}-libs should point to the directory with the .so files in (eg. libnss3.so)

If you can't add to /etc/ld.so.conf (or your (*nix) OS doesn't have one) set
the LD_LIBRARY_PATH environment variable instead, either before running gaim or
(for bourne shell & bash) on the gaim command line, eg.
csh: set LD_LIBRARY_PATH=/usr/lib/mozilla-1.4
sh/bash: LD_LIBRARY_PATH=/usr/lib/mozilla-1.4 ; export LD_LIBRARY_PATH
or sh/bash: run gaim with this command:
LD_LIBRARY_PATH=/usr/lib/mozilla-1.4 gaim


GnuTLS
======

Thanks to sofar on #gaim for this:

Here's a list in the proper order which you need to install/compile, the
versions and links I give compile normally on a reasonably clean system.

libgpg-error (needed by libgcrypt):
ftp://ftp.gnupg.org/gcrypt/alpha/lib...ror-0.5.tar.gz

libgcrypt (needed by gnutls):
ftp://ftp.gnupg.org/gcrypt/alpha/lib...-1.1.43.tar.gz

libtasn1 (needed by gnutls):
ftp://ftp.gnutls.org/pub/gnutls/libt...1-0.2.6.tar.gz

gnutls (needed by gaim):
ftp://ftp.gnutls.org/pub/gnutls/gnutls-0.9.91.tar.gz

libopenck is a PITA, don't use it, gnutls will break. Also version 0.9.92 of
gnutls doesn't compile because the maintainer forgot to add 1 file needed. 0.9.91
works, so just do that.

You shouldn't need to pass any --with-xxx-libs/include to gaim since everything is
by default put in the normal include/lib dirs on my system. If you put any of the libs in
obscure places you are daft, just don't do that ;^).

sofar

Last edited by acid_kewpie; 10-27-2003 at 01:29 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
Firefox blues - please post your experiences GOOD/BAD AntWarrior Ubuntu 30 12-11-2005 06:43 PM
Are Gaim & Kopete the only IMs that are good? little_penguin Linux - Software 1 03-30-2005 07:09 PM
Good morning, Good evening, Good night. Cheeseboy LinuxQuestions.org Member Intro 2 11-04-2004 10:46 PM
Plz post links to good connectiva websites and apt-get repositories... i need resourc versaulis Conectiva 1 12-09-2003 11:10 AM
Gaim/MSN protocols and problems upgrading Gaim and Kopete. sergeantroach Linux - Software 5 11-01-2003 09:27 PM


All times are GMT -5. The time now is 10:38 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration