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

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

2004年10月23日() 旧暦 [n年日記]

更新: "2004/10/24 00:42:35"

#1 [NetBSD][pkgsrc] print/ja-ptex で make package

      2542 Oct 23 06:46 ja-ptex-1.0nb1.tgz
    237834 Oct 23 06:46 dvipdfmx-0.0.0.20031116nb1.tgz
   2462776 Oct 23 06:45 ghostscript-gnu-7.07.tgz
   2742259 Oct 23 06:40 ghostscript-fonts-6.0.tgz
   5453677 Oct 23 06:39 adobe-cmaps-20030924.tgz
    204798 Oct 23 06:39 ja-vfxdvik-22.40v.j1.14nb4.tgz
    409178 Oct 23 06:37 ja-vflib-lib-2.24.2.tgz
    224500 Oct 23 06:36 freetype-lib-1.3.1nb1.tgz
     93297 Oct 23 06:35 ja-jsclasses-030624nb1.tgz
   1257313 Oct 23 06:35 ja-ptex-bin-3.1.2nb2.tgz
   4277067 Oct 23 06:25 ja-ptex-share-2.1nb2.tgz
      2597 Oct 23 06:24 teTeX-2.0.2nb1.tgz
     44829 Oct 23 06:24 texi2html-1.64nb1.tgz
  22869745 Oct 23 06:24 teTeX-sharesrc-2.0.2.tgz
   9913055 Oct 23 06:23 teTeX-bin-2.0.2nb1.tgz
   1506544 Oct 23 06:11 t1lib-5.0.2nb2.tgz
   1174580 Oct 23 06:09 libwww-5.4.0nb2.tgz
     29171 Oct 23 06:02 dialog-0.6znb2.tgz

#2 [CVS] checkout時の -d 選択

checkout時の-dオプションは、
「チェックアウトするモジュール名のトップディレクトリを変更する」
という意味なのですが
どうも僕が勘違いをしているらしい。でもないのかな → 裏枝 ?

例えば etc を管理するとします。機械毎に etc は違う:

ので、etc-hoge とかいうモジュール名にします。
% cd /etc
% cvs -d hoge@server:/respoistory co -d . etc-hoge
とかしたくなるのですが 手元のものや .. NFS mount した repository なら出来るが ssh だと出来ない ?
cvs server: existing repository HOGE does not match HOGE/module

man cvs:

Use the -d dir option to create a directory called
dir for the working files, instead of using the module name.
僕の理解は合っている気がするなぁ。

サーバで処理される場合、意味が変る ?:

しょうがないので以前にやっていたような方法で、
env CVS_RSH=ssh cvs -d username@server:/repository co -N -d /etc etc-hoge
env CVS_RSH=ssh cvs -d username@server:/repository co etc-hoge
のどちらかで持出しておいて、
mv etc-hoge/CVS ./
すれば、後は問題ない (これは初めて作る時でモジュールは空の時)。

#3 [pkgsrc] mozilla

ttyp1:makoto@st4200 10:49:55/041023(~)> mozilla
/usr/pkg/lib/mozilla/components/libgfx_gtk.so: Undefined PLT symbol "_Z16XineramaIsActiveP9_XDisplay" (symnum = 298)
(こればっかり) OpenOffice.Org FAQ is saying:
undefined symbol: _Z16XineramaIsActiveP9_XDisplay
This is a problem with your headers, add 'extern "C" {' and '}' around '#include <X11/extensions/Xinerama.h>, and then build through libvcl644li.so.
ttyp1:makoto@st4200  10:56:12/041023(...work/mozilla)> find . -type f -exec grep
 extensions/Xinerama.h /dev/null '{}' \;                                        
./configure:    ac_safe=`echo "X11/extensions/Xinerama.h" | sed 'y%./+-%__p_%'` 
./configure:echo $ac_n "checking for X11/extensions/Xinerama.h""... $ac_c" 1>&6 
./configure:echo "configure:8059: checking for X11/extensions/Xinerama.h" >&5   
./configure:#include <X11/extensions/Xinerama.h>                                
./configure.in:    AC_CHECK_HEADER(X11/extensions/Xinerama.h)                   
./gfx/src/gtk/nsScreenGtk.h:#include <X11/extensions/Xinerama.h>                
./gfx/src/gtk/nsScreenManagerGtk.cpp:#include <X11/extensions/Xinerama.h>       
./gfx/src/gtk/.deps/nsScreenGtk.pp:  /export/pkgsrc/www/mozilla/work/.buildlink/
include/X11/extensions/Xinerama.h \                                             
./gfx/src/gtk/.deps/nsScreenManagerGtk.pp:  /export/pkgsrc/www/mozilla/work/.bui
ldlink/include/X11/extensions/Xinerama.h \                                      
./configure.in.orig:    AC_CHECK_HEADER(X11/extensions/Xinerama.h)
./config.log:configure:8059: checking for X11/extensions/Xinerama.h
ttyp1:makoto@st4200  DING!/041023(...work/mozilla)> 
--------------------------------------------------------
--- mozilla/gfx/src/gtk/nsScreenGtk.h-orig	2004-04-21 02:14:31.000000000 +0900
+++ mozilla/gfx/src/gtk/nsScreenGtk.h	2004-10-23 11:04:45.000000000 +0900
@@ -44,7 +44,9 @@
 
 #ifdef MOZ_ENABLE_XINERAMA
 #include <X11/Xlib.h>
+extern "C" {
 #include <X11/extensions/Xinerama.h>
+}
 #endif // MOZ_ENABLE_XINERAMA
 
 //------------------------------------------------------------------------
This fixes the above problem. pkg/27369

#4 [web] apache と CVS

Web の中身を cvs 管理下に置く場合、CVS というディレクトリが見えては、 あまり気持が良くない。そこで次のように書いて見た。実は一行目の ~ の意味は分っていない が、「任意のディレクトリの」の意味だろうか。
<Directory ~ "CVS">
    Order allow,deny
    Deny from all
</Directory>

#5 [MHonArc] MHonArc 2.6.10 + Perl 5.6.1 の場合

2003/04/26 に書いたこと と、 2003/04/28 に書いたこと はどのくらい正しいのかな。機械を入替えたら、元に戻ってしまっているので。 MHonArc で処理するときに日本語の Subject: をデコードさせたいのですが (Namazu FAQ より)

#6 [Emacs] 21.3.50 make bootstrap

Symbol's function definition is void: tty-supports-face-attributes-p
make maintainer-clean && ./configure && make bootstrap
emacs-devel/2004/09
   182  23:21   cvs update -dP -C -A
   193  23:48   make maintainer-clean
   194  23:48   ./configure --x-libraries=/usr/X11R6/lib && time make bootstrap
...
Loading vc-cvs...
Wrote /export/emacs-20041016/lisp/cus-load.el
Generating /export/emacs-20041016/lisp/cus-load.el...done
1077.774u 129.043s 20:24.92 98.5%       0+0k 15+8503io 0pf+3w
ttyp1:makoto@st4200  0:09:55/041024(/export/emacs-20041016)> sudo make install

Shared object "libXmu.so.6" not found
*** Error code 1

Stop.
make: stopped in /export/emacs-20041016/leim
*** Error code 1
lrwxr-xr-x 1 root wheel 13 Oct 16 21:04 /usr/X11R6/lib/libXmu.so.6@ -> libXmu.so.6.1
-rwxr-xr-x 1 root wheel 112242 Oct 16 21:04 /usr/X11R6/lib/libXmu.so.6.1*
-rwxr-xr-x 1 root wheel 110413 Sep 25 23:07 /usr/X11R6/lib/libXmu.so.6.2*
日付が逆だな ?

#7 [日記] 中島さん

「あるディレクトリにある、57個の.phpなファイルのある文字列を置換し、ファイル名を変更せずに上書き保存」ってどう書くんだったけ
foreach i ( *.php)
echo $i
mv $i $i.bak
sed -e 's/HOGE/FOO/g' $i.bak > $i
end
かな。最初の echo はもちろん進行状況表示。いらないか。お、bash か。違うな。
for i in   *.php  
 do
  mv $i $i.bak
  sed -e 's/HOGE/FOO/g' $i.bak > $i
done
かな。何と木曜日の日記だった。遅し。



最近の日記
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)