linux系统下安装qq
2024-08-28 00:07:57
供稿:网友
linux系统下安装qq方案一:QQ for gaim0.64+gaim0.71
1、先下载gaim0.64、gaim-0.64-libqqpatched和gaim0.71
2、安装gaim 0.64
cd /root
tar xvfz gaim-0.64-libqqpatched.tar.gz
cd gaim-0.64
./configure --prefix=/usr/bin/gaim
make
make install
3、安装libqq
cd /usr/local/share/pixmaps/gaim/status/default
tar xvfz ~/gaim-0.64/libqqpatched/qqfaces.tar.gz
cd /usr/local/share/pixmaps/gaim/smileys/default/
tar xvfz ~/gaim-0.64/libqqpatched/qq_smiley.tar.gz
cp ~/gaim-0.64/libqqpatched/wry.dll ~/.gaim
rm /usr/local/lib/gaim/libqq*.so
cp ~/gaim-0.64/libqqpatched/libqq-0.0.3-xfer-0.64-gcc32.so /usr/bin/gaim
4、安装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
安装后的设置。
a) 现在gaim0.64主程序在/usr/bin/gaim,插件目录是/usr/lib/gaim/;gaim0.71编译安装后,主程序是/usr/local/bin/gaim,插件目录是/usr/local/lib/gaim。gaim的默认安装目录在下载源码编译时是可以更改的,具体请在gaim的源码目录中用 ./configure --help 命令查看。
gaim默认的配置文件是用户目录下面的.gaimrc(文件名前面有个点),也可以用用户指定的其他配置文件,这是实现不同版本gaim共存的关键。以我的系统为例,具体做法是:
先运行0.64版的gaim,即/usr/bin/gaim,然后只安装libqq插件,帐号也只设置一个qq的帐号。退出后,将生成的 .gaimrc 文件改名为 .gaimrc-0.64, 即