回文章列表
作者Storm.bbs@bbs.sayya.org (風) 看板: linux
標題Re: [問題] 在Ubuntu下編譯中出現錯誤
時間SayYA 資訊站 (2008/04/28 Mon 08:57:18)
※ 引述《pro01.bbs@ptt.cc (不懂)》之銘言:
> 我在ubuntu下 編譯安裝Sharutils 套件過程中出現錯誤

    Ubuntu repository 裏面已經有 sharutils 了,請問要自己編譯安裝有什麼特殊
    理由嗎?

> /configure完之後我輸入了make卻出現 以下的錯誤:
> root@ubuntu:/ixp/src/sharutils-4.2.1# make
> making all in po
> make[1]: Entering directory `/ixp/src/sharutils-4.2.1/po'
> xgettext --default-domain=sharutils --directory=.. \
>           --add-comments --keyword=_ --keyword=N_ \
>           --files-from=./POTFILES.in
> make[1]: xgettext: Command not found
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> make[1]: *** [sharutils.pot] Error 127
> make[1]: Leaving directory `/ixp/src/sharutils-4.2.1/po'
> make: *** [all-recursive] Error 1
> 我上網google了一下還是查不到相關解釋
> 請問有沒有大大可以解釋一下這個錯誤的訊息呢?
> 謝謝 @ @

    錯誤訊息裏面其實已經說得蠻清楚了,在 $PATH 裏面找不到 xgettext 指令。
    至於 xgettext 是什麼,Google 一下應該就可以知道。簡單的說是處理多語系
    語言檔的工具程式之一,是 GNU gettext 套件的一部分。

    假設你還是想要自己編譯 sharutils 而不使用套件庫中已經包好的 sharutils
    套件的話,請先安裝 gettext 套件。使用 apt-cache/apt-get、synaptic、
    或者 aptitude 等工具來搜尋和安裝相關套件。


--
※ Origin: SayYA 資訊站 <bbs.sayya.org> 
◆ From: adsl-070-155-125-254.sip.asm.bellsouth.net
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻