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

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

2004年04月17日() 旧暦 [n年日記]

#1 [無題] 久し振りに館山に行く

 9:40 国道 465 分岐
10:30 道の駅付近

16:00 発
17:50 帰宅

#2 [Emacs] wl で C-h も Backspace も wl-summary-prev-page になってしまう

問題の箇所 wl-summary.el
  (define-key wl-summary-mode-map "\177" 'wl-summary-prev-page)
  (define-key wl-summary-mode-map [backspace] 'wl-summary-prev-page)

#3 [Namazu] ./mknmz-8: ../scripts/gtnmz: permission denied

config.status の最後に次のような部分があった
default ) chmod +x nmz-config \
		    scripts/bnamazu \
		    scripts/gtnmz \
		    scripts/mailutime \
		    scripts/nmzgrep \
		    scripts/rfnmz \
		    scripts/vfnmz \
	     ;;
これを実行していないと、標題の問題が起きる。 make clean && make のように通しで作業すれば、その問題は起きない。

namazu.mo:

/usr/local に入れる方は /usr/local/share/locale/ja/LC_MESSAGES/namazu.mo に入っているが、pkgsrc の方は入っていない ?

pkgsrc の場合 (NG):

Making install in po
if test "namazu" = "gettext-tools"; then /bin/sh .././mkinstalldirs /usr/pkg/share/gettext/po; for file in Makefile.in.in remove-potcdate.sin Makevars.template; do install -c -o root -g wheel -m 444 ./$file /usr/pkg/share/gettext/po/$file; done; for file in Makevars; do rm -f /usr/pkg/share/gettext/po/$file; done; else : ; fi
Making install in lib

/usr/local/ の場合 (OK):

Making install in po
/bin/sh .././mkinstalldirs /usr/local/share
installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/namazu.mo
installing ja_JP.SJIS.gmo as /usr/local/share/locale/ja_JP.SJIS/LC_MESSAGES/namazu.mo
installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/namazu.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/namazu.mo
if test "namazu" = "gettext-tools"; then /bin/sh .././mkinstalldirs /usr/local/share/gettext/po; for file in Makefile.in.in remove-potcdate.sin Makevars.template; do /usr/bin/install -c -m 644 ./$file /usr/local/share/gettext/po/$file; done; for file in Makevars; do rm -f /usr/local/share/gettext/po/$file; done; else : ; fi
Making install in lib
po/Makefile
    203 install-data: install-data-no

    216 install-data-no: all
    217 install-data-yes: all
203 行目があると、 216 install-data-no が呼ばれてしまう。これはだめな方。 うまく行く場合は、次のような行がある
install-data: install-data-yes

Makefile.in:

次の行が元かな。
Makefile.in.in:install-data: install-data-@USE_NLS@

config.status:

その元は:
config.status:s,@USE_NLS@,no,;t t

aclocal.m4:

    if test "$gt_use_preinstalled_gnugettext" = "yes" \
       || test "$nls_cv_use_gnu_gettext" = "yes"; then
      AC_DEFINE(ENABLE_NLS, 1,
        [Define to 1 if translation of program messages to the user's native language
   is requested.])
    else 
      USE_NLS=no
    fi

同じく aclocal.m4 から::

dnl The result of the configuration is one of three cases:
dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
dnl    and used.
dnl    Catalog format: GNU --> install in $(datadir)
dnl    Catalog extension: .mo after installation, .gmo in source tree
dnl 2) GNU gettext has been found in the system's C library.
dnl    Catalog format: GNU --> install in $(datadir)
dnl    Catalog extension: .mo after installation, .gmo in source tree
dnl 3) No internationalization, always use English msgid.
dnl    Catalog format: none
dnl    Catalog extension: none



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)