Namazu-devel-ja(旧)


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

Re: some filters add



kenzo-@xxxxxxxxxx (Ken-ichi Hirose) wrote:

>あと doccat 二対応する為に msword.pl, excel.pl の filter部分を二つに
>分けました。各々 wvHtml , xlHml を優先的に使うようにはしてあるつもりです。

doccat ってなんですか?


>まずい所があったらお知らせください。 _o_

FreeBSD 3.4R と RedHat 6.1 の環境で make check しました。
FreeBSD 3.4R の方ではたくさん問題があるようです。ログをメイ
ル末尾に添付します。修正をお願いします。

-- Satoru Takabayashi

FreeBSD 3.4R での make check


@set fnord ; amf=$2;  dot_seen=no;  target=`echo check-recursive | sed s/-recursive//`;  list='conf doc etc filter intl po nmz lib pl src lisp man scripts 	  tests template '; for subdir in $list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;  local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" || exit 1;  fi; test -z "$fail"
@set: not found
Making check in conf
perl -pe 's/^/\x23 / unless /^(\x23|package|$)/' ../pl/conf.pl > mknmzrc-sample
Making check in doc
@set fnord ; amf=$2;  dot_seen=no;  target=`echo check-recursive | sed s/-recursive//`;  list='en ja'; for subdir in $list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;  local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" || exit 1;  fi; test -z "$fail"
@set: not found
Making check in en
Making check in ja
Making check in etc
Making check in filter
@set fnord ; amf=$2;  dot_seen=no;  target=`echo check-recursive | sed s/-recursive//`;  list=''; for subdir in $list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;  local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" || exit 1;  fi; test -z "$fail"
@set: not found
Making check in intl
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  intl-compat.c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  bindtextdom.c
In file included from bindtextdom.c:47:
gettextP.h:49: warning: ANSI does not permit the keyword `inline'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  dcgettext.c
In file included from dcgettext.c:79:
gettextP.h:49: warning: ANSI does not permit the keyword `inline'
In file included from dcgettext.c:85:
hash-string.h:38: warning: ANSI does not permit the keyword `inline'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  dgettext.c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  gettext.c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  finddomain.c
In file included from finddomain.c:57:
gettextP.h:49: warning: ANSI does not permit the keyword `inline'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  loadmsgcat.c
In file included from loadmsgcat.c:39:
gettextP.h:49: warning: ANSI does not permit the keyword `inline'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  localealias.c
In file included from localealias.c:73:
gettextP.h:49: warning: ANSI does not permit the keyword `inline'
localealias.c: In function `read_alias_file':
localealias.c:258: warning: pointer targets in passing arg 1 of `fgets' differ in signedness
localealias.c:264: warning: pointer targets in passing arg 1 of `strchr' differ in signedness
localealias.c:317: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
localealias.c:318: warning: pointer targets in passing arg 1 of `strlen' differ in signedness
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  textdomain.c
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  l10nflist.c
l10nflist.c:157: warning: ANSI does not permit the keyword `inline'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DGNULOCALEDIR=\"/usr/local/share/locale\"  -DLOCALE_ALIAS_PATH=\"/usr/local/share/locale:.\" -DHAVE_CONFIG_H -I.. -I. -I../intl -I../lib  -g -O2 -Wall -pedantic  explodename.c
explodename.c: In function `_nl_explode_name':
explodename.c:112: warning: pointer targets in passing arg 1 of `_nl_normalize_codeset' differ in signedness
rm -f libintl.a
ar cru libintl.a intl-compat.o bindtextdom.o dcgettext.o dgettext.o gettext.o  finddomain.o loadmsgcat.o localealias.o textdomain.o l10nflist.o  explodename.o
ranlib libintl.a
Making check in po
Making check in nmz
Making check in lib
Making check in pl
rm -f gettext.pl
sed -e 's!@LOCALEDIR@!/usr/local/share/locale!g'  ./gettext.pl.in > gettext.pl
Making check in src
Making check in lisp
Making check in man
Making check in scripts
rm -f gcnmz
sed -e 's!%PERL%!/usr/bin/perl5!g'  -e 's!@PERLLIBDIR@!/usr/local/share/namazu/pl!g' ./gcnmz.in > gcnmz.tmp
mv gcnmz.tmp gcnmz
chmod +x gcnmz
rm -f kwnmz
sed -e 's!%PERL%!/usr/bin/perl5!g'  -e 's!@PERLLIBDIR@!/usr/local/share/namazu/pl!g' ./kwnmz.in > kwnmz.tmp
mv kwnmz.tmp kwnmz
chmod +x kwnmz
rm -f mknmz
sed -e 's!%PERL%!/usr/bin/perl5!g'  -e 's!%ADDITIONAL_INC%!.!g'  -e 's!@CONFDIR@!/usr/local/etc/namazu!g'  -e 's!@PERLLIBDIR@!/usr/local/share/namazu/pl!g'  -e 's!@FILTERDIR@!/usr/local/share/namazu/filter!g'  -e 's!@TEMPLATEDIR@!/usr/local/share/namazu/template!g' ./mknmz.in >mknmz.tmp
mv mknmz.tmp mknmz
chmod +x mknmz
Making check in tests
@set fnord ; amf=$2;  dot_seen=no;  target=`echo check-recursive | sed s/-recursive//`;  list='data'; for subdir in $list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;  local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" || exit 1;  fi; test -z "$fail"
@set: not found
Making check in data
@set fnord ; amf=$2;  dot_seen=no;  target=`echo check-recursive | sed s/-recursive//`;  list='en ja query'; for subdir in $list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes;  local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" || exit 1;  fi; test -z "$fail"
@set: not found
Making check in en
Making check in ja
Making check in query
make  check-TESTS
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
PASS: mknmz-1
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
PASS: mknmz-2
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
PASS: mknmz-3
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
PASS: mknmz-4
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
PASS: mknmz-5
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
PASS: mknmz-6
Use of uninitialized value at ../filter/ichitaro456.pl line 44.
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
doscmd: illegal option -- s
usage: doscmd cmd args...
PASS: gcnmz-1
PASS: idxdiff-1
PASS: idxdiff-2
PASS: idxdiff-3
FAIL: namazu-1
FAIL: namazu-2
FAIL: namazu-3
PASS: namazu-4
PASS: namazu-5
PASS: namazu-6
FAIL: namazu-cgi-1
FAIL: namazu-cgi-2
====================
5 of 18 tests failed
====================
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1 (ignored)
Making check in template
cd . && autoheader
configure.in:112: warning: AC_TRY_RUN called without default to allow cross compiling
configure.in:117: warning: AC_TRY_RUN called without default to allow cross compiling
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
creating config.h
config.h is unchanged
linking ./intl/libgettext.h to intl/libintl.h


RedHat 6.1 での make check


Making check in conf
make[1]: Entering directory `/home/satoru-t/cvs/namazu/conf'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/conf'
Making check in doc
make[1]: Entering directory `/home/satoru-t/cvs/namazu/doc'
Making check in en
make[2]: Entering directory `/home/satoru-t/cvs/namazu/doc/en'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/doc/en'
Making check in ja
make[2]: Entering directory `/home/satoru-t/cvs/namazu/doc/ja'
make[2]: Nothing to be done for `check'.
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/doc/ja'
make[2]: Entering directory `/home/satoru-t/cvs/namazu/doc'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/doc'
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/doc'
Making check in etc
make[1]: Entering directory `/home/satoru-t/cvs/namazu/etc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/etc'
Making check in filter
make[1]: Entering directory `/home/satoru-t/cvs/namazu/filter'
make[2]: Entering directory `/home/satoru-t/cvs/namazu/filter'
make[2]: Nothing to be done for `check-am'.
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/filter'
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/filter'
Making check in intl
make[1]: Entering directory `/home/satoru-t/cvs/namazu/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/intl'
Making check in po
make[1]: Entering directory `/home/satoru-t/cvs/namazu/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/po'
Making check in nmz
make[1]: Entering directory `/home/satoru-t/cvs/namazu/nmz'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/nmz'
Making check in lib
make[1]: Entering directory `/home/satoru-t/cvs/namazu/lib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/lib'
Making check in pl
make[1]: Entering directory `/home/satoru-t/cvs/namazu/pl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/pl'
Making check in src
make[1]: Entering directory `/home/satoru-t/cvs/namazu/src'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/src'
Making check in lisp
make[1]: Entering directory `/home/satoru-t/cvs/namazu/lisp'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/lisp'
Making check in man
make[1]: Entering directory `/home/satoru-t/cvs/namazu/man'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/man'
Making check in scripts
make[1]: Entering directory `/home/satoru-t/cvs/namazu/scripts'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/scripts'
Making check in tests
make[1]: Entering directory `/home/satoru-t/cvs/namazu/tests'
Making check in data
make[2]: Entering directory `/home/satoru-t/cvs/namazu/tests/data'
Making check in en
make[3]: Entering directory `/home/satoru-t/cvs/namazu/tests/data/en'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/satoru-t/cvs/namazu/tests/data/en'
Making check in ja
make[3]: Entering directory `/home/satoru-t/cvs/namazu/tests/data/ja'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/satoru-t/cvs/namazu/tests/data/ja'
Making check in query
make[3]: Entering directory `/home/satoru-t/cvs/namazu/tests/data/query'
make[3]: Nothing to be done for `check'.
make[3]: Leaving directory `/home/satoru-t/cvs/namazu/tests/data/query'
make[3]: Entering directory `/home/satoru-t/cvs/namazu/tests/data'
make[3]: Nothing to be done for `check-am'.
make[3]: Leaving directory `/home/satoru-t/cvs/namazu/tests/data'
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/tests/data'
make[2]: Entering directory `/home/satoru-t/cvs/namazu/tests'
make  check-TESTS
make[3]: Entering directory `/home/satoru-t/cvs/namazu/tests'
PASS: mknmz-1
PASS: mknmz-2
PASS: mknmz-3
PASS: mknmz-4
PASS: mknmz-5
PASS: mknmz-6
PASS: gcnmz-1
PASS: idxdiff-1
PASS: idxdiff-2
PASS: idxdiff-3
PASS: namazu-1
PASS: namazu-2
PASS: namazu-3
PASS: namazu-4
PASS: namazu-5
PASS: namazu-6
PASS: namazu-cgi-1
PASS: namazu-cgi-2
===================
All 18 tests passed
===================
make[3]: Leaving directory `/home/satoru-t/cvs/namazu/tests'
make[2]: Leaving directory `/home/satoru-t/cvs/namazu/tests'
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/tests'
Making check in template
make[1]: Entering directory `/home/satoru-t/cvs/namazu/template'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/home/satoru-t/cvs/namazu/template'
make[1]: Entering directory `/home/satoru-t/cvs/namazu'
make[1]: Leaving directory `/home/satoru-t/cvs/namazu'