Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-10-2007, 02:49 AM   #1
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Rep: Reputation: 33
Installing pidgin-encryption-3.0 in slackware 12.0

Hi all,

Well, you'll see, I'm used to chat with my friends using pidgin, and with several of them I use pidgin-encryption, in several distros I've used, I have no problem at all to install that plugin, but in slackware wasn't the case...

For the record, this is a fresh installation of slackware, I installed accepting all dev packages.

I search with google, here in the forum, other forums, pidgin's page and so on, but after I wasn't able to find something about "slackware + pidgin-encryption" or a slackware package (well, I did find one or two in google's results but the servers went down or the page moved...who knows), I decided to compile the package.

I'm writting here because I didn't find an usefull source, however, I want to share how I did compile the plugin so maybe it can help others like me trying to use the plugin in slackware 12.0. I know that there is pidgin-otr, but my friends use pidgin-encryption so what can I do =/

Of course, I don't think that this will be a master guide or anything, maybe my search keywords wasn't the best or I looked in the wrong places, anyway, here it goes...

First, I downloaded pidgin-encryption's source, after that, I'd read the pidgin's faq about slackware and that's where all began.

To successfully compile the package, besides the usual tools like gcc, gcc dev, glibc, glibc dev, gtk, gtk dev, pkconfig and so on, I needed headers and libraries of nss and nspr, but God doesn't like me...

There was no nss nor nspr package in slackwares repos, well, there is nss-mdns, but I'm new in slackware and I didn't know what package will have the libraries and the headers for this too (nss and nspr).

I tried to compile the plugin by downloading the nss source package and the nspr source package to be used as headers and libraries but with no luck, even when I did use the proper commands during ./configure (see bellow), only the nspr headers where recognized, and even then I saw things like "Checking for Mozilla nspr4 ... no"

Reading the pidgin faq, they point out about this options:

./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
Slackware did install firefox, and as the faq says, firefox have the nss and nspr libraries you need to compile pidgin-encryption, but, what about the headers? there isn't a /usr/include/mozilla-X, at least not in my slackware, nor /usr/include/firefox, firefox just doesn't install any headers (I could be wron in this but in my case, it didn't)

Then I remember! for the type of slackware installation I used, the seamonkey browser was installed at the begining, so, I thought that maybe, following mozilla's philosophy, that browser installed the headers file I needed, and I wasn't wrong about that :P

So, after the long and surely boring explanation, this was the process:

Extract the sources...
tar -xvf pidgin-encryption-3.0.tar.gz && cd pidgin-encryption-3.0
Configure the sources...
./configure --prefix=/usr \
--with-nss-includes=/usr/include/seamonkey/nss \
--with-nspr-includes=/usr/include/seamonkey/nspr \
--with-nss-libs=/usr/lib/firefox \
Make and install
make && make install
'--prefix=/usr' is used beacuse that's where pidgin and its libraries are installed.

As I said, I tried first using the nss and nspr sources as headers in libraries but I didn't have luck at all.

A final note, I'm writting this because, for real, I didn't find any resource usefull about installing the plugin in slackware, so, maybe the steps I did, could help others with the same problems or lack of resources. Maybe there's a better way to get the pluging installed and working, normally, I don't have problem to find resources on the net, but this time wasn't the case so that's why I'd write this.

If you think that it's useless, there's a better way, or I'm just posting in the wrong forum, you can tell me without hesitate


Last edited by Acron_0248; 12-10-2007 at 08:50 PM.
Old 12-10-2007, 08:02 PM   #2
Senior Member
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,261

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Just for your info (and anyone seeing this in the future) there are some mozilla-nss packages on Alien Bob's site, and also the slackbuild:

Last edited by dive; 12-10-2007 at 08:03 PM.
Old 12-10-2007, 08:50 PM   #3
Registered: Feb 2006
Location: Venezuela
Distribution: Gentoo
Posts: 453

Original Poster
Rep: Reputation: 33
Thkz dive!




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
Installing Pidgin with missing dependencies without root access DiagonalArg Linux - Software 1 06-27-2007 01:51 AM
error on installing pidgin toxic_brain Linux - Software 3 06-14-2007 07:01 AM
probs installing pidgin-encryption tool X-Ray-Jin Linux - Software 3 06-13-2007 08:55 PM
slackware encryption dm-crypt rino.caldelli Slackware 25 08-02-2005 06:25 AM
cryptoapi losetup encryption in slackware rino.caldelli Slackware 1 07-26-2005 05:15 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:46 PM.

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