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

  • 07/31(水) NTT 東 払込期日
  • 07/31(水) ○ 固定資産税振替・支払
  • 08/01(木) atactl check
  • 08/03() 21:00 -- 15:00 Field Day
  • 08/07(水) 不燃ごみ
  • 08/10() WAEDX CW
  • 08/17() 21:00 -- 21:00 KCJ
  • 08/17() 木之本会議
  • 08/18() tcsh, mijinko 誕生日
  • 08/19(月) CQ Ham Radio
  • 08/19(月) 別冊 CQ
  • 08/21(水) 不燃ごみ
  • 08/24() FD ログ締切
  • 08/25() Interface
  • 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年07月 来月
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 による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2014年02月25日(火) 旧暦 [n年日記] [更新:"2015/03/24 09:33:13"]

#2 [Windows] RAM disk Performance (性能)

By the way, I have set TIMEFMT environment as follows:
m08@makoto 23:30:17/140225(/usr/pkgsrc)% echo $TIMEFMT
%U %S %*E %P %X+%Dk %I+%Oio %Fpf+%Ww
On My diary on 2014/01/30, I had first experience on RAM disk on Windows (Softperfect version).
Before RAM Disk (without RAM disk, by the way, please IGNORE the error indicated):
cd /usr/pkgsrc/security/openssl; time bmake package
...

cp: cannot stat `libcrypto': No such file or directory
Makefile:548: recipe for target 'install_sw' failed
gmake: *** [install_sw] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
397.29s 323.12s 13:36.14 88% 0+0k 0+0io 36000495pf+0w
m08@makoto 23:26:53/140225(..security/openssl)% 
With following line in /usr/pkg/etc/mk.conf, all build related read/write will be done on RAM disk (I hope).
m08@makoto 23:36:54/140225(/usr/pkgsrc)% grep WRKOBJDIR /usr/pkg/etc/mk.conf 
WRKOBJDIR=/cygdrive/g/WRKOBJDIR
(After RAM disk setup):
cp: cannot stat `libcrypto': No such file or directory
Makefile:548: recipe for target 'install_sw' failed
gmake: *** [install_sw] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
408.01s 324.26s 13:38.15 89% 0+0k 0+0io 36016009pf+0w
m08@makoto 23:43:35/140225(..security/openssl)% 
Too many page fault implies that amount of disk i/o ?
Page Fault が多いということは、disk i/o があるということかな。
ちなみに
ML-115 G5
Memory 8GB
SoftPerfect (free version) of RAM disk 2GB
Windows 7 Professional SP1 (64bit)
CYGWIN_NT-6.1 m08 1.7.28(0.271/5/3) 2014-02-09 21:06 x86_64 Cygwin
top is not available on cygwin..
cd /usr/pkgsrc/sysutils/top; bmake
...

checking for correct ls options... ls -l
checking for a platform module... none
Configure doesn't recognize this system and doesn't know
what module to assign to it.  Help the cause and run the
following command to let the maintainers know about this
deficiency!  Thanks.  Just cut and paste the following:
uname -a | mail -s cygwin bill@lefebvre.org

configure: error: System type cygwin unrecognized
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/top
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/sysutils/top
m08@makoto 23:57:26/140225(..sysutils/top)% 
m08@makoto 00:28:22/140226(~/c)% cat memory-allocated.c
#include "stdio.h"
main()
{
  unsigned int bit=0x40000000, sum=0;
  char *x;
  
  while (bit > 4096) 
  {
    x = malloc(bit);
    if (x)
    sum += bit;
    bit >>= 1;
  }
  printf("%08x bytes (%.1fMB)\n", sum, sum/1024.0/1024.0);
  return 0;
}
m08@makoto 00:28:48/140226(~/c)% gcc -o memory-allocated  memory-allocated.c
memory-allocated.c: In function 'main':
memory-allocated.c:10:9: warning: incompatible implicit
  declaration of built-in function 'malloc' [enabled by default]
     x = malloc(bit);
         ^
m08@makoto 00:36:31/140226(~/c)% time ./memory-allocated.exe
7fffe000 bytes (2048.0MB)
0.01s 0.05s 0.062 97% 0+0k 0+0io 4290pf+0w
何だか、このプログラム、全然信用出来ない気がする。
それとも僕が何か(趣旨を)間違えているかな、
m08@makoto 00:41:28/140226(~/c)% !cat                                       
cat memory-allocated.c
#include "stdio.h"
#include "machine/malloc.h"
main()
{
  unsigned long bit=0x7f0000000, sum=0;
  long *x;
  
  while (bit > 4096) 
  {
    x = malloc(bit);
    if (x)
    sum += bit;
    bit >>= 1;
  }
  printf("%08x bytes (%.1fMB)\n", sum, sum/1024.0/1024.0);
  return 0;
}
m08@makoto 00:42:10/140226(~/c)% !gcc
gcc -o memory-allocated  memory-allocated.c
memory-allocated.c: In function 'main':
memory-allocated.c:10:9: warning: incompatible implicit
   declaration of built-in function 'malloc' [enabled by default]
     x = malloc(bit);
         ^
m08@makoto 00:42:12/140226(~/c)% time ./memory-allocated.exe                
f1ffe040 bytes (28448.0MB)
0.14s 0.11s 0.250 99% 0+0k 0+0io 9580pf+0w
m08@makoto 00:42:15/140226(~/c)% 

#1 [pkgsrc] security/openssl openssl-1.0.1f on Cygwin (64)

===> Building for openssl-1.0.1f
making all in crypto...
gmake[1]: Entering directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/crypto'

gcc -I. -I.. -I../include -D_WINDLL -DOPENSSL_PIC
  -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -O -DTERMIOS
  -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall
  -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
  -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM
  -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
  -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o cryptlib.o
  cryptlib.c

cryptlib.c:1:0: error: CPU you selected does not support x86-64 instruction set
 /* crypto/cryptlib.c */
 ^
cryptlib.c:1:0: error: CPU you selected does not support x86-64 instruction set
<builtin>: recipe for target 'cryptlib.o' failed
gmake[1]: *** [cryptlib.o] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/crypto'
Makefile:280: recipe for target 'build_crypto' failed
gmake: *** [build_crypto] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
Index: Makefile
===================================================================
RCS file: /cvs/cvsroot/pkgsrc/security/openssl/Makefile,v
retrieving revision 1.183
diff -u -r1.183 Makefile
--- Makefile	10 Jan 2014 14:32:42 -0000	1.183
+++ Makefile	25 Feb 2014 03:39:37 -0000
@@ -113,6 +113,15 @@
 .  endif
 .elif ${OPSYS} == "Cygwin"
 USE_PLIST_SHLIB=	no
+. if !empty(MACHINE:Mx86_64)
+SUBST_CLASSES+=		cygwin
+SUBST_MESSAGE.cygwin=	Removing -machine=i486 and OPENSSL_IA32_SSE2 from CFLAG
+SUBST_FILES.cygwin+=	Makefile
+SUBST_STAGE.cygwin=	post-configure
+SUBST_SED.cygwin=	'-e /^CFLAG=/s/-march=i486 //' 
+SUBST_SED.cygwin+=	'-e /^CFLAG=/s/-DOPENSSL_IA32_SSE2 //'
+.endif
+
 .elif ${OPSYS} == "Linux"
 .  if ${MACHINE_ARCH} == "powerpc64"
 CONFIGURE_SCRIPT=	./Configure
and then
gcc -I. -I.. -I../include -D_WINDLL -DOPENSSL_PIC
  -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -O -DTERMIOS
  -DL_ENDIAN -fomit-frame-pointer -O3 -Wall
  -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2
  -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM
  -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
  -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o x86cpuid.o
  x86cpuid.s
x86cpuid.s: Assembler messages:
x86cpuid.s:8: Error: invalid instruction suffix for `push'
gcc -I. -I.. -I../include -D_WINDLL -DOPENSSL_PIC
  -DOPENSSL_THREADS -DDSO_DLFCN -DHAVE_DLFCN_H -march=x86-64 -O
  -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -Wall
  -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT
  -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM
  -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM
  -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o x86_64cpuid.o
  x86_64cpuid.s
x86_64cpuid.s: Assembler messages:
x86_64cpuid.s:2: Error: unknown pseudo-op: `.hidden'
x86_64cpuid.s:6: Error: unknown pseudo-op: `.hidden'
x86_64cpuid.s:12: Warning: .type pseudo-op used outside of .def/.endef ignored.
x86_64cpuid.s:12: Error: junk at end of line, first unrecognized character is `O'
installing 4758cca
cp: cannot stat `lib4758cca.bad': No such file or directory
Makefile:107: recipe for target 'install' failed
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/engines'
Makefile:548: recipe for target 'install_sw' failed
gmake: *** [install_sw] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
m08@makoto 20:16:37/140225(..security/openssl)% grep lib4758 PLIST.
grep: PLIST.: No such file or directory
m08@makoto 20:16:56/140225(..security/openssl)% grep lib4758 PLIST.*
PLIST.common:lib/engines/lib4758cca.so
m08@makoto 20:16:57/140225(..security/openssl)% find . -name lib4758\*
m08@makoto 20:17:13/140225(..security/openssl)% find . -name lib47\*  
m08@makoto 20:17:25/140225(..security/openssl)% find . -name \*cca.\*
./work/openssl-1.0.1f/engines/cyg4758cca.dll
./work/openssl-1.0.1f/engines/e_4758cca.c
./work/openssl-1.0.1f/engines/e_4758cca.ec
./work/openssl-1.0.1f/engines/e_4758cca.o
./work/openssl-1.0.1f/engines/vendor_defns/hw_4758_cca.h
m08@makoto 20:17:32/140225(..security/openssl)% 
gmake[1]: Entering directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/apps'
installing openssl
installing CA.sh
installing CA.pl
installing tsget
gmake[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/apps'
making install in test...
gmake[1]: Entering directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/test'
gmake[1]: Nothing to be done for 'install'.
gmake[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/test'
making install in tools...
gmake[1]: Entering directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/tools'
gmake[1]: Leaving directory '/usr/pkgsrc/security/openssl/work/openssl-1.0.1f/tools'
installing libcrypto.a
installing libssl.a
installing libcrypto
cp: cannot stat `libcrypto': No such file or directory
Makefile:548: recipe for target 'install_sw' failed
gmake: *** [install_sw] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/openssl
*** Error code 1
PR pkg/48619
1.0.1-cygwin64.patch info
1.0.1-cygwin64.patch
patch to 1.0.2 ?


2008年02月25日(月) 旧暦 [n年日記] [更新:"2008/02/28 23:30:57"]

#2 [NetBSD][4.0] X11 の状況

NetBSD 4.0/macppc (TNF) に限った話。 動くかどうかと、終了した時に、同期がとれるか



+ RADEONFB_MMAP_BARS


modularmodular
機種xsrcxorgxorg
Mac mini
PowerBook G3 Pismo
動くが終了した時に同期がとれない
動くが終了した時に機械ごと無反応になってしまう
動かない could not mmap screen になる
could not mmap screen:
xf86MapVidMem: could not mmap screen [s=20000,a=a0000] (Invalid argument)
with patches:
x11/xf86-video-ati/patches/patch-ad
x11/modular-xorg-server/patches/patch-sf
(**) RADEON(0): RADEONLeaveVT
(**) RADEON(0): RADEONRestore
(**) RADEON(0): RADEONRestoreMode()
(**) RADEON(0): RADEONRestoreMode(0x19f5130)
(**) RADEON(0): RADEONRestoreMemMapRegisters() : 
(**) RADEON(0):   MC_FB_LOCATION   : 0x07ff0000
(**) RADEON(0):   MC_AGP_LOCATION  : 0xffffe000
(**) RADEON(0):   Map Changed ! Applying ...
(**) RADEON(0):   Map applied, resetting engine ...
(**) RADEON(0): Updating display base addresses...
(**) RADEON(0): Memory map updated.
(**) RADEON(0): Programming CRTC1, offset: 0x00008000
(**) RADEON(0): Wrote: 0x0000000c 0x000001bb 0x00000000 (0x0000bf00)
(**) RADEON(0): Wrote: rd=12, fd=443, pd=0
ごく最近の日記
2008/02/24/
殆ど一年前に xorg で試した時の日記
2007/04/12/

#1 [NetBSD][pkgsrc] devel/autogen aborts

autogen がない、と言われたので、devel/autogen で make package:
+/export/pkgsrc/devel/autogen/work/autogen-5.9.3/agen5/autogen
-L /export/pkgsrc/devel/autogen/work/autogen-5.9.3/autoopts
-Tagman1 -bautogen ./opts.def
ここで長いこと時間がかかっているので ^T (Ctrl-T) して見たら、 次のように異常停止してしまった。何かな。
load: 0.31  cmd: sh 29086 [wait] 0.01u 0.00s 0% 820k
AutoGen aborting on signal 29 (Information request) in state EMITTING
processing template /export/pkgsrc/devel/autogen/work/autogen-5.9.3/autoopts/agman-lib.tpl
            on line 84
       for function EXPR (11)
trapped on 13
[1]   Abort trap (core dumped) ${AGexe} ${eopt}...
gmake[3]: *** [stamp-man] Error 134
gmake[3]: Leaving directory `/export/pkgsrc/devel/autogen/work/autogen-5.9.3/agen5'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/pkgsrc/devel/autogen/work/autogen-5.9.3/agen5'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/pkgsrc/devel/autogen/work/autogen-5.9.3'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /export/pkgsrc/devel/autogen
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/devel/autogen
ttypa:makoto@genova 11:57:54/080225(...devel/autogen)> 
次のように gdb を起動すると
ttypa:makoto@genova 12:02:16/080225(...devel/autogen)> sudo gdb 
 ./work/autogen-5.9.3/agen5/.libs/autogen 
 ./work/autogen-5.9.3/agen5/autogen.core
(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `autogen'.
Program terminated with signal 6, Aborted.
#0  0xbb9e422f in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0xbb9e422f in kill () from /usr/lib/libc.so.12
#1  0xbba80338 in abort () from /usr/lib/libc.so.12
#2  0x0805c594 in main ()
(gdb) 
abort するコードが書いてあるので abort したということらしく ^T は入力してはいけないのかも知れない。
(OS は NetBSD/i386)
一つ前の autogen-5.8.3nb1.tgz ならば正常終了した。


2007年02月25日() 旧暦 [n年日記] [更新:"2007/02/26 01:11:19"]

#2 [無題] お雛さまを出した

おひなさまを出した。写真は古い順に 2001, 2003, 2005, 2006, 2007。 つまり最後が今年の分。 以前の日記を見ると ... 2001/02/17
2003/03/01
2004/02/29 (写真なし)
2005/03/03
2006/03/01













#1 [Emacs] Meadow で find-grep

どこかで Meadow で find-grep が動かないという話を見て試して見た。
(setq explicit-shell-file-name "c:\\cygwin\\bin\\bash.exe");
(setq shell-file-name "c:\\cygwin\\bin\\bash.exe");
(setenv "PATH" "/usr/bin");

(modify-coding-system-alist 'process "shell" '(undecided-dos . sjis-unix))
(setq find-dired-find-program "c:\\cygwin\\bin\\find.exe");
例えば、このようにすると、使えるらしい (実はどこで見たかを失念してしまった)。


2006年02月25日() 旧暦 [n年日記] [更新:"2006/02/25 18:12:30"]

#3 [Emacs] systemc mode

systemc モードは二つある 少なくとも後者は、色を付けるだけ、と言っている。 何故かそのどちらも
Debugger entered--Lisp error: (void-variable c-C++-conditional-key)
のようなことを言われる。 試しに一行追加して見ると、それは消える。
ttyq2:makoto@st4200 18:10:25/060225(~/mule/lisp)> diff -u systemc-mode.el-0.2{~,}
--- systemc-mode.el-0.2~        2006-02-25 16:07:05.000000000 +0900
+++ systemc-mode.el-0.2 2006-02-25 16:56:26.000000000 +0900
@@ -51,6 +51,7 @@
 
 ;;; Code:
 
+(require 'cc-mode)
 (require 'derived)
 (require 'font-lock)
 
ttyq2:makoto@st4200 18:10:32/060225(~/mule/lisp)> 
いつだったか、 「慣れない人は CVS 版を使うものではない」という人がいて、 「そのようなことはない」と返したが、こういうようなことかな..

#2 [Emacs] cc-mode の auto-insert

最近新規に hoge.h を開けると、(自分では何も設定したつもりがないのに) 次のように型紙を入れておいてくれる
#ifndef HOGE_H
#define HOGE_H

#endif
これってどこかなぁと、その時に M-x describe-variable RET auto-insert-alist RET すると、次のような部分がある
 (("\\.\\([Hh]\\|hh\\|hpp\\)\\'" . "C / C++ header")
  (upcase
   (concat
    (file-name-nondirectory
     (substring buffer-file-name 0
		(match-beginning 0)))
    "_"
    (substring buffer-file-name
	       (1+
		(match-beginning 0)))))
  "#ifndef " str n "#define " str "\n\n" _ "\n\n#endif")
これがやってくれているらしい。cc-mode に入った時に auto-insert-alist も設定 されているということか。しかし同様に次のような部分もあるのに、これは効い ていない気がするのは、*.c の時には、自分で別の mode を設定しているからだらうか ?
 (("\\.\\([Cc]\\|cc\\|cpp\\)\\'" . "C / C++ program")
  nil "#include \""
  (let
      ((stem
	(file-name-sans-extension buffer-file-name)))
    (cond
     ((file-exists-p
       (concat stem ".h"))
      (file-name-nondirectory
       (concat stem ".h")))
     ((file-exists-p
       (concat stem ".hh"))
      (file-name-nondirectory
       (concat stem ".hh")))))
  & 34 | -10)

#1 [Emacs][MacOSX] Mac OS X Emacs と KINESIS

  • 透明化 patch はなかなか面白い。 以前にも書いたが、特に使っていない時に殆んど透明にしてしまうのが とても愉快というか、便利。
    (add-to-list 'default-frame-alist   '(active-alpha . 0.90)) ;; 利用中
    (add-to-list 'default-frame-alist '(inactive-alpha . 0.30)) ;; 非利用中
    
  • KINESIS (の PS/2 版)を日本語キーボードとして使っているが 結構こまる。他の機械で、X11で同じ条件で 使っている場合には、一部の鍵の対応を .xmodmap で変更しているが、--with-carbon の場合は、まだその方法が分らない。
  • (backslash) _ などの入力方法がまだ分らないので、実はそれらだけ別の鍵盤 から入力している
  • tcode 入力の練習用の EELLL のビットマップ表示の横幅が漢字の方と合って いない。この話題は以前に見たことがあるが
  • yen mark でなくて backslash を入力する方法が分らない (これは LaTeX の時にこまる)
  • Alt が何か変。効かない。
Ukelele (Mac OS X Keyboard Layout Editor) というのがあるらしい この中の keyboard -> show keycode を使って見ていたら Alt key は option と認識されている。 そこで、
  1. システム環境設定
  2. キーボード
  3. 修飾キー
  4. Option と Command を逆に設定
これで Alt 問題は解決


2005年02月25日(金) 旧暦 [n年日記] [更新:"2005/02/26 11:18:15"]

#1 [NetBSD][URL] NetBSD vs FreeBSD & Manitou-Mail

なかなか面白い記事だ。コメントのところまで読むのはちょっと大変。 メールを Postgres に入れて読む。面白そう。ただ、0.9.4 というのはことごとく無いと言われてしまう。 一番上に表示されているものを選んだら持って来られた。

いづれも raeva さんの日記 から

Manitou-Mail:

checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
configure: error: Unable to find libpq-fe.h
ttyp8:makoto@st4200  23:11:18/050225(...local-src/manitou-0.9.4)> 
何かな ? postgresql が要るっていうことらしい。client にも ? Looks like postgresql should be installed. Then what is the point to pickup:
ttypf:makoto@st4200  23:23:31/050225(...powerpc/All)> ls -l postgre*
-rw-r--r--  1 root  wheel   370817 Feb 22 16:13 postgresql73-client-7.3.9.tgz
-rw-r--r--  1 root  wheel   641429 Feb 21 00:04 postgresql73-lib-7.3.9.tgz
-rw-r--r--  1 root  wheel  2823308 Feb 25 21:14 postgresql73-server-7.3.9.tgz
-rw-r--r--  1 root  wheel     3262 Feb 25 21:09 postgresql74-7.4.7.tgz
-rw-r--r--  1 root  wheel   906508 Feb 22 16:11 postgresql74-client-7.4.7.tgz
-rw-r--r--  1 root  wheel   450806 Feb 22 16:08 postgresql74-contrib-7.4.7.tgz
-rw-r--r--  1 root  wheel  1898231 Feb 20 23:01 postgresql74-docs-7.4.7.tgz
-rw-r--r--  1 root  wheel   842113 Feb 21 00:02 postgresql74-lib-7.4.7.tgz
-rw-r--r--  1 root  wheel  3565914 Feb 25 21:08 postgresql74-server-7.4.7.tgz
-rw-r--r--  1 root  wheel    21756 Feb 23 17:37 postgresql_autodoc-1.24.tgz
-rw-r--r--  1 root  wheel    28655 Feb 24 04:21 postgrey-1.17nb1.tgz
ttypf:makoto@st4200  23:23:34/050225(...powerpc/All)> 
should be postgresql74-7.4.7.tgz pkg_info postgresql74-7.4.7.tgz said
...
This is the meta-package for the PostgreSQL database system.

pkg_add:

ttyp9:makoto@st4200 19:16:09/050225(...powerpc/All)> sudo pkg_add postgresql74-7.4.7.tgz
Password:
pkg_add: pkg `postgresql74-client>=7.4.7' required, but `postgresql74-client-7.4.6nb1' found installed.
pkg_add: pkg `postgresql74-server>=7.4.7' required, but `postgresql74-server-7.4.6nb3' found installed.
pkg_add: Please resolve this conflict!
pkg_add: 2 package additions failed

pkg_delete/pkg_add:

374 23:26 sudo pkg_add postgresql74-7.4.7.tgz
375 23:27 sudo pkg_delete -f postgresql74-client-7.4.6nb1
376 23:27 sudo pkg_delete -f postgresql74-server-7.4.6nb3
377 23:28 sudo pkg_add postgresql74-7.4.7.tgz
378 23:28 pkg_info | grep postgres
379 23:28 sudo pkg_delete -f postgresql74-lib
380 23:29 sudo pkg_delete -f php-pgsql
381 23:29 sudo pkg_add postgresql74-7.4.7.tgz
382 23:29 sudo pkg_add php-pgsql-4.3.10.tgz
It is not a trivial work at this time of late night:

configure again::

..
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
configure: error: Unable to find libpq-fe.h
Nothing changed: ??

find -name libpq-fe.h:

ttyp9:makoto@st4200 23:34:49/050225(...local-src/manitou-0.9.4)> find /usr/pkg -name libpq-fe.h
/usr/pkg/include/libpq-fe.h
./configure --with-pgsql-includes=/usr/pkg/include
will get pass above problem, then I've got
checking for PQconnectdb in -lpq... no
configure: error: Unable to use -lpq
./configure --with-pgsql-includes=/usr/pkg/include -with-pgsql-libs=/usr/pkg/lib
...
checking for IceConnectionNumber in -lICE... yes
checking for Qt... ls: /lib/libqt*: No such file or directory
ls: /usr/lib/libqt*: No such file or directory
ls: /usr/local/lib/libqt*: No such file or directory
ls: /opt/lib/libqt*: No such file or directory
no
configure: creating ./config.status
..

pkg_add qt2-libs-2.3.1nb6.tgz:

ttyp9:makoto@st4200 23:46:11/050225(...powerpc/All)> sudo pkg_add qt2-libs-2.3.1nb6.tgz
Then I got pkg_info -D screen
ttyp9:makoto@st4200  23:53:01/050225(...local-src/manitou-0.9.4)> \
./configure \
--with-pgsql-includes=/usr/pkg/include \
--with-pgsql-libs=/usr/pkg/lib \
--with-Qt-dir=/usr/pkg/qt2
ttyp9:makoto@st4200  23:53:03/050225(...local-src/manitou-0.9.4)> 

make:

In file included from /usr/include/g++/bits/gthr-default.h:40,
                 from /usr/include/g++/bits/gthr.h:101,
                 from /usr/include/g++/bits/c++io.h:37,
                 from /usr/include/g++/bits/fpos.h:44,
                 from /usr/include/g++/iosfwd:49,
                 from /usr/include/g++/bits/stl_algobase.h:70,
                 from /usr/include/g++/bits/stl_tree.h:86,
                 from /usr/include/g++/map:66,
                 from main.h:42,
                 from main.cpp:25:
/usr/pkg/include/pthread.h:285: error: conflicting types for `typedef struct 
   pthread_st*pthread_t'
/usr/include/pthread_types.h:71: error: previous declaration as `typedef struct 
   __pthread_st*pthread_t'
It looks like /usr/pkg/inclue/pthread.h and /usr/include/pthread_types.h are conflicting:
> find /usr/include /usr/pkg/include -name pthre\* -ls
   17666 Feb 15 23:47 /usr/include/g++/bits/pthread_allocimpl.h
    6885 Feb 15 23:46 /usr/include/pthread_dbg.h
   13444 Feb 15 23:46 /usr/include/pthread.h
p    5379 Feb 15 23:46 /usr/include/pthread_queue.h
    6976 Feb 15 23:46 /usr/include/pthread_types.h
   20463 Jan  7 14:11 /usr/pkg/include/pthread.h


2004年02月25日(水) 旧暦 [n年日記]

#5 [MTA] MIME 違反

いまどき、こんなの送って来る会社がある
From: "melmal magazine" <dw@japandesign.ne.jp>
Subject: =?ISO-2022-JP?B?GyRCIX4hfiEhGyhCREVTSUdO?= WEEKLY 
 =?ISO-2022-JP?B?MjAwNC8wMi8yNRskQiEhIX4hfhsoQg==?=
To: members@melmal.com
Reply-To: ......
Message-Id: <200402250614.i1P6ENr16547@orange.melmal.com>
Mime-version とか CT とか無。

#4 [Net] 濡衣 (Airmac と通信出来ない)

Airmac と通信出来ないと思ったのは、電源が入っていなかっただけ。
WLA-G54 のブリッジ型を買って来ても、まだ見えない。変だなぁと思っていた ら、どこやらに「無線 LAN の電源を入れる」というのがあって、それを選んだら、 AirMac も見えるようになった。この週末は何だったんだらうかという気分。
自分の知らない機械も一つ見えている。もしかしてお隣りさん ?
外部アンテナも付けられる。 無指向性 をそのうち買ってこよう。屋内用って書いてあるなぁ。それはそうか。屋外に置く ことを画策。 屋外用 もあるらしいが、とんでもなく高い。(とんでもなく、という程でもないか)

#3 [無題] Motorola 半導体 → Freescale Semiconductor


#2 [SVN] Subversion 1.0.0 (Monday, 23 Feb 2004): Release.

ishinao さんのところ から。 download ?

devel/subversion:

ttyp1:makoto@celeron 9:13:39/040225(...devel/subversion)> make
make: "/export/pkgsrc/devel/subversion/Makefile" line 25: Could not find ../../devel/py-subversion/buildlink2.mk
make: Fatal errors encountered -- cannot continue

make: stopped in /export/pkgsrc/devel/subversion
ttyp1:makoto@celeron 9:13:41/040225(...devel/subversion)>

#1 [pkgsrc] devel/gettext

これって、やはり僕だけなのかなぁ。
ttyp1:makoto@celeron 7:58:12/040225(...devel/gettext)> cvs update -dP -C && make clean && make
cvs update: Updating .
cvs update: Updating files
cvs update: Updating patches
cvs update: Updating pkg
make: "/export/pkgsrc/devel/gettext/Makefile" line 37: Could not find ../../devel/gettext-lib/buildlink3.mk
make: Fatal errors encountered -- cannot continue

make: stopped in /export/pkgsrc/devel/gettext

devel/gettext-lib:

ttyp1:makoto@celeron 7:58:15/040225(...devel/gettext)> cd ../gettext-lib/
ttyp1:makoto@celeron 7:58:24/040225(...devel/gettext-lib)> cvs update -dP -C && make clean && make
cvs update: Updating .
cvs update: Updating files
cvs update: Updating patches
cvs update: Updating pkg
===> Cleaning for gettext-lib-0.10.35nb1
===> *** No /export/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> No checksum recorded for gettext-0.10.35.tar.gz.
Make sure the Makefile and checksum file (/export/pkgsrc/devel/gettext-lib/../../devel/gettext/distinfo)
are up to date. If you want to override this check, type
"/usr/bin/make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/devel/gettext-lib

devel/gettext-lib (NO_CHECKSUM=yes):

ttyp1:makoto@celeron 7:58:27/040225(...devel/gettext-lib)> cvs update -dP -C && make clean && /usr/bin/make NO_CHECKSU
M=yes
cvs update: Updating .
cvs update: Updating files
cvs update: Updating patches
cvs update: Updating pkg
===> Cleaning for gettext-lib-0.10.35nb1
===> *** No /export/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Extracting for gettext-lib-0.10.35nb1
===> Required installed package libtool-base>=1.4.20010614nb11: libtool-base-1.4.20010614nb11 found
===> Patching for gettext-lib-0.10.35nb1
===> Applying pkgsrc patches for gettext-lib-0.10.35nb1
1 out of 1 hunks failed--saving rejects to configure.rej
Patch /export/pkgsrc/devel/gettext-lib/../../devel/gettext/patches/patch-aa failed
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/devel/gettext-lib
*** Error code 1

Stop.
make: stopped in /export/pkgsrc/devel/gettext-lib
ttyp1:makoto@celeron 7:58:36/040225(...devel/gettext-lib)>
さふいへば、どこかの cvs (jp.netbsd) がこわれているという話が出ていたなぁ。


2003年02月25日(火) 旧暦 [n年日記]

#3 [MTA] 何故か elips がまとめて送られて来た

一部 3 日遅れのようなものも。 (全く来ないと思っていたので、有難い)

#2 [機械] 2.4G の disk が死にそう。

wdc0:0:0: device timeout, c_bcount=8192, c_skip0
wd0a: device timeout writing fsbn 96 of 96-111 (wd0 bn 96; cn 0 tn 1 sn 33), retrying
wd0: soft error (corrected)
ftp> exit
421 Timeout (900 seconds): closing control connection.
# halt
Feb 25 13:47:09 halt: halted by root
syncing disks... done
wdc0:0:0: not ready, st=0x80, err=0x00
wdc0 channel 0: reset failed for drive 0
wd0a: device timeout writing fsbn 16 of 16-19 (wd0 bn 16; cn 0 tn 0 sn 16), retrying
floppy disk で立上げて mount したら、必要な譜は三つ。読めるので ftp で転送。

#1 [MTA] (m4/cf) FEATURE(`use_cw_file')

FEATURE(`use_cw_file') は、
../domain/generic.m4
に設定してあるので、
DOMAIN(generic)
と書いてあれば、そちらで設定される。 なので、最近書いたことは間違っていた ?


2002年02月25日(月) 旧暦 [n年日記]

#1 [Opera] Figaro

Figaro Mozart libretto で google で検索すると、一つ目に が出て来て、その中に がある。google 素晴 予習(少しだけ)

東京文化会館 18:30:

素晴しかった。原語上演・字幕付。
  • 役者が揃っている
  • 動きのある演出で楽しかった
  • 字幕スーパも(舞両側に縦書きで)なかなか効果的だった
  • 舞台装置も大きく構えて、新鮮
特に素晴しかった方々:
ケルビーノ: 林 美智子  ... 動きと愛敬
  伯爵夫人: 佐々木典子  ... 美しく伸びのある歌声
  スザンナ: 鵜飼 文子  ... 愛らしい
  フィガロ: 甲斐栄次郎  ... 活動的
  バルトロ: 鹿野 由之  ... 喜劇的
アルマヴィーヴァ
      伯爵: 泉  良平  ... 悪役然
このように楽しめるなんて期待以上。 オケも後になるにつれて、いい響きになって行った気がする。
そうそう、大切なこと。二人で一人分の出費。(何かの招待だった)。 4 列 33 34 番くらい。
「今回はヴェロ氏の提案でチェンバロをフォルテピアノ」 に。... そうか、何か音が違うなと思ったが、そうは理解して いなかった。これはこれでいいだろう。 (本当はチェンバロの方が好きなのだけれど)


2001年02月25日() 旧暦 [n年日記]

#4 [Emacs] wl (Wanderlust) の Folder sync

新しく(外側で) Folder を作った場合に、それに合わせて Folder を更新する方法 をすぐ忘れてしまう。(現在不明)

#3 [NetBSD] iBook の F2 を押すと電源が落ちる。そのことを port-powerpc-ja に

見ている src は sys/arch/macppc/dev/abtn.c pm_direct.h pm_direct.c など。

#2 [SPAM] (検閲削除)


#1 [Namazu] Stop words

namazu-users-en 00057 読直すこと。


2000年02月25日(金) 旧暦 [n年日記]

#1 [NetBSD/macppc] DMA を生かした kernel を作る

カーネルの再構成
もう一度気を取り直して
   116  0:31    cvs -d :pserver:anoncvs@sup.jp.netbsd.org:/cvs/cvsroot co -D 2000-02-05 syssrc
    (所要 2:15)
   118  7:32    ls
   119  7:32    mv syssrc src
   121  7:34    tar zcf /home/ftp/pub/NetBSD/2000-02-05a-syssrc.tar.gz src/sys
                 mv src srcsys

   cd /usr
   chown makoto src
   tar zxf /home/ftp/pub/NetBSD/2000-02-05a-syssrc.tar.gz
という方法で src/sys を用意して、DMA に変更したら、今度はうまく作れた。 ( make depend && make に 38 分もかかっている)
 SCSI -> IDE
root@harry  9:32:11/000225(/home/makoto)# dd if=/dev/rsd0a of=/usr/src-harry/yyyy bs=64k
516+1 records in
516+1 records out
33841152 bytes transferred in 36 secs (940032 bytes/sec)

 IDE -> /dev/null
root@harry  9:33:40/000225(/home/makoto)# dd if=/dev/wd0a of=/dev/null bs=64k
472+1 records in
472+1 records out
30965760 bytes transferred in 31 secs (998895 bytes/sec)

 IDE -> SCSI
root@harry  9:37:23/000225(/home/makoto)# dd if=/dev/wd0a of=/usr/yyyy bs=64k
472+1 records in
472+1 records out
30965760 bytes transferred in 31 secs (998895 bytes/sec)

 SCSI -> /dev/null
root@harry  9:38:20/000225(/home/makoto)# dd if=/dev/rsd0a of=/dev/null bs=64k
516+1 records in
516+1 records out
33841152 bytes transferred in 8 secs (4230144 bytes/sec)
(cache ? ではもう一度)

 SCSI -> IDE
root@harry  9:38:53/000225(/home/makoto)# dd if=/dev/rsd0a of=/usr/src-harry/yyyz bs=64k
516+1 records in
516+1 records out
33841152 bytes transferred in 35 secs (966890 bytes/sec)
(ほんの少ししか改善されていない 800 -> 900 しかも SCSI の 4.2M に対して 遅すぎる)。しかし今度は転送中でも鍵入力には問題ない。 そうそう、起動の時に root device: と聞かれて sd0a と入力する必要があった。??



最近の日記
2024年07月03日
kicad oddity
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
以上、10 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)