亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 4810 | 回復(fù): 13
打印 上一主題 下一主題

成功用ports安裝pidgin-2.3.0 (非正式版) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2007-12-06 13:56 |只看該作者 |倒序瀏覽
FreeBSD 6.3-PRERELEASE 用ports安裝pidgin-2.3.0成功
截圖和ports包

pidgin-2.3.0.png (103.61 KB, 下載次數(shù): 40)

pidgin-2.3.0 screenshot

pidgin-2.3.0 screenshot

pidgin.tar.gz

9.02 KB, 下載次數(shù): 40

pidgin-2.3.0 ports tarball

論壇徽章:
0
2 [報告]
發(fā)表于 2007-12-06 16:06 |只看該作者
恩,不如謝謝步驟之類的,發(fā)圖沒什么意義。。

論壇徽章:
2
丑牛
日期:2013-09-29 09:47:222015七夕節(jié)徽章
日期:2015-08-21 11:06:17
3 [報告]
發(fā)表于 2007-12-06 16:14 |只看該作者
原帖由 zhangweizj 于 2007-12-6 16:06 發(fā)表
恩,不如謝謝步驟之類的,發(fā)圖沒什么意義。。

就是,最好共享出步驟來,越詳細(xì)越好

論壇徽章:
0
4 [報告]
發(fā)表于 2007-12-06 18:55 |只看該作者
我想樓主能說下怎么設(shè)置fcitx隨機(jī)啟動.我用了1個多月了一直沒能解決這個問題.改了nn多地方就是不行.我使用的pcbsd.

論壇徽章:
0
5 [報告]
發(fā)表于 2007-12-06 22:05 |只看該作者
俺用的是Bourn Shell, 在.profile 設(shè)置
export XMODIFIERS='@im=fcitx'
export LC_ALL=zh_CN.eucCN
export LANG=zh_CN.eucCN
然后在.xinitrc里啟動fcitx就可以了。

$ cat .profile
# $FreeBSD: src/share/skel/dot.profile,v 1.21 2002/07/07 00:00:54 mp Exp $
#
# .profile - Bourne Shell startup script for login shells
#
# see also sh(1), environ(7).
#

# remove /usr/games and /usr/X11R6/bin if you want
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/binHOME/bin; export PATH

# Setting TERM is normally done through /etc/ttys.  Do only override
# if you're sure that you'll never log in via telnet or xterm or a
# serial line.
# Use cons25l1 for iso-* fonts
# TERM=cons25;  export TERM

BLOCKSIZE=K;    export BLOCKSIZE
EDITOR=vi;      export EDITOR
PAGER=more;     export PAGER

# set ENV to a file invoked each time sh is started for interactive use.
ENV=$HOME/.shrc; export ENV

[ -x /usr/games/fortune ] && /usr/games/fortune freebsd-tips

export XMODIFIERS='@im=fcitx'
export LC_ALL=zh_CN.eucCN
export LANG=zh_CN.eucCN

$ cat .xinitrc
# Chinese IME
fcitx &

# gnome
# /usr/local/bin/gnome-session

# kde
exec startkde

論壇徽章:
0
6 [報告]
發(fā)表于 2007-12-06 22:08 |只看該作者
關(guān)于用ports安裝Pidgin-2.3.0,以下是俺的安裝步驟:
1.  fetch & extract
    ========

    http://downloads.sourceforge.net/pidgin/pidgin-2.3.0.tar.bz2
$ pwd
/usr/home/porter/src
$ tar jxf /usr/ports/distfiles/pidgin-2.3.0.tar.bz2
$ mkdir work
$ cd work
$ lf ..
./              ../             pidgin-2.3.0/   work/


2.  configure
    ========

$ ../pidgin-2.3.0/configure

failed:
========
The msgfmt command is required to build libpurple.  If it is installed
on your system, ensure that it is in your path.  If it is not, install
GNU gettext to continue.

If you have msgfmt installed, but for some reason this error message
is still displayed, you have encountered what appears to be a bug in
third-party configure macros.  Try setting the MSGFMT environment
variable to the absolute path to your msgfmt binary and trying
configure again, like this:

MSGFMT=/path/to/msgfmt ./configure ...
========

according to the suggestion, configure again
$ MSGFMT=/path/to/msgfmt ../pidgin-2.3.0/configure

========
configure successfully!

3.  compile and link
    ========

failed:
========
In file included from ../../../../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c:23:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:368: error: field `addr' has incomplete type
/usr/include/net/if.h:369: error: field `dstaddr' has incomplete type
gmake[5]: *** [jabber.lo] Error 1
gmake[5]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols/bonjour'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/porter/src/work'
gmake: *** [all] Error 2
========

4.  jabber.c
    ========
The reason is that jabber.c does not include <sys/types.h> and <sys/socket.h>
before <net/if.h>. Before we modify the file  we'd better backup in order to
create patch later:
$ cp -p ../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c ../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c.orig
And modify jabber.c from:
     ========
     22 #ifndef _WIN32
     23 #include <net/if.h>
     24 #include <sys/ioctl.h>
     25 #include <sys/socket.h>
     26 #include <netinet/in.h>
     27 #include <arpa/inet.h>
     28 #else
     29 #include "libc_interface.h"
     30 #endif
     31 #include <sys/types.h>
     32 #include <glib.h>
     33 #include <unistd.h>
     34 #include <fcntl.h>
     ========
to:
     ========
     22 #ifndef _WIN32
     23 #include <sys/types.h>
     24 #include <sys/socket.h>
     25 #include <net/if.h>
     26 #include <sys/ioctl.h>
     27 #include <sys/socket.h>
     28 #include <netinet/in.h>
     29 #include <arpa/inet.h>
     30 #else
     31 #include "libc_interface.h"
     32 #endif
     33 #include <sys/types.h>
     34 #include <glib.h>
     35 #include <unistd.h>
     36 #include <fcntl.h>
     ========

5.  GMSFGFMT
    ========
    Continue gmake, failed with the following message:
========
Making all in po
gmake[2]: Entering directory `/usr/home/porter/src/work/po'
file=`echo af | sed 's,.*/,,'`.gmo \
          && rm -f $file &&  -o $file ../../pidgin-2.3.0/po/af.po
-o: not found
gmake[2]: *** [af.gmo] Error 127
gmake[2]: Leaving directory `/usr/home/porter/src/work/po'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/porter/src/work'
gmake: *** [all] Error 2
========

    The reason is the following suffixes rules in Makefile in
`/usr/home/porter/src/work/po' directory.

========
.po.gmo:
        file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) -o $$file $<
========
   
    Browse back to top of the Makefile, we'll see:

========
GMSGFMT =
MSGFMT = /path/to/msgfmt
========

    We should set GMSGFMT=/path/to/msgfmt to fix this bug. We also notice
that the following error message:
========
checking for doxygen... false
configure: WARNING: *** Doxygen not found, docs will not be available
========

    We decide to configure like this:

========
$ MSGFMT=/usr/local/bin/msgfmt GMSGFMT=/usr/local/bin/msgfmt ../pidgin-2.3.0/configure --disable-doxygen
========
   
    Now gmake will build pidgin-2.3.0 successfully.

6.  Upgrade ports from pidgin-2.2.2 to pidgin-2.3.0
6.1 Modify Makefiles
    Modifiy /usr/ports/net-im/pidgin/Makefile from:
========
     15 LIB_DEPENDS=    startup-notification-1.0{PORTSDIR}/x11/startup-notification \
     16                 purple.2{PORTSDIR}/net-im/libpurple
========
to:
========
     15 LIB_DEPENDS=    startup-notification-1.0{PORTSDIR}/x11/startup-notification \
     16                 purple.3{PORTSDIR}/net-im/libpurple
========

    Modifiy /usr/ports/net-im/libpurple/Makefile from:

========
      9 PORTNAME?=      libpurple
     10 PORTVERSION=    2.2.2
========
========
      9 PORTNAME?=      libpurple
     10 PORTVERSION=    2.3.0
========

6.2 Creating the new checksum file and extract source code

$ cd /usr/ports/net-im/pidgin/
$ make makesum
$ make extract

6.3 Create patches
$ cd /usr/ports/net-im/pidgin/work/pidgin-2.3.0
$ diff -u -p libpurple/protocols/bonjour/jabber.c.orig libpurple/protocols/bonjour/jabber.c > ../../../libpurple/files/patch-libpurple_protocols_bonjour_jabber.c
  Tow patches from pidgin-2.2.2 does while upgrading to pidgin-2.3.0
  patch-finch_libgnt_gntmain.c
  patch-libpurple_plugins_ssl_ssl-nss.c
    We also need to re-create these tow patches.

6.4 Build and install pidgin-2.3.0 by ports.
$ cd /usr/ports/net-im/pidgin/
$ make install clean

Rember to uninstall pidgin-2.2.2 and libpurple-2.2.2 before you do build
and install pidgin-2.3.0.

論壇徽章:
0
7 [報告]
發(fā)表于 2007-12-06 22:09 |只看該作者
關(guān)于用ports安裝Pidgin-2.3.0,以下是俺的安裝步驟:

1.  fetch & extract
    ========

    http://downloads.sourceforge.net/pidgin/pidgin-2.3.0.tar.bz2
$ pwd
/usr/home/porter/src
$ tar jxf /usr/ports/distfiles/pidgin-2.3.0.tar.bz2
$ mkdir work
$ cd work
$ lf ..
./              ../             pidgin-2.3.0/   work/


2.  configure
    ========

$ ../pidgin-2.3.0/configure

failed:
========
The msgfmt command is required to build libpurple.  If it is installed
on your system, ensure that it is in your path.  If it is not, install
GNU gettext to continue.

If you have msgfmt installed, but for some reason this error message
is still displayed, you have encountered what appears to be a bug in
third-party configure macros.  Try setting the MSGFMT environment
variable to the absolute path to your msgfmt binary and trying
configure again, like this:

MSGFMT=/path/to/msgfmt ./configure ...
========

according to the suggestion, configure again
$ MSGFMT=/path/to/msgfmt ../pidgin-2.3.0/configure

========
configure successfully!

3.  compile and link
    ========

failed:
========
In file included from ../../../../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c:23:
/usr/include/net/if.h:265: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:266: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:267: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:299: error: field `ifra_addr' has incomplete type
/usr/include/net/if.h:300: error: field `ifra_broadaddr' has incomplete type
/usr/include/net/if.h:301: error: field `ifra_mask' has incomplete type
/usr/include/net/if.h:368: error: field `addr' has incomplete type
/usr/include/net/if.h:369: error: field `dstaddr' has incomplete type
gmake[5]: *** [jabber.lo] Error 1
gmake[5]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols/bonjour'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/home/porter/src/work/libpurple/protocols'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/porter/src/work/libpurple'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/porter/src/work'
gmake: *** [all] Error 2
========

4.  jabber.c
    ========
The reason is that jabber.c does not include <sys/types.h> and <sys/socket.h>
before <net/if.h>. Before we modify the file  we'd better backup in order to
create patch later:
$ cp -p ../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c ../pidgin-2.3.0/libpurple/protocols/bonjour/jabber.c.orig
And modify jabber.c from:
     ========
     22 #ifndef _WIN32
     23 #include <net/if.h>
     24 #include <sys/ioctl.h>
     25 #include <sys/socket.h>
     26 #include <netinet/in.h>
     27 #include <arpa/inet.h>
     28 #else
     29 #include "libc_interface.h"
     30 #endif
     31 #include <sys/types.h>
     32 #include <glib.h>
     33 #include <unistd.h>
     34 #include <fcntl.h>
     ========
to:
     ========
     22 #ifndef _WIN32
     23 #include <sys/types.h>
     24 #include <sys/socket.h>
     25 #include <net/if.h>
     26 #include <sys/ioctl.h>
     27 #include <sys/socket.h>
     28 #include <netinet/in.h>
     29 #include <arpa/inet.h>
     30 #else
     31 #include "libc_interface.h"
     32 #endif
     33 #include <sys/types.h>
     34 #include <glib.h>
     35 #include <unistd.h>
     36 #include <fcntl.h>
     ========

5.  GMSFGFMT
    ========
    Continue gmake, failed with the following message:
========
Making all in po
gmake[2]: Entering directory `/usr/home/porter/src/work/po'
file=`echo af | sed 's,.*/,,'`.gmo \
          && rm -f $file &&  -o $file ../../pidgin-2.3.0/po/af.po
-o: not found
gmake[2]: *** [af.gmo] Error 127
gmake[2]: Leaving directory `/usr/home/porter/src/work/po'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/porter/src/work'
gmake: *** [all] Error 2
========

    The reason is the following suffixes rules in Makefile in
`/usr/home/porter/src/work/po' directory.

========
.po.gmo:
        file=`echo $* | sed 's,.*/,,'`.gmo \
          && rm -f $$file && $(GMSGFMT) -o $$file $<
========
   
    Browse back to top of the Makefile, we'll see:

========
GMSGFMT =
MSGFMT = /path/to/msgfmt
========

    We should set GMSGFMT=/path/to/msgfmt to fix this bug. We also notice
that the following error message:
========
checking for doxygen... false
configure: WARNING: *** Doxygen not found, docs will not be available
========

    We decide to configure like this:

========
$ MSGFMT=/usr/local/bin/msgfmt GMSGFMT=/usr/local/bin/msgfmt ../pidgin-2.3.0/configure --disable-doxygen
========
   
    Now gmake will build pidgin-2.3.0 successfully.

6.  Upgrade ports from pidgin-2.2.2 to pidgin-2.3.0
6.1 Modify Makefiles
    Modifiy /usr/ports/net-im/pidgin/Makefile from:
========
     15 LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
     16                 purple.2:${PORTSDIR}/net-im/libpurple
========
to:
========
     15 LIB_DEPENDS=    startup-notification-1.0:${PORTSDIR}/x11/startup-notification \
     16                 purple.3:${PORTSDIR}/net-im/libpurple
========

    Modifiy /usr/ports/net-im/libpurple/Makefile from:

========
      9 PORTNAME?=      libpurple
     10 PORTVERSION=    2.2.2
========
========
      9 PORTNAME?=      libpurple
     10 PORTVERSION=    2.3.0
========

6.2 Creating the new checksum file and extract source code

$ cd /usr/ports/net-im/pidgin/
$ make makesum
$ make extract

6.3 Create patches
$ cd /usr/ports/net-im/pidgin/work/pidgin-2.3.0
$ diff -u -p libpurple/protocols/bonjour/jabber.c.orig libpurple/protocols/bonjour/jabber.c > ../../../libpurple/files/patch-libpurple_protocols_bonjour_jabber.c
  Tow patches from pidgin-2.2.2 does while upgrading to pidgin-2.3.0
  patch-finch_libgnt_gntmain.c
  patch-libpurple_plugins_ssl_ssl-nss.c
    We also need to re-create these tow patches.

6.4 Build and install pidgin-2.3.0 by ports.
$ cd /usr/ports/net-im/pidgin/
$ make install clean

Rember to uninstall pidgin-2.2.2 and libpurple-2.2.2 before you do build
and install pidgin-2.3.0.

論壇徽章:
0
8 [報告]
發(fā)表于 2007-12-06 22:16 |只看該作者
暈,。。,這代碼,都分不清那些是命令行,那些是系統(tǒng)提示了,能分下類嗎,謝謝

論壇徽章:
0
9 [報告]
發(fā)表于 2007-12-06 22:43 |只看該作者
$ 開頭的是命令行了,時間匆忙,得趕快整理出來,過幾天就忘記了。

論壇徽章:
0
10 [報告]
發(fā)表于 2007-12-06 22:54 |只看該作者
這個漢化的很完美
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP