成功安装Gaim 0.71 & msn
一,compile nspr (http://www.mozilla.org/projects/nspr/)tar zxvf nspr-4.3.tar.gz
cd nspr-4.3
mkdir build
mkdir inst
cd build
../mozilla/nsprpub/configure --prefix=~/nspr-4.3/inst
make
make install
cp -rfL dist/* /usr
二,compile nss (http://www.mozilla.org/projects/security/pki/nss)
tar zxvf nss-3.8.tar.gz
cd nss-3.8
echo 'INCLUDES += -I/usr/include/nspr -I$(DIST)/include/dbm' \
>> mozilla/security/coreconf/headers.mk
sed -e 's:$(DIST)/lib/$(LIB_PREFIX)plc4:/usr/lib/$(LIB_PREFIX)plc4:' -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:/usr/lib/$(LIB_PREFIX)plds4:' -i mozilla/security/nss/lib/ckfw/builtins/Makefile
sed -e 's:$(DIST)/lib/$(LIB_PREFIX)plc4:/usr/lib/$(LIB_PREFIX)plc4:' -e 's:$(DIST)/lib/$(LIB_PREFIX)plds4:/usr/lib/$(LIB_PREFIX)plds4:' -i mozilla/security/nss/lib/fortcrypt/swfort/pkcs11/Makefile
sed -e 's:SOURCE_PREFIX = $(CORE_DEPTH)/\.\./dist:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' -i mozilla/security/coreconf/source.mk
cp mozilla/security/coreconf/Linux2.5.mk mozilla/cdsecurity/coreconf/Linux2.6.mk
cd mozilla/security/coreconf
make BUILD_OPT=1
cd -; cd mozilla/security/dbm
make BUILD_OPT=1
cd -; cd mozilla/security/nss
make BUILD_OPT=1
cd -; cd mozilla/security/dist
mkdir /usr/lib/nss
cp -L */lib/*.a /usr/lib/nss
cp */lib/*.so /usr/lib
mkdir /usr/include/nss
cp private/nss/*.h /usr/includes/nss
cp public/nss/*.h /usr/include/nss
三,compile gaim-0.71
tar jxvf gaim-0.71.tar.bz2
cd gaim-0.71
./configure --prefix=/usr --with-nss-includes=/usr/include/nss --with-nspr-includes=/usr/include/nspr
(you should see SSL/Library/Libraries.....: Mozilla NSS)
make && make install
ok 复杂!
下载rpm文件就可以了
mozilla-nspr-devel-1.4-2.dag.rh90.i386.rpm
mozilla-nss-devel-1.4-2.dag.rh90.i386.rpm
地址在
http://rpm.pbone.net/index.php3/stat/16/idka/19550
如果依赖不对的话,还要下载
mozilla-nspr-1.4-2.dag.rh90.i386.rpm
mozilla-nss-1.4-2.dag.rh90.i386.rpm linuxsir有1.5的可以下载~~~~~~~~~
页:
[1]