hns - 日記自動生成システム - Version 2.19.9

先月 2008年12月 来月
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 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2008年12月05日(金) 旧暦 [n年日記] [更新:"2008/12/06 02:13:43"]

#1 [NetBSD][gcc] 長い uname で cross/gcc を作ると

The machine who gives a little bit long name like:
uname -r
4.0.0_PATCH
You may encounter the situation:
mkdir build-i386-unknown-netbsdelf4.0.0./libiberty
Configuring in build-i386-unknown-netbsdelf4.0.0./libiberty
configure: error: cannot find sources (xmalloc.c) in ../../gcc-4.1.1/libiberty
You may avoid this problem by giving explicit --host= args like below:
../gcc-4.1.1/configure --target=m68hc11-none --host=i386--netbsd --enable-languages=c
See the diary on 2008/07/24 also ( most in Japanese).

#2 [pkgsrc] print/ja-vflib-lib

I am getting following problem.
cd /export/pkgsrc/print/ja-vflib-lib/work.modena/VFlib2-2.24.2 &&  -rw jTeX /usr/pkg/share/VFlib/2.24.2
-rw: not found
So I needed following line for pkgsrc/print/ja-vflib-lib/Makefile
+USE_TOOLS+=            pax
Am I doing something wrong ?

Yes I was wrong, Makefile has been updated May 2008.

don't know how to create bitmap font for rml.:

mktexpk: don't know how to create bitmap font for rml.
See my diary on 2006/07/27 for the problem and diary on 2006/08/17 for the solution.
19:12   sudo vi /usr/pkg/share/texmf-local/dvipdfm/cid-x.map
19:13   sudo vi /usr/pkg/share/texmf-local/dvipdfm/dvipdfmx.cfg
add two lines for cid-x.map
rml H Ryumin-Light
gbm H GothicBBB-Medium
uncomment the line for dvipdfmx.cfg: next to the line of (from)
 "%% GhostScript (Unix/Linux):"
 %D ...
(to)
 "%% GhostScript (Unix/Linux):"
 D ...

#3 [pkgsrc] gid conflicts

いつもは id-utils を使っている。これには gid という 正規表現で識別子を表示してくれる操作がある。 きょうは sha256 *1 が要るかなと
sysutils/coreutils
を入れようとしたら、gid (という名前)が conflict していると言われた。 通常 id 操作を使うが、これの GNU 版なので gid という名前になる。 とりあえず、それだけの問題なので、Makefile を編集して conflict 条項を 消して make package した。この後で id-utils を pkg_add して上書きすれば、 多分大丈夫 (かな)。 実際、これが問題になる前に作った package だったのか、 pkg_add は通った (良く見たら、手元で自分で使った package を使っていた)。 devel/idutils は、やはり CONFLICTS が書いてある。

それで、 id-utils 側の名前を変更すればいいのだと思うけれど、そうすると elscreen も直すことになるから、ちょっと面倒。

coreutils の方に options.mk を付けて gid は ggid という名前で設置 ということにしてもらえないかな。id ってそれほど重要な操作とは思え ないので。要するに(その) ggid に出来て id に出来ない機能があるか どうかが一番の問題。

coreutils 側に option 指定がある時は idutils 側で CONFLICT 無、なんて複雑すぎるかな。
*1: 実際の名前は sha256sum



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)