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

  • 04/27() 2100 - 2100 ALL JA
  • 04/28() tokuda net 誕生日
  • 04/28() 自動車保険期限 (OS/Browser 制限有)
  • 04/30(火) NTT 東 払込期日
  • 04/30(火) ○ 固定資産税振替・支払
  • 05/01(水) atactl check
  • 05/01(水) 不燃ごみ
  • 05/03(金) 0900-1500 東京コンテスト
  • 05/14(火) All JA ログ締切
  • 05/15(水) 不燃ごみ
  • 05/18() 木之本会議
  • 05/19() CQ Ham Radio
  • 05/19() 別冊 CQ
  • 05/25() Interface
  • 05/26() 0900 (Sat) WW WPX CW
  • 403 JNUG 総会/BOF 2017/07/08 (土)
  • 402 用途別 Emacs ( C, LaTeX, 日本語 )
  • 380 cvsweb の移行
  • 370 tamago 辞書登録
  • 368 CROSS (cross/i386-mingw32, cross/powerpc-linux ) Framework --- binutils + gcc
  • 363 Wanderlust+HyperEstraier
  • 360 evbppc 用 patch / 玄箱
  • 335 /dev/battery is missing hack | libgcc_s_pic.a is missing | samba の -PIE 問題335 ntpd monitor
  • 325 tcode頁の更新
  • 322 software |hardware
  • 321 emacs-22 | IPv6
  • 320 bulk build (Mac OS X 10.4 and NetBSD/macppc)
  • 310 Wanderlust の Namazu の挙動
  • 290 WordPress 1.2 -> 1.5 migration
  • 220 Wanderlust で日本語題名の wl-summary-print-buffer
  • 215 NetBSD/ofppc
便利なツール
Emacs
らくらく 入門
rakuraku-emacs-cover

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

2019年01月06日() 旧暦 [n年日記] [更新:"2019/01/06 04:49:24"]

#1 [dd] today's dd (きょうの dd)

CF-SX3@makoto 11:13:18/190106(~/Downloads)% \
zcat NetBSD-8.99.30-amd64-install.img.gz | sudo dd of=/dev/rsd0d bs=64k
23200+0 records in
23200+0 records out
1520435200 bytes transferred in 128.238 secs (11856354 bytes/sec)
(doses not mount root with let's note CF-SX2, with USB key boot)
but once getting boot prompt, and then
boot netbsd -a
and type sd0a/sd0b etc, went to installer

but above may not be reproducable, won't start installer now (?)



2012年01月06日(金) 旧暦 [n年日記] [更新:"2012/01/11 17:54:51"]

#1 [無線] CQ WW 160m 2011 の結果が出ていた

2011/01/31 の日記に書いた CQ WW 160m 2011 の、 結果 が出ていた
以下は Low Power non assisted だけを抜出したもの。 右の方の数字は僕が勝手に追加した (最初に書いた計算は間違っていたので、1/11 に訂正)。
CallsignScoreQSOstatedxccpointsclaimedreduced(-%)
JH1RNI32,409123152483135,1968.0
JE1SPY16,458127121463317,3425.1
JA1BJI10,2308791346512,07515.3
JA1XMS9,2467271640210,1288.8
JH7IMX4,695615103135,31211.7
JE8KGH1,9504128


JA6FFK1,64422111


JI1RXQ1,2003028


JA7KQC1,1073218


JA2AXB6721726


JK2VOC6405105


JA1CP5643515


JA7CPW1231603


JH7UJI120412


JA1CTZ92704


JR3XEX441102


JN1BBO34702


JJ1LRD12601


JH0WRT10110




2011年01月06日(木) 旧暦 [n年日記] [更新:"2011/01/14 15:36:32"]

#1 [pkgsrc] (vlc -> ffmpeg -> x264-devel) ERROR: libx264 not found

I'm trying to package vlc-1.1.5 and then required x264-devel (build 84) installed.
And then back to ffmpeg-0.6.1..
I'm getting
ERROR: libx264 not found
If browse config.err,
heck_ld
check_cc
BEGIN /export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c
    1   extern int x264_encoder_encode();
    2   int main(void){ x264_encoder_encode(); }
END /export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c

cc -I/usr/pkg/include -I/usr/include -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_XOPEN_SOURCE=600 -DPIC -O2
-I/usr/pkg/include -I/usr/include -std=c99
-fomit-frame-pointer -fPIC -pthread -c -o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.010554aa.o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.006186aa.c

cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-o
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.002727aa
/export/pkgsrc/multimedia/ffmpeg/work/ffmpeg-0.6.1/tmp/ffconf.010554aa.o
-lz -lbz2 -pthread -lm -lmp3lame -lm -ltheoraenc -ltheoradec
-logg -lvorbisenc -lvorbis -logg -lx264 -lm

ld: cannot find -lx264
ERROR: libx264 not found
--enable-shared is required at x264-devel

The patches for x264-devel and ffmpeg:

patches:
x264-devel (20100201) build 84
ffmpeg-0.6.1
util/input_slider.cpp: In member function 'virtual void SoundSlider::wheelEvent(QWheelEvent*)':
util/input_slider.cpp:234: warning: converting to 'int' from 'float'
  CXX    util/libqt4_plugin_la-customwidgets.lo
util/customwidgets.cpp:398:3: error: #error FIXME
util/customwidgets.cpp: In function 'int qtEventToVLCKey(QKeyEvent*)':
util/customwidgets.cpp:400: error: expected primary-expression before 'else'
util/customwidgets.cpp:400: error: expected `;' before 'else'
gmake[6]: *** [util/libqt4_plugin_la-customwidgets.lo] Error 1
gmake[6]: Leaving directory `/export/pkgsrc/multimedia/vlc/work/vlc-1.1.5/modules/gui/qt4'
cat -n vlc-1.1.5/modules/gui/qt4/util/customwidgets.cpp | sed -n 388,399p
   388  int qtEventToVLCKey( QKeyEvent *e )
   389  {
   390      int qtk = e->key();
   391      uint32_t i_vlck = 0;
   392
   393      if( qtk <= 0xff )
   394          /* VLC and X11 use lowercase whereas Qt uses uppercase */
   395  #if defined( __STDC_ISO_10646__ ) || defined( _WIN32 )
   396          i_vlck = towlower( qtk );
   397  #else
   398  # error FIXME
   399  #endif
just delete these '#if else endif' block


2009年01月06日(火) 旧暦 [n年日記] [更新:"2009/01/06 12:59:45"]

#1 [gcc] gcc-4.2.1 で --enable-checking

In info from gcc-4.2.1, I read in 9.2 Overview, --enable-checking is explained. It is said as
For safety, it is useful to configure GCC with `--enable-checking'. Although this results in a significant performance penalty (since all tree types are checked at run-time), and is therefore inappropriate in a release version, it is extremely helpful during the development process.
So I have tried for i386 as:
   138  11:09   cd /export/local-src/
   140  11:09   mkdir gcc-4.2.1-i386-enable-checking
   141  11:09   cd gcc-4.2.1-i386-enable-checking
   142  11:10   ../gcc-4.2.1-dont-modify/configure --host=i386--netbsd --enable-languages=c
   143  11:10   gmake
But I am getting
../../gcc-4.2.1-dont-modify/gcc/libgcc2.c:673: warning: alignment of '__clz_tab' is greater than maximum object file alignment. Using 16
../../gcc-4.2.1-dont-modify/gcc/libgcc2.c:673: warning: alignment of '__clz_tab' is greater than maximum object file alignment. Using 16
/var/tmp//ccXhI8ct.s: Assembler messages:
/var/tmp//ccXhI8ct.s:377: Error: alignment not a power of 2
gmake[4]: *** [libgcc/./_clz.o] Error 1
gmake[4]: Leaving directory `/export/local-src/gcc-4.2.1-i386-enable-checking/gcc'
gmake[3]: *** [libgcc.a] Error 2
Shall I look for 4.2.4 instead of 4.2.1 ?
/export/local-src/gcc-4.2.4-enable-checking/./gcc/xgcc -B/export/local-src/gcc-4.2.4-enable-checking/./gcc/ -B/usr/local/i386--netbsd/bin/ -B/usr/local/i386--netbsd/lib/ -isystem /usr/local/i386--netbsd/include -isystem /usr/local/i386--netbsd/sys-include -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../gcc-4.2.4/gcc -I../../gcc-4.2.4/gcc/. -I../../gcc-4.2.4/gcc/../include -I./../intl -I../../gcc-4.2.4/gcc/../libcpp/include -I../../gcc-4.2.4/gcc/../libdecnumber -I../libdecnumber -DL_clz -c ../../gcc-4.2.4/gcc/libgcc2.c -o libgcc/./_clz.o
../../gcc-4.2.4/gcc/libgcc2.c:673: warning: alignment of '__clz_tab' is greater than maximum object file alignment. Using 16
../../gcc-4.2.4/gcc/libgcc2.c:673: warning: alignment of '__clz_tab' is greater than maximum object file alignment. Using 16
/var/tmp//ccnOUlHg.s: Assembler messages:
/var/tmp//ccnOUlHg.s:377: Error: alignment not a power of 2
gmake[4]: *** [libgcc/./_clz.o] Error 1
gmake[4]: Leaving directory `/export/local-src/gcc-4.2.4-enable-checking/gcc'
gmake[3]: *** [libgcc.a] Error 2
Even with 4.2.4, the same thing on this issue as above.
375          .stabs  "DWunion:t236=237=u8s:235,0,64;ll:223,0,64;;",128,0,423,0
376  .globl ___clz_tab
377          .align 5,0x90
378          .type   ___clz_tab, @object
379          .size   ___clz_tab, 256
380  ___clz_tab:
381          .byte   0
382          .byte   1
383          .byte   2
384          .byte   2
To my understanding, align 5 means align 2^5, two to the power of 5, = 32, Leaning to the problem gas side ?
From the info for gas:
The first expression (which must be absolute) is the alignment required, as described below.
....
The way the required alignment is specified varies from system to system. For the arc, hppa, i386 using ELF, i860, iq2000, m68k, or32, s390, sparc, tic4x, tic80 and xtensa, the first expression is the alignment request in bytes.
No, it looks gcc side problem, or gcc thinks it is two to the power of, and gas thinks it is in bytes.

gcc (GCC) 4.1.2 20061021 prerelease (NetBSD nb3 20061125)
output as align 32 (but this is without --enable-checking)b

 10  .globl __clz_tab
 11          .section        .rodata
l 12          .align 32
 13          .type   __clz_tab, @object
 14          .size   __clz_tab, 256
the patch applied.
--- gcc-4.2.4/gcc/config/i386/bsd.h~	2007-09-02 00:28:30.000000000 +0900
+++ gcc-4.2.4/gcc/config/i386/bsd.h	2009-01-06 12:51:08.000000000 +0900
@@ -70,7 +70,7 @@
    to a multiple of 2**LOG bytes.  */
 
 #define ASM_OUTPUT_ALIGN(FILE,LOG)	\
-  if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", (LOG))
+  if ((LOG)!=0) fprintf ((FILE), "\t.align %d\n", 1<<(LOG))
 
 /* This is how to store into the string BUF
    the symbol_ref name of an internal numbered label where
--- gcc-4.2.4/gcc/config/i386/netbsd.h~	2004-07-18 06:09:14.000000000 +0900
+++ gcc-4.2.4/gcc/config/i386/netbsd.h	2009-01-06 12:55:50.000000000 +0900
@@ -41,7 +41,7 @@
    segment.  */
 #undef ASM_OUTPUT_ALIGN
 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
-  if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))
+  if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", 1<<(LOG))
 
 /* Profiling routines, partially copied from i386/osfrose.h.  */
 
and now getting:
checking for i386--netbsd-gcc... /export/local-src/gcc-4.2.4-enable-checking/./prev-gcc/xgcc -B/export/local-src/gcc-4.2.4-enable-checking/./prev-gcc/ -B/usr/local/i386--netbsd/bin/
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
config.log shows:
/usr/bin/ld: warning: type and size of dynamic symbol `_fini' are not defined
/usr/bin/ld: warning: cannot find entry symbol start; defaulting to 08048334
/usr/lib/crt0.o: In function `___start':
: undefined reference to `main'
/export/local-src/gcc-4.2.4-enable-checking/./prev-gcc/libgcc.a(__main.o): In function `__do_global_ctors':
/export/local-src/gcc-4.2.4-enable-checking/gcc/../../gcc-4.2.4/gcc/libgcc2.c:2146: undefined reference to `_atexit'


2008年01月06日() 旧暦 [n年日記] [更新:"2008/01/07 11:16:01"]

#2 [無題] 下大和田谷津田にて探鳥の会

下大和田谷津田は東金道路、中野 IC 近く。自宅からは約 20km 弱。 高速道路を使わなくても 30 分足らずで着く。
カシラダカ
ハクセキレイ
キセキレイ
セグロセキレイ
モズ
ノスリ
メジロ
ホオジロ
ジョウビタキ
エナガ
シジュウカラ
アリスイ(声だけ)
ルリビタキ(同上)
アカハラ(同上)
ウグイス(同上地鳴き)
ベニマシコ(自分では見ていない)
カシラダカは初めて見た。

終ってから午後に 火おこしにも挑戦(火がつくまでは至らず)


#1 [MTA][sendmail][spam] User unknown を捨てる方法

google で
user unknown を捨てる sendmail 
で探したら、次の URL が最初に出て来た LUSER_RELAY というのがあるらしい。Local User Relay の意味で、 「メールアドレスが Local User なのに、実は Local User ではない宛先を処理する」 という機能ということだ。 何と にも一応書いてある。
define(`LUSER_RELAY',`local:処理する宛先')dnl 
と書いておくと、 「メールアドレスが Local User なのに、実は Local User ではない宛先」のメールは 「処理する宛先」に送られるようになる。で、この機能を使って User unknown を知らせるメールを元々の送信元には送り返さずに、 別の宛先に転送するように出来るようになる。 これにより、破棄も可能ということだ。 があるということだ。

この設定後、次のような記録が残っていれば、hoge at example.com に送られているということになる。

[17640]: m06DmxTP017640: <reahi at example.com>... User unknown
[17640]: m06DmxTP017640: from=<jra at axel.ocn.ne.jp>, size=7429, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=[192.168.1.1]
[17640]: m06DmxTR017640: from=<>, size=11188, class=0, nrcpts=1, msgid=<200801061351.m06DpMDP008113 at mail.example.com>, proto=ESMTP, daemon=MTA, relay=[192.168.1.1]
[29920]: m06DmxTR017640: to=<hoge at example.com>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=41365, dsn=2.0.0, stat=Sent
... しかし全てが、うまく処理されている訳でもなさそう ... と思ったのは例によって勘違いで、 指定した宛先に User unknown を知らせるメールが届く ? (それが上に書いてある記録と一致)

LUSER_RELAY の説明 FAQ を見ると、何か違うような気もする
試しているのは 8.13.3 なので、8.14.4 に入替えようとしたが、make install がちょっと変なので、 とりあえず、元の 8.13.3 に戻す。pkgsrc/mk と pkgsrc/pkgtools を更新して、もう一度 8.14.4 を make package.

これでやっと LUSER_RELAY が機能するようになった気がする (でもまだ User unknown メールは時々届く)。

別件で gmail にメールを送ろうとすると:

あるメールサーバから gmail にメールを送ろうとすると次のようになる。
550-5.7.1 [218.219.xx.yy] The IP you're using to send email is not authorized
550-5.7.1 to send email directly to our servers. Please use
550 5.7.1 the SMTP relay at your service provider instead. xxxxxxxxxrvf.1
上記 IP address は書替えてあります。これは何かな。google さんに相談しても 何も出て来ない ? -> Dynamic IP smtp is now being blocked.
The IP is not really a dynamic, instead fixed one....


2007年01月06日() 旧暦 [n年日記] [更新:"2007/01/08 00:25:49"]

#1 [無題] 猫の診察

猫の具合が良くないので、診てもらう。朝 8:50 に行って、 レントゲンを撮って、お腹の水を抜いてもらって、血液検査。 どうも肝蔵が良くないらしい。薬をもらって来た。戻ったのは 11:40 頃だった。 でも、その後、見かけ上は元気になっている。


2005年01月06日(木) 旧暦 [n年日記] [更新:"2005/01/07 10:36:17"]

#1 [NetBSD][MacOSX] 80G の disk に NetBSD と Mac OS X

Hitachi 印の IC25N080ATMR04 (80G) を買って来た。16,779 円。 +5% の一年保証付 (これをすすめられる時と、すすめられない時がある。 すすめられない時にはお願いするようにしている)。 4200 rpm だが、これしかなかったので。 PowerBook G4 に入れて、Mac OS X の 10.3 の disk で 区画分。7 つに分けたつもり。 しかし、設定出来る type の種類が次の四通りしかない。
  • HFS 拡張
  • HFS 拡張 Journaling
  • Unix File System
  • Free
HFS がない。最近ある人に、 hfsutils が動かない。と聞かれ、それは HFS 拡張にしているからではないか ? + なしの HFS にする必要がある、と言ったけれど、出来るかなぁ ?

OS X を入れるには、区画分した後に再起動する必要がある。 OS X 用以外は後で NetBSD の pdisk で変更出来るので、実は型は 気にしない。

次に、作ったばかりの 2.99.12 の CD-R で起動:

boot cd:,ofwboot.elf
pdisk で見ると、15 に分れている。

pdisk /dev/wd0c:

次のものは pdisk を使って、
d 8       8 を消す
c p8      p8 (の開始セクタ)から新しく作る
1031168   大きさはこの数字
a         型は a
などと入力して type だけ変更した後のもの。
Partition map (with 512 byte blocks) on '/dev/wd0c'
 #:                type name                    length   base      ( size )
 1: Apple_partition_map Apple                       63 @ 1        
 2:           Apple_HFS Apple_HFS_Untitled_4      8192 @ 64        (  4.0M)
 3:          Apple_Free                         253952 @ 8256      (124.0M)
 4:           Apple_HFS Apple_HFS_Untitled_2  71041024 @ 262208    ( 33.9G)
 5:          Apple_Boot eXternal booter          17408 @ 71303232  (  8.5M)
 6:           Apple_UFS Apple_UFS_Untitled_3  10468352 @ 71320640  (  5.0G)
 7:          Apple_Boot eXternal booter          17408 @ 81788992  (  8.5M)
 8:     Apple_UNIX_SVR2 root                   1031168 @ 81806400  (503.5M) S0 RUFS k0  /
 9:          Apple_Boot eXternal booter          17408 @ 82837568  (  8.5M)
10:     Apple_UNIX_SVR2 swap                   1031168 @ 82854976  (503.5M) S1  SFS k0  (swap)
11:          Apple_Boot eXternal booter          17408 @ 83886144  (  8.5M)
12:     Apple_UNIX_SVR2 usr                    5225472 @ 83903552  (  2.5G) S2  UFS k0  /usr
13:          Apple_Boot eXternal booter          17408 @ 89129024  (  8.5M)
14:     Apple_UNIX_SVR2 export                67155040 @ 89146432  ( 32.0G) S2  UFS k0  /usr
15:          Apple_Free Extra                       16 @ 156301472
これは次のようにするつもり。
 4 Mac OS X          34G
 6 Mac OS pkgsrc      5G
 2 ofwboot.elf            4M
 8 NetBSD /             500M
10 NetBSD swap          500M
12 NetBSD /usr        2.5G
14 NetBSD /export    32G
今見ると、swap をもう少し増せばよかった。

disklabel wd0:

型を変更した後で disklabel で見ると次のようになっている。
16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:   1031168  81806400     4.2BSD   1024  8192     0  # (Cyl.  81157*-  82180*)
 b:   1031168  82854976       swap                     # (Cyl.  82197*-  83220*)
 c: 156301488         0     unused      0     0        # (Cyl.      0 - 155060)
 d:      8192        64        HFS                     # (Cyl.      0*-      8*)
 e:    253952      8256    unknown                     # (Cyl.      8*-    260*)
 f:  71041024    262208        HFS                     # (Cyl.    260*-  70737*)
 g:   5225472  83903552     4.2BSD   2048 16384     0  # (Cyl.  83237*-  88421*)
 h:     17408  71303232    unknown                     # (Cyl.  70737*-  70754*)
 i:  10468352  71320640    unknown                     # (Cyl.  70754*-  81139*)
 j:     17408  81788992    unknown                     # (Cyl.  81139*-  81157*)
 k:     17408  82837568    unknown                     # (Cyl.  82180*-  82197*)
 l:     17408  83886144    unknown                     # (Cyl.  83220*-  83237*)
 m:     17408  89129024    unknown                     # (Cyl.  88421*-  88438*)
 n:  67155040  89146432     4.2BSD   2048 16384     0  # (Cyl.  88438*- 155060*)
 o:        16 156301472    unknown                     # (Cyl. 155060*- 155060)
harry# 
このまま sysinst に行くと、ちょっと変だったので、 a, g n 区画について newfs (newfs /dev/rwd0a )をしておく。


2004年01月06日(火) 旧暦 [n年日記]

#2 [NetBSD][build.sh] build.sh

これって自動 ? 素晴しい やはり。

20040103-UTC + macppc-040101:

...
cvs add: ./lib/libc/arch/powerpc/sys/syscall.S has already been entered
Reversed (or previously applied) patch detected!  Assume -R? [y] n
Apply anyway? [n] n
1 out of 1 hunks ignored--saving rejects to distrib/sets/lists/base/md.macppc.rej
2 out of 2 hunks failed--saving rejects to distrib/sets/lists/comp/md.macppc.rej
3 out of 4 hunks failed--saving rejects to distrib/sets/lists/man/mi.rej
2 out of 2 hunks failed--saving rejects to distrib/sets/lists/comp/ad.powerpc.rej

#1 [TeX][gs][NetBSD][pkgsrc] ttf と CID

ghostscript-7.07/doc/CJK.htm には次のようにあるが、そうなっていない 気もする... と書いたが、そうなっているようだ。
If the given file is TrueType font, CIDFnmap automatically detect it, and execute .openttcidfont:
/HG-MinchoL (/usr/openwin/lib/locale/ja/X11/fonts/TT/HG-MinchoL.ttf) ;
cd /usr/pkg/share/ghostscript/7.07/lib

CIDFnmap (NG):

ttyp5:root@harry  7:58:14/040106(...7.07/lib)# sed -e '/^%/d' -e '/^$/d' CIDFnmap
(CIDFnmap.CJK) .runlibfile

CIDFnmap.CJK:

ttyp5:root@harry  7:58:21/040106(...7.07/lib)# sed -e '/^%/d' -e '/^$/d' CIDFnmap.CJK
/Adobe-Japan1           /Kochi-Mincho           ; % CIDFnmap.Koc
/Ryumin-Light           /Kochi-Mincho           ; % CIDFnmap.Koc
/GothicBBB-Medium       /Kochi-Gothic           ; % CIDFnmap.Koc

CIDFnmap.Koc:

ttyp5:root@harry  7:58:25/040106(...7.07/lib)# sed -e '/^%/d' -e '/^$/d' CIDFnmap.Koc
/Kochi-Mincho   (kochi-mincho-subst.ttf) ;
/Kochi-Gothic   (kochi-gothic-subst.ttf) ;

gs_res.ps:

ttyp5:root@harry  7:58:31/040106(...7.07/lib)# grep /usr/pkg  gs_res.ps
  /FontResourceDir (/usr/pkg/share/ghostscript/fonts/) readonly .forcedef       % pssys'params is r-o
  /GenericResourceDir (/usr/pkg/share/ghostscript/Resource/) readonly .forcedef % pssys'params is r-o

ghostscript/fonts/:

ttyp5:root@harry  7:58:59/040106(...7.07/lib)# cd ../../fonts/
ttyp5:root@harry  7:59:15/040106(...ghostscript/fonts)# ls -l kochi*
-rw-r--r--  1 root  wheel  8164780 Jan  3 18:55 kochi-gothic-subst.ttf
-rw-r--r--  1 root  wheel  9360128 Jan  3 18:55 kochi-mincho-subst.ttf
ttyp5:root@harry  7:59:22/040106(...ghostscript/fonts)# 

Error: /undefinedresource in --findresource--:

GNU Ghostscript 7.07 (2003-05-17)
Copyright (C) 2003 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from ./n019003l.pfb... 1979360 625718 1723008 417358 2 done.
Error: /undefinedresource in --findresource--
Operand stack:
Ryumin-Light-EUC-H Font Ryumin-Light-EUC-H (Ryumin-Light-EUC-H) 12 Ryumin-Light EUC-H EUC-H --dict:0/10(G)--
これって上の設定が効いていないという意味の気がする。 CIDFnmap.Koc が読まれていないかな。

CIDFnmap 変更:

ttyp5:root@harry  8:06:04/040106(...7.07/lib)# sed -e '/^%/d' -e '/^$/d' CIDFnmap
(CIDFnmap.Koc) .runlibfile
(CIDFnmap.CJK) .runlibfile
これで出た気がする。 自分で確認するか、 未確認のまま報告して 他の人に試してもらうか。


2002年01月06日() 旧暦 [n年日記]

#1 [無題] 6:00 もう起きてしまった。



2001年01月06日() 旧暦 [n年日記]

#1 [Emacs] 21.0.94+emcws+elips-4121

まだこれを使っていなかったので、(elips-Ml の #4121 メール patch を適用してから)
makoto@harry ■16:18:12/010106(...making-macppc/emcws-21.0.94)> \
../../making-src/emcws-21.0.94+elips-4121/configure \
--with-wnn4 \
--with-wnn-includes=/usr/local/include/wnn \
--with-wnn-libraries=/usr/local/lib \
--with-canna \
--with-canna-includes=/usr/local/canna/include \
--with-canna-libraries=/usr/local/canna/lib \
--with-sj3 \
--with-x \
--with-x-toolkit \
--with-gc \
--x-libraries=/usr/pkg/lib:/usr/X11R6/lib:/usr/local/lib \
--x-includes=/usr/pkg/include:/usr/X11R6/include:/usr/local/include \
何だか --with-gc のところが変だけれど。
gcc -c  -Demacs -DHAVE_CONFIG_H -DUSE_LUCID  -I. -I/amd/komekome/export/making-src/emcws-21.0.94+elips-4121/src    -I/usr/pkg/include -I/usr/X11R6/include -I/usr/local/include   -I/usr/local/include/wnn -I/usr/local/canna/include -g -O2 /amd/komekome/export/making-src/emcws-21.0.94+elips-4121/src/process.c
gcc: Internal compiler error: program cpp got fatal signal 11
要 crashme test かな。

patch は X-Face とは関係なかったようだ。:

  • (make install したら) Wanderlust の icon が表示されなくなってしまった。
    /usr/local/share/emacs/21.0.94/etc/wl/icons/ に入っている必要があるようだ。これって /usr/local/share/emacs/etc/wl/icons/ の方がいいと思う。多分。

X-Face::

X-Face は時々表示されたり、 attach/2001-0106.wl-x-face.png 8bit 文字のまま だったり。
makoto@harry ■17:47:40/010106(...emacs/site-lisp)> ls -l x-face*
-rw-r--r--  1 makoto  wheel  80579 Feb 24  2000 x-face.el
-rw-r--r--  1 root    wheel  69950 Jul  1  2000 x-face.elc
makoto@harry ■17:47:51/010106(...emacs/site-lisp)> ls -l a-files/x-fac*
-rw-r--r--  1 root  wheel  42537 Dec 23 14:18 a-files/x-face-e21.el
-rw-r--r--  1 root  wheel  29488 Aug 15  1999 a-files/x-face-mule.el
-rw-r--r--  1 root  wheel  21384 Aug 15  1999 a-files/x-face-mule.elc
これはまずい。全て、見えないところに移動して、 ~/.wl に、(x-face-e21.el)の中に書いてある部分から、
(require 'x-face-e21)
       (setq wl-highlight-x-face-func 'x-face-decode-message-header)
       (define-key wl-summary-mode-map "\C-x4s" 'x-face-save)
       (define-key wl-draft-mode-map "\C-x4i" 'x-face-insert)
       ;; "\M-t" key is reserved for wl command.
       (define-key wl-draft-mode-map "\M-\C-t" 'x-face-show)
       ;;
       ;; If a file name has no directory component, it should be
       ;; found in the directory which is specified by the option
       ;; `x-face-image-file-directory'.
       (setq x-face-default-xbm-file "YourFace.xbm")
       ;;
       (add-hook 'wl-mail-setup-hook 'x-face-insert)
と書いたら、やっと正常に見えるようになった。

と思ったら、まだ bitmap/x-face-mule が...:

x-face-decode-message-header は site-lisp/bitmap/x-face-mule と x-face-e21 の両方に定義してあって、前者が先に見つかってしまっていた。 site-lisp/bitmap を site-lisp/.bitmap と名前を変えると、 今度は本当に大丈夫。



最近の日記
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)
以上、10 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)