gaim/www

Parents b1a1c1fd5391
Children 743bd7b8b059
(11:28:52) nosnilmot: LSchiere: I'm running out of bizarre ways to install
gaim now : http://www.nosnilmot.com/gaim/gaim-ssl.txt.patch
--- a/htdocs/gaim-ssl.txt Mon Dec 01 21:08:13 2003 -0500
+++ b/htdocs/gaim-ssl.txt Sun Dec 07 11:31:24 2003 -0500
@@ -6,11 +6,23 @@
read on, maybe you're in luck. but probably not.
+General Notes
+=============
+
+Mozilla 1.5 will not provide all the pieces for NSPR & NSS due to breakage in
+Mozilla that misses out some .h files (or something...). You might be able to
+install mozilla-{nss,nspr}{,-devel} from 1.4, or install nss from source, in
+parallel and link against those for Gaim. Or just use GnuTLS.
+
+
SuSE (9.0)
==========
There's a 3rd party RPM for SuSE 9.0 here : http://www.usr-local-bin.org/gaim.php
+You may need to put /opt/mozilla/lib in /etc/ld.so.conf (and run ldconfig as
+root)
+
SuSE (8.2)
==========
@@ -21,6 +33,8 @@
You might also need to upgrade pango:
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.2-i386/RPMS.usr-local-bin/pango-1.2.5-SuSE.ulb.1.i586.rpm
+You may need to put /opt/mozilla/lib in /etc/ld.so.conf (and run ldconfig as
+root)
Red Hat Linux (8.0 or 9)
========================
@@ -120,7 +134,7 @@
Use the debs
-Some have reported success with gnutls from unstable, and compiling gaim from
+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
@@ -135,7 +149,6 @@
first: emerge sync
then: emerge gaim
or: ACCEPT_KEYWORDS="~x86" emerge gaim
- or: emerge -p gaim
In fact, I have no idea why anyone would use Gentoo anyway.
@@ -150,8 +163,13 @@
===============
There's a 3rd party package for Slackware 9.1 here : http://www.uidzero.co.uk/pkg/slack91/
-(This package does not have gtkspell support because gtkspell is not part of
-the base Slackware distribution)
+This package does not have gtkspell support because gtkspell is not part of
+the base Slackware distribution (same package is also at linuxpackages.net).
+This one should work out of the box.
+
+The Gaim 0.74 package from Slackware does NOT work out of the box. I have not
+tried, but adding /usr/lib/mozilla-1.4 to /etc/ld.so.conf and running ldconfig
+as root *might* fixinate it.
Or you can use the gaim source, with mozilla-1.4 installed (if you have another
version of mozilla, try replacing 1.4 with your version number):
@@ -171,10 +189,40 @@
figure this out on your own? (or just see below on compiling from source)
+FreeBSD (5.1)
+=============
+
+Compile from source. No SSL specific details available at the moment, but
+these tips might help you in general:
+
+For i18n to work, you need to have gettext installed. It will probably stuff
+itself in /usr/local, so you need to configure like this:
+./configure --with-libintl-prefix=/usr/local
+
+Alternatively, if you only need to use English, you can disable i18n (and the
+dependancy on gettext) by configuring like so:
+./configure --disable-nls
+
+
+OpenBSD (3.4)
+=============
+
+Compile from source. No SSL specific details available at the moment, but
+these tips might help you in general:
+
+For i18n to work, you need to have gettext installed. It will probably stuff
+itself in /usr/local, so you need to configure like this:
+./configure --with-libintl-prefix=/usr/local
+
+Alternatively, if you only need to use English, you can disable i18n (and the
+dependancy on gettext) by configuring like so:
+./configure --disable-nls
+
+
Mac OS X (10.3.1)
=================
-Information on setting up gnutls can be found at:
+Information on setting up GnuTLS can be found at:
http://alphamonkey.org/view.php?type=notes&id=309
@@ -190,8 +238,13 @@
Mozilla NSS & NSPR
==================
-mozilla nss & nspr can be found here:
+Mozilla NSS & NSPR can be found here:
+ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz
+(despite it's name, it contains both NSS & NSPR)
+
+This older one has been referenced here for a while, but did not have much success with
+it:
ftp://ftp.mozilla.org/pub/mozilla.org/security/nss-3.1.1-with-nspr-4.1-dbm.tar.gz
--with-{nss,nspr}-includes should point to the directory with the .h files in (eg. nspr.h)
@@ -200,10 +253,12 @@
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
+csh:
+ setenv 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
+ LD_LIBRARY_PATH=/usr/lib/mozilla-1.4 gaim
GnuTLS
@@ -217,17 +272,17 @@
libgpg-error (needed by libgcrypt):
ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.5.tar.gz
-libgcrypt (needed by gnutls):
+libgcrypt (needed by GnuTLS):
ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.43.tar.gz
-libtasn1 (needed by gnutls):
+libtasn1 (needed by GnuTLS):
ftp://ftp.gnutls.org/pub/gnutls/libtasn1/libtasn1-0.2.6.tar.gz
-gnutls (needed by gaim):
+GnuTLS (needed by gaim):
ftp://ftp.gnutls.org/pub/gnutls/attic/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
+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
@@ -236,16 +291,14 @@
sofar
-For FreeBSD users:
+For FreeBSD (and, it seems, OpenBSD) users:
<synic> ok, gnutls 0.8.10 officially works on FreeBSD
<synic> and 0.8.6 doesn't :)
-Thanks, synic.
+Thanks synic.
-Non-root
-========
-
-(note: this is quite untested, feedback welcome)
+Non-root (mozilla-{nss,nspr} or GnuTLS already installed)
+=========================================================
If you don't have root access on the system you're trying to install gaim
on, you need to configure gaim to install under your home directory.
@@ -255,12 +308,79 @@
If there are additional dependancies required that are not installed on
the system, you'll need to install those in a similar manner and pass the
-correct locations to gaim's ./configure.
+correct locations to gaim's ./configure as shown in the next sections.
+
+
+Non-root including mozilla-{nss,nspr}
+=====================================
+
+ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_8_RTM/src/nss-3.8.tar.gz
+
+Extract nss-3.8.tar.gz
+cd nss-3.8/mozilla/security/nss
+make nss_build_all
+make install
-eg:
+(on systems where make is not GNU make, use gmake)
+
+mkdir -p /home/username/lib
+mkdir -p /home/username/include/nspr
+find ../../dist/*/lib -type l \
+ \( -name "*.so" -o -name "*.chk" \) \
+ -exec cp -L {} /home/username/lib \;
+cp -Lr ../../dist/public/* /home/username/include
+cp -Lr ../../dist/*/include/* /home/username/include/nspr
+
+
+Gaim:
+
./configure --prefix=/home/username \
- --with-nss-includes=/home/username/usr/include/mozilla-1.4/nss \
- --with-nspr-includes=/home/username/usr/include/mozilla-1.4/nspr \
- --with-nss-libs=/home/username/usr/lib/mozilla-1.4 \
- --with-nspr-libs=/home/username/usr/lib/mozilla-1.4
+ --with-nss-includes=/home/username/usr/include/nss \
+ --with-nspr-includes=/home/username/usr/include/nspr \
+ --with-nss-libs=/home/username/usr/lib \
+ --with-nspr-libs=/home/username/usr/lib
+make
+make install
+
+You should now be able to use Gaim by running /home/username/bin/gaim
+In some cases, it might be necessary to set LD_LIBRARY_PATH=/home/username/lib
+before running Gaim
+
+
+Non-root including GnuTLS
+=========================
+
+This has been tested using the exact same versions of applications specified
+above in the GnuTLS section, with the exception of libtasn1 (GnuTLS actually
+includes a version of libtasn1 which seems to work).
+
+libgpg-error:
+
+./configure --prefix=/home/username
+make
+make install
+libgcrypt:
+
+# fix the configure script!
+perl -pi -e 's/ --prefix=\$gpg_error_config_prefix//' configure
+./configure --prefix=/home/username --with-gpg-error-prefix=/home/username
+make
+make install
+
+gnutls:
+LD_LIBRARY_PATH=/home/username/lib ./configure --prefix=/home/username --with-libgcrypt=/home/username
+make
+make install
+
+gaim:
+
+./configure --prefix=/home/username --enable-gnutls=yes \
+ --with-gnutls-libs=/home/username/lib \
+ --with-gnutls-includes=/home/username/include
+make
+make install
+
+You should now be able to use Gaim by running /home/username/bin/gaim
+In some cases, it might be necessary to set LD_LIBRARY_PATH=/home/username/lib
+before running Gaim (this was not necessary on the tested system)