Namazu-users-ja(旧)


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

Re: namazuのmake chexk時にintlにてエラーが発生する。



早速のご返答ありがとうございます。
Solaris導入時におけるconfigure時の--with-included-gettextは
認識があり、いろいろ試したのですがダメでした。

再度--with-included-gettextを付加した形で実行したところ、メッセージが少し変わったので以下に
記述します。

----------------------------------------------------------------------
【エラー内容】
 ・
 ・
 ・
Making check in intl
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  intl-compat.c
In file included from intl-compat.c:25:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  bindtextdom.c
In file included from bindtextdom.c:32:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
bindtextdom.c: In function `set_binding_values':
bindtextdom.c:154: warning: implicit declaration of function `strdup'
bindtextdom.c:154: warning: assignment makes pointer from integer without a cast
bindtextdom.c:192: warning: assignment makes pointer from integer without a cast
bindtextdom.c:250: warning: assignment makes pointer from integer without a cast
bindtextdom.c:281: warning: assignment makes pointer from integer without a cast
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dcgettext.c
In file included from dcgettext.c:23:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  dgettext.c
In file included from dgettext.c:25:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  gettext.c
In file included from gettext.c:30:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  finddomain.c
In file included from finddomain.c:33:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
finddomain.c: In function `_nl_find_domain':
finddomain.c:124: warning: implicit declaration of function `strdup'
finddomain.c:124: warning: assignment makes pointer from integer without a cast
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  loadmsgcat.c
In file included from loadmsgcat.c:34:
/usr/include/sys/stat.h:168: parse error before `blkcnt_t'
/usr/include/sys/stat.h:168: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:171: parse error before `}'
/usr/include/sys/stat.h:171: warning: ANSI C does not allow extra `;' outside of a function
In file included from loadmsgcat.c:75:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
loadmsgcat.c:142: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:143: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:147: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:148: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:149: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:151: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:156: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:157: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:158: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:160: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:162: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c:163: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c: In function `_nl_load_domain':
loadmsgcat.c:349: storage size of `st' isn't known
loadmsgcat.c:349: warning: unused variable `st'
*** Error code 1
make: Fatal error: Command failed for target `loadmsgcat.o'
Current working directory /export/home/mastv01/namazu/namazu-2.0.12/intl
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'
/export/home/mastv01/namazu/namazu-2.0.12%make check
Making check in conf
Making check in doc
Making check in en
Making check in ja
Making check in etc
Making check in filter
Making check in intl
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\"
-DLOCALE_ALIAS_PATH=\"/usr/local/share/locale\"  -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H
-I.. -I. -
I../intl  -g -O2 -Wall -pedantic  loadmsgcat.c
In file included from loadmsgcat.c:34:
/usr/include/sys/stat.h:168: parse error before `blkcnt_t'
/usr/include/sys/stat.h:168: warning: no semicolon at end of struct or union
/usr/include/sys/stat.h:171: parse error before `}'
/usr/include/sys/stat.h:171: warning: ANSI C does not allow extra `;' outside of a function
In file included from loadmsgcat.c:75:
gettextP.h:66: warning: ANSI does not permit the keyword `inline'
gettextP.h:162: warning: ANSI C forbids zero-size array `domainname'
loadmsgcat.c:142: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:143: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:147: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:148: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:149: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:151: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:156: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:157: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:158: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:160: warning: ANSI C forbids specifying structure member to initialize
loadmsgcat.c:162: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c:163: warning: ANSI C forbids specifying element to initialize
loadmsgcat.c: In function `_nl_load_domain':
loadmsgcat.c:349: storage size of `st' isn't known
loadmsgcat.c:349: warning: unused variable `st'
*** Error code 1
make: Fatal error: Command failed for target `loadmsgcat.o'
Current working directory /export/home/mastv01/namazu/namazu-2.0.12/intl
*** Error code 1
make: Fatal error: Command failed for target `check-recursive'

----------------------------------------------------------------------

今回Solarisのgettextは使用せずに、ディレクトリを別にしてGNUgettextをインストールしており、パ
スもそちらの方に向けています。gettextのインストールに失敗しているのでしょうか?

以上