|
|
便利なツール Emacs らくらく 入門 ![]() |
|
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 -aand 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 に訂正)。
( つっこみ )
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 foundIf 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 #endifjust 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 gmakeBut 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 16Shall 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.oEven 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 2To 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.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)
10 .globl __clz_tab 11 .section .rodata l 12 .align 32 13 .type __clz_tab, @object 14 .size __clz_tab, 256the 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/config.log shows: /usr/bin/ld: warning: type and size of dynamic symbol `_fini' are not defined ( つっこみ )
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... しかし全てが、うまく処理されている訳でもなさそう ... と思ったのは例によって勘違いで、 指定した宛先に User unknown を知らせるメールが届く ? (それが上に書いてある記録と一致)
LUSER_RELAY の説明
や
FAQ
を見ると、何か違うような気もする これでやっと 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上記 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 の種類が次の四通りしかない。
OS X を入れるには、区画分した後に再起動する必要がある。 OS X 用以外は後で NetBSD の pdisk で変更出来るので、実は型は 気にしない。 @ 次に、作ったばかりの 2.99.12 の CD-R で起動:boot cd:,ofwboot.elfpdisk で見ると、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: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)これって上の設定が効いていないという意味の気がする。 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 とは関係なかったようだ。:
@ 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 と名前を変えると、
今度は本当に大丈夫。
( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||