忍者ブログ

素人翻訳

適当に翻訳する。

pango、backend の問題による構築失敗

出典:Pango installation fails due to problems with backends
Bloehdian - 2013年1月30日 午後 01:34

背後実行プログラムに関する問題によって pango のインストールが失敗する。
皆さん、こんにちは。
RHEL(Red Hat Enterprise Linux) に pango をインストールするとき、configure の段階で以下のエラーが出る。

checking for HARFBUZZ... no
no
checking for CoreText availability... no
checking for CAIRO... yes
checking which cairo font backends could be used... none
configure: Disabling cairo support
configure: error: *** Could not enable any backends.
*** Must have at least one backend to build Pango.

config.log を見ると、どうやら quartz-cairo-font パッケージを欠いていることが原因らしい。

configure:18305: checking for CAIRO
configure:18312: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
configure:18315: $? = 0
configure:18329: $PKG_CONFIG --exists --print-errors "cairo >= $cairo_required"
configure:18332: $? = 0
configure:18372: result: yes
configure:18428: $PKG_CONFIG --exists --print-errors "cairo-quartz-font >= $cairo_required"
Package cairo-quartz-font was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-quartz-font.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-quartz-font' found
configure:18431: $? = 1
configure:18446: checking which cairo font backends could be used
configure:18452: result: none
configure:18454: Disabling cairo support
configure:18605: error: *** Could not enable any backends.

これには少し驚いた。というのは、quartz は無効になっているのが基本だと思っていたから。

インストールの命令文は次の通り。

export PKG_CONFIG_PATH=$PRJ/gtk+/glib/lib/pkgconfig:$PRJ/gtk+/cairo/lib/pkgconfig:$PRJ/gtk+/pixman-0.22.0/lib/pkgconfig:$PRJ/gtk+/freetype/lib/pkgconfig:$PRJ/gtk+/fontconfig/lib/pkgconfig

./configure --prefix=$PRJ/gtk+/pango-1.31.2

($PRJ はプロジェクトの置かれた階層。)

このエラー通知は pango 最新版(1.32.6)特有の問題だ、という情報をどこかで見たので、三つの版(1.31.2, 1.32.5, 1.32.6)で試してみたが駄目だった。

Cairo の版は 1.12.8 。

わかる人いますか。

お願いします。

Bloehdian

(略)

(一名の回答を省略。)

Bloehdian - 2013年2月1日 午後 12:56

問題の原因がわかった。

Harfbuzz が無いために、背後実行プログラムの読み込みが止められていた。典型的な「auto」地獄だと思う。Harfbuzz が明らかに pango 構築の必須要素であるにもかかわらず、configure は Harfbuzz 検出に失敗した時点では停止しない。奇妙だ。

追記訳註:
pango の構築には、harfbuzz が使用可能な freetype2 有りで構築された fontconfig2 が必要。

PR

emacs、構築、ユニコード

emacs 構築時のエラーについて

出典:http://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00116.html

"make" error : "Cannot open load file: case-table "

投稿者:zhongwenjia
題:"make" error : "Cannot open load file: case-table "
投稿日:2008年12月6日(土) 14:28:41 +0800

cvs を利用して emacs をインストールしようとしている。ubuntu 8.04 Hardy Heron 上で scim を使いたい。私が見つけた .deb packages はどれも scim に切り替えることができなかったから。そのため、漢字が入力できない。
しかし、「make」や「make bootstrap」でエラーが出る。

手順:

cvs -z3 -d:pserver:address@hidden:/cvsroot/emacs co emacs

$ sudo apt-get install build-essential
$ sudo apt-get install xorg-dev
$ sudo apt-get install libgtk2.0-dev
$ sudo apt-get install texinfo
$ sudo apt-get install libjpeg-dev libgif-dev libtiff4-dev

./configure --prefix=/opt/emacs23

make(or make bootstrap)

出力されたエラー通知

get error msg:
Loading loadup.el (source)...
Using load-path (/home/eric/软件/工具/emacs/emacs/lisp /home/eric/软件/工具/emacs/emacs/lisp/emacs-lisp /home/eric/软件/工具/emacs/emacs/lisp/language /home/eric/软件/工具/emacs/emacs/lisp/international /home/eric/软件/工具/emacs/emacs/lisp/textmodes)
Loading emacs-lisp/byte-run (source)...
Loading emacs-lisp/backquote (source)...
Loading subr (source)...
Loading version.el (source)...
Loading widget (source)...
Loading custom (source)...
Loading emacs-lisp/map-ynp (source)...
Loading cus-start (source)...
Loading international/mule (source)...
Loading international/mule-conf.el (source)...
Loading env (source)...
Loading format (source)...
Loading bindings (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/files.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/cus-face.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/faces.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/minibuffer.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/button.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/startup.el (source)...
Lists of integers (garbage collection statistics) are normal output
while building Emacs; they do not indicate a problem.
((120350 . 7816) (6581 . 3) (604 . 152) 485489 27251 (40 . 1) (22 . 5) (9618 . 6321))
Loading /home/eric/软件/工具/emacs/emacs/lisp/ldefs-boot.el (source)...
((142461 . 5639) (9403 . 0) (611 . 145) 1438701 27251 (64 . 33) (22 . 5) (18010 . 2150))
Loading /home/eric/软件/工具/emacs/emacs/lisp/abbrev.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/simple.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/help.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/jka-cmpr-hook.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/epa-hook.el (source)...
Loading /home/eric/软件/工具/emacs/emacs/lisp/international/mule-cmds.el (source)...
Cannot open load file: case-table
make[1]: *** [bootstrap-emacs] 错误 255
make: *** [src] 错误 2

lisp フォルダ内に case-table.el があるのに、何が起きているのか。助けて欲しい。

./configure は問題ない。

出典:http://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00124.html

Re: "make" error : "Cannot open load file: case-table"

投稿者:zhongwenjia
題:Re: "make" error : "Cannot open load file: case-table "
投稿日:2008年12月6日(土) 20:58:33 +0800

emacs の場所を /home/eric/工具/emacs/ から /home/eric/ に移動したら上手くいった。
ということは、漢字の階層名がエラーの原因だったのだろう。

フランス語でも同じらしい。

出典:http://www.zebulon.fr/questions-reponses/installation-emacs-24-2-encore-5658.html

emacs 24.2 のインストール

投稿者:Stéphane Dutailly
投稿日:2013年4月2日

こんにちは

全システムを再インストールして、emacs 24.2 も入れるつもりです。
ファイル一式をダウンロードして、apt-get build-dep emacs から始めました。
cd ../emacs24.2 で移動し、次いで ./configure を実行。
ここまでは全てうまく行きました。その後 make を実行した結果:

Loading loadup.el (source)...
Using load-path (/home/dut/Téléchargements/emacs-24.2/lisp
/home/dut/Téléchargements/emacs-24.2/lisp/emacs-lisp
/home/dut/Téléchargements/emacs-24.2/lisp/language
/home/dut/Téléchargements/emacs-24.2/lisp/international
/home/dut/Téléchargements/emacs-24.2/lisp/textmodes)
Loading emacs-lisp/byte-run...
Loading emacs-lisp/backquote...
Loading subr...
Loading version.el (source)...
Loading widget...
Loading custom...
Loading emacs-lisp/map-ynp...
Loading cus-start...
Loading international/mule...
Loading international/mule-conf...
Loading env...
Loading format...
Loading bindings...
Loading window...
Loading files...
Loading cus-face...
Loading faces...
Loading button...
Loading startup...
Loading /home/dut/Téléchargements/emacs-24.2/lisp/loaddefs.el (source)...
Loading minibuffer...
Loading abbrev...
Loading simple...
Loading help...
Loading jka-cmpr-hook...
Loading epa-hook...
Loading international/mule-cmds...
Cannot open load file: case-table
make[1]: *** [bootstrap-emacs] Erreur 1
make[1]: quittant le répertoire « /home/dut/Téléchargements/emacs-24.2/src »
make: *** [src] Erreur 2

何が原因かわかりますか。どうしたらいいのか全くわからないので、よろしくお願いします。

追記、case-table.el はディレクトリに確かにあります。

Yves Baumes より

Stéphane さん、こんにちは

2013年4月2日 22:32:39 +0100 の Stéphane Dutailly さんの書き込み:

Cannot open load file: case-table
make[1]: *** [bootstrap-emacs] Erreur 1
make[1]: quittant le répertoire « /home/dut/Téléchargements/emacs-24.2/src »
make: *** [src] Erreur 2

同じエラーが出たことはないので、この問題についてはよく知らないけれども、Google で検索したところ、同じ問題を抱えていた人がいるようです。

こちらが参照URLです:
http://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00124.html

どうもユニコードを含んだ階層名が問題の原因のようです。あなたのソースコードは「Téléchargement」というフォルダにあるようですね。ソースコードを解凍し直して、/home/dut/ からの直接コンパイルを試してみては。

Stéphane Dutailly より

2013年4月2日 23:34、Yves Baumes の書き込み:

Stéphane さん、こんにちは

2013年4月2日 22:32:39 +0100 の Stéphane Dutailly さんの書き込み:

Cannot open load file: case-table
make[1]: *** [bootstrap-emacs] Erreur 1
make[1]: quittant le répertoire « /home/dut/Téléchargements/emacs-24.2/src »
make: *** [src] Erreur 2

同じエラーが出たことはないので、この問題についてはよく知らないけれども、Google で検索したところ、同じ問題を抱えていた人がいるようです。

こちらが参照URLです:
http://lists.gnu.org/archive/html/help-gnu-emacs/2008-12/msg00124.html

どうもユニコードを含んだ階層名が問題の原因のようです。あなたのソースコードは「Téléchargement」というフォルダにあるようですね。ソースコードを解凍し直して、/home/dut/ からの直接コンパイルを試してみては。

これでした。Yves さん、ありがとうございます。
Stéphane より。

カレンダー

03 2024/04 05
S M T W T F S
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

最新コメント

[08/18 NONAME]
[05/18 NONAME]
[04/09 NONAME]
[03/21 NONAME]
[03/20 NONAME]

最新記事

ブログ内検索

広告

バーコード

広告