[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:08933] Namazu2.05のMake



はじめまして、樋口(さ)と申します。
1年半ほど前から、入らさせていただいております。
初めての発言に緊張しながら、書いております m(_ _)m 。

Plamo Linux 2.1 に Namazu2.0.5を入れようとして
ちょっと困っています。

デフォルトで入っていたNamazuはhdsetupで削除したあと
Ring sever からいただいてきた namazu-2.0.5.tar.gz 
を$HOME/tmpなどに展開、移動し,デフォルトの通りに

cd ./File-MMagic
perl Makefile.PL
make
su xxx 
make install 

./cofigure --enable-tknamazu

その後 make をすると、以下のようなerrorが出ます。
でも、makeは最後まで通ります。

--- 省略 ---

make[2]: 入ります ディレクトリ `/home/yank/TMP/namazu-2.0.5/nmz'
/bin/sh ../libtool --mode=compile gcc -DLOCALEDIR=\"/usr/local/share/locale\"        -DOPT_CONFDIR=\"/usr/local/etc/namazu\"        -DOPT_INDEXDIR=\"/usr/local/var/namazu/index\"        -DHAVE_SUPPORT_H        -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src 	-I./../intl -I./../nmz    -g -O2 -Wall -pedantic -c regex.c
rm -f .libs/regex.lo
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DOPT_CONFDIR=\"/usr/local/etc/namazu\" -DOPT_INDEXDIR=\"/usr/local/var/namazu/index\" -DHAVE_SUPPORT_H -DHAVE_CONFIG_H -I. -I.. -I./../lib -I./../src -I./../intl -I./../nmz -g -O2 -Wall -pedantic -c regex.c  -fPIC -DPIC -o .libs/regex.lo
regex.c:355: warning: comma at end of enumerator list
regex.c: In function `nmz_re_set_syntax':
regex.c:405: warning: control reaches end of non-void function
regex.c: In function `print_mbc':
regex.c:479: warning: int format, long int arg (arg 2)
regex.c:481: warning: int format, long int arg (arg 3)
regex.c:483: warning: int format, long int arg (arg 3)
regex.c:483: warning: int format, long int arg (arg 4)
regex.c:485: warning: int format, long int arg (arg 3)
regex.c:485: warning: int format, long int arg (arg 4)
regex.c:485: warning: int format, long int arg (arg 5)
regex.c:487: warning: int format, long int arg (arg 3)
regex.c:487: warning: int format, long int arg (arg 4)
regex.c:487: warning: int format, long int arg (arg 5)
regex.c:487: warning: int format, long int arg (arg 6)
regex.c:489: warning: int format, long int arg (arg 3)
regex.c:489: warning: int format, long int arg (arg 4)
regex.c:489: warning: int format, long int arg (arg 5)
regex.c:489: warning: int format, long int arg (arg 6)
regex.c:489: warning: int format, long int arg (arg 7)
regex.c:492: warning: unsigned int format, long unsigned int arg (arg 2)
regex.c:495: warning: int format, long int arg (arg 2)
regex.c:495: warning: int format, long int arg (arg 3)
regex.c: In function `nmz_re_compile_pattern':
regex.c:1385: warning: suggest parentheses around arithmetic in operand of |
regex.c:1409: warning: suggest parentheses around && within ||
regex.c:1447: warning: implicit declaration of function `nmz_scan_hex'
regex.c:1455: warning: implicit declaration of function `nmz_scan_oct'
regex.c:1463: warning: suggest parentheses around arithmetic in operand of |
regex.c:1582: warning: subscript has type `char'
regex.c:1584: warning: subscript has type `char'
regex.c:1584: warning: subscript has type `char'
regex.c:2050: warning: subscript has type `char'
regex.c:2052: warning: subscript has type `char'
regex.c:2052: warning: subscript has type `char'
regex.c:2237: warning: enumeration value `unused' not handled in switch
regex.c:2237: warning: enumeration value `exactn' not handled in switch
regex.c:2237: warning: enumeration value `begline' not handled in switch
regex.c:2237: warning: enumeration value `endline' not handled in switch
regex.c:2237: warning: enumeration value `begbuf' not handled in switch
regex.c:2237: warning: enumeration value `endbuf' not handled in switch
regex.c:2237: warning: enumeration value `endbuf2' not handled in switch
regex.c:2237: warning: enumeration value `on_failure_jump' not handled in switch
regex.c:2237: warning: enumeration value `push_dummy_failure' not handled in switch
regex.c:2237: warning: enumeration value `succeed_n' not handled in switch
regex.c:2237: warning: enumeration value `try_next' not handled in switch
regex.c:2237: warning: enumeration value `finalize_push' not handled in switch
regex.c:2237: warning: enumeration value `finalize_push_n' not handled in switch
regex.c:2237: warning: enumeration value `set_number_at' not handled in switch
regex.c:2237: warning: enumeration value `anychar' not handled in switch
regex.c:2237: warning: enumeration value `anychar_repeat' not handled in switch
regex.c:2237: warning: enumeration value `charset' not handled in switch
regex.c:2237: warning: enumeration value `charset_not' not handled in switch
regex.c:2237: warning: enumeration value `start_memory' not handled in switch
regex.c:2237: warning: enumeration value `stop_memory' not handled in switch
regex.c:2237: warning: enumeration value `start_paren' not handled in switch
regex.c:2237: warning: enumeration value `stop_paren' not handled in switch
regex.c:2237: warning: enumeration value `casefold_on' not handled in switch
regex.c:2237: warning: enumeration value `casefold_off' not handled in switch
regex.c:2237: warning: enumeration value `posix_on' not handled in switch
regex.c:2237: warning: enumeration value `posix_off' not handled in switch
regex.c:2237: warning: enumeration value `start_nowidth' not handled in switch
regex.c:2237: warning: enumeration value `stop_nowidth' not handled in switch
regex.c:2237: warning: enumeration value `pop_and_fail' not handled in switch
regex.c:2237: warning: enumeration value `duplicate' not handled in switch
regex.c:2237: warning: enumeration value `wordchar' not handled in switch
regex.c:2237: warning: enumeration value `notwordchar' not handled in switch
regex.c:2237: warning: enumeration value `wordbeg' not handled in switch
regex.c:2237: warning: enumeration value `wordend' not handled in switch
regex.c:2237: warning: enumeration value `wordbound' not handled in switch
regex.c:2237: warning: enumeration value `notwordbound' not handled in switch
regex.c:1114: warning: `c1' might be used uninitialized in this function
regex.c: In function `bm_init_skip':
regex.c:2536: warning: subscript has type `char'
regex.c: In function `nmz_re_search':
regex.c:3095: warning: suggest parentheses around arithmetic in operand of |
regex.c: In function `nmz_re_match':
regex.c:3631: warning: suggest parentheses around arithmetic in operand of |
regex.c:3760: warning: suggest parentheses around arithmetic in operand of |
regex.c:4092: warning: label `pop_loop' defined but not used
regex.c: At top level:
regex.c:2413: warning: `insert_op' defined but not used
regex.c:939: warning: `print_compiled_pattern' defined but not used

--- ここまでです ---

このままで、 make install 後 $mknmz -C とすると
(または, namazu-2.0.5$cd ./script ; mknmz -C )

システム: linux
Namazu: 2.0.5
Perl: 5.00502
NKF: /usr/local/bin/nkf
KAKASI: /usr/local/bin/kakasi -ieuc -oeuc -w
茶筌: no -j -F '%m '
わかち書き: /usr/local/bin/kakasi -ieuc -oeuc -w
言語: ja_JP.eucJP
文字コード: euc
CONFDIR: /usr/local/etc/namazu
LIBDIR: /usr/local/share/namazu/pl
FILTERDIR: /usr/local/share/namazu/filter
TEMPLATEDIR: /usr/local/share/namazu/template
対応メディアタイプ: 
  text/plain
  ^^^^^^^^^^
     ↑ここと

$error: glob failed at /usr/local/bin/mknmz line 369.
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
というメッセージも出ます。

Perl,KAKASI,NKFは、Plamo2.1のデフォルトのままです。

その後検索してみましたら、同じようなerrorが出ている方
もいらっしゃったみたいですが、その方達はSunOSでした。

SunOSでは

namazu-2.0.5$./configure --with-included-gettext 

とすると、問題ないみたいです。

僕もマネしてやってみましたが、もちろんダメで、さきほどと
同じ結果になります。

Namazuは、相当使うほう > 僕(^^ ですので、とりあえず
make uninstall;make clean;make distclean 後

Plamo2.1のcdromから、パッケージを入れ直してみたのですが
なぜか、そのパッケージのNamazuでも $mknmz -C の値がさきほどの
ものと同じになります。

-- 省略 --
対応メディアタイプ: 
  text/plain
  ^^^^^^^^^^^
実際に mknmz を実行してみても、やはりtextしかインデックス
を作成できません。

以上のように、なぜか元のNamazuまで、うまく動かなくなったので
ちょっと困っております。

どなたかお力を貸していただけませんでしょうか.... 
よろしくお願い致します。

-- 
Higuch!

Follow-Ups
[plamo:08935] Re: Namazu2.05のMake, Higuchi

[検索ページ] [メール一覧]
Plamo ML 公開システム