leichangsong 发表于 2005-1-6 15:36:02

如何在redhat 9.0下编译gaim

如何在redhat 9.0下编译gaim

    安装好redhat 9.0 后想上网和微软的messenger 6.2里的朋友聊一下天,但是发现redhat 9.0 里没有安装gaim的rpm软件包,在安装盘里发现这个软件的rpm包,安装后,设置好messenger的帐号和密码,不能连接成功,于是卸载这个软件包.
    到http://gaim.sourceforge.net/downloads.php下载gaim-1.1.1-0.src.rpm, 为了确保rpm 包未被改变,需要先验正,方法如下:

       $ rpm --import "http://kingant.net/MarkDoliner.pgp"(下载PGP)
      $ rpm -K gaim-1.1.1-0.src.rpm   (用PGP 验证下载的正确性.)

   运行rpm -ivh gaim-1.1.1.0.src.rpm,到/usr/src/redhat/SOURCES/ 下找到哪个文件gaim-1.1.1.tar.gz, 这就是哪个源代码的文件.打开终端运行                  

          #   cd   /usr/src/redhat/SOURCES   
          #tar zxvfgaim-1.1.1.tar.gz(解压软件包)
          # cd gaim-1.1.1
    然后开始编译和链接:
            # ./configure
            # make
            # make install
如果没有出现错误提示, gaim被安装到/usr/local/bin/下,在终端里敲入gaim可以看到图形界面,选择msn 协议,输入帐号和密码,就可以了聊天了.

troll 发表于 2005-1-6 16:12:11

这篇不是发过了吗?

nethedy 发表于 2005-1-6 17:20:13

按照楼主的介绍,出现这样的错误.使得安装无法进行下去!
============================================
*** 'pkg-config --modversion glib-2.0' returned 2.6.0, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
# make;make install
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.

troll 发表于 2005-1-6 17:30:08

安装glib2-devel和gtk2-devel
页: [1]
查看完整版本: 如何在redhat 9.0下编译gaim