honzeland

          記錄點滴。。。

          導航

          <2007年6月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567

          留言簿(4)

          隨筆分類

          文章分類

          收藏夾

          隨筆檔案

          文章檔案

          閱讀排行榜

          評論排行榜

          常用鏈接

          統計

          Famous Websites

          Java

          Linux

          P2P

          最新評論

          Pidgin for ubuntu 6.10

          zz from http://swik.net/User:dnoble/Distributed+Collaboration+Blog/Pidgin+on+Ubuntu+6.10+(Edgy+Eft)/8ik1

          1. Get the source bundle from the Pidgin download site

          http://pidgin.im/pidgin/download/source/

          2. Extract the contents
          tar jxf pidgin-2.0.0.tar.bz2
          cd pidgin-2.0.0
          3. Install some prerequisites
          sudo apt-get install \
          libglib1.2-dev \
          libglib2.0-dev \
          libgtk2.0-dev

          sudo apt-get install \
          libnspr-dev \
          libnspr4 \
          libnspr4-0d \
          libnss3 \
          libnss3-0d \
          libnss-db \
          libnss-dev \
          libssl0.9.8 \
          libssl-dev \
          openssl \
          ssl-cert
          (Thanks to the Ubuntu forums for tips on the SSL library packages)

          4. Configure the build

          Override defaults pointing to older versions of GLib and GTK, then generate the makefiles and other build configuration.
          export GLIB_LFLAGS=-lglib-2.0
          export GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"

          export GTK_LFLAGS="-lgtk-x11-2.0 -lcairo -latk-1.0"
          export GTK_CFLAGS="-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include \
          -I/usr/include/cairo -I/usr/include/atk-1.0"

          export pango_LIBS=-lpango-1.0
          export pango_CFLAGS=-I/usr/include/pango-1.0

          export CFLAGS="$GLIB_CFLAGS $GTK_CFLAGS $pango_CFLAGS"

          ./configure
          Add a "--prefix=DIR" option to the configure command if you prefer to specify a custom installation directory.

          ****************************************************************************
           ./configure 出現錯誤

          checking for LIBXML... no
          no
          configure: error:

          You must have libxml2 >= 2.6.0 development headers installed to build.

          于是安裝
          sudo apt-get install libxml2-dev
          *****************************************************************************



          5. Build the software
          make
          If that doesn't work, redirect the output of "make" to a file and search for the string "errors:" to see what went wrong:
          make > OUTPUT 2>&1
          6. Install the software
          sudo make install
          If you ran the configure script with a custom prefix option pointing to a directory that you can write to without root privileges, then you can run "make install" without the "sudo".

          7. Done

          So that's it. If you are upgrading from Gaim 1.5, all of your configuration will be copied from the .gaim directory to .purple in your home directory. Your log files will also be moved, but a symbolic link will point from the .gaim/logs directory to the .purple/logs directory.


          posted on 2007-06-02 23:28 honzeland 閱讀(587) 評論(0)  編輯  收藏 所屬分類: Linux

          主站蜘蛛池模板: 神农架林区| 罗城| 南阳市| 浦东新区| 兴国县| 子长县| 凤城市| 华宁县| 台中县| 勃利县| 汝城县| 渝北区| 阿勒泰市| 盐城市| 枣庄市| 鹰潭市| 江源县| 巩义市| 抚州市| 德清县| 河间市| 临城县| 呼图壁县| 桃源县| 文成县| 江孜县| 舟山市| 福海县| 永福县| 辽源市| 鹤山市| 永泰县| 潮州市| 工布江达县| 如皋市| 平果县| 凤庆县| 麻江县| 彰化县| 西青区| 科技|