[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

[webdav-jp:0773] マック用webdavパッチについて



先日は大変失礼しました

濁点、半濁点の問題を回避するパッチを当ててみたのですが、
gmakeに失敗します。OSはFreeBSD4.7です。

server#patch mod_encoding-20021209/mod_encoding.c
mod_encoding-l10n-formacos.patch
Server# cd mod_encoding-20021209
Server# cd lib
Server# ./configure
Server# gmake
Server# gmake install
Server# cd ../
Server# ./configure --enable-debug --with-apxs=/usr/local/apache/bin/apxs
--with-iconv-hook=/usr/local/include
Server# edit Makefile
LIBS = -I/usr/local/include -L/usr/local/lib -L./lib -liconv
Server# gmake
/usr/local/apache/bin/apxs -c -DMOD_ENCODING_DEBUG=1  -I/usr/local/include
-Wc,-Wall  -I/usr/local/include -L/usr/local/lib -L./lib -liconv
mod_encoding.c
gcc -funsigned-char -DUSE_EXPAT -I../lib/expat-lite -fpic -DSHARED_CORE
-DSHARED_MODULE -I/usr/local/apache/include -Wall -I/usr/local/include
-I/usr/local/include -DMOD_ENCODING_DEBUG=1  -c mod_encoding.c
mod_encoding.c: In function `iconv_string':
mod_encoding.c:100: warning: passing arg 2 of `iconv' from incompatible
pointer type
mod_encoding.c: In function `iconv_header':
mod_encoding.c:138: warning: implicit declaration of function
`convert_utf8_to_utf8_forwin'
mod_encoding.c:138: warning: assignment makes pointer from integer without a
cast
mod_encoding.c: In function `mod_enc_convert':
mod_encoding.c:481: syntax error before `struct'
mod_encoding.c:485: warning: control reaches end of non-void function
mod_encoding.c: At top level:
mod_encoding.c:491: elements of array `conv_ru' have incomplete type
mod_encoding.c:492: warning: excess elements in struct initializer
mod_encoding.c:492: warning: (near initialization for `conv_ru[0]')
mod_encoding.c:492: warning: excess elements in struct initializer
mod_encoding.c:492: warning: (near initialization for `conv_ru[0]')
mod_encoding.c:493: warning: excess elements in struct initializer
mod_encoding.c:493: warning: (near initialization for `conv_ru[1]')
mod_encoding.c:493: warning: excess elements in struct initializer
mod_encoding.c:493: warning: (near initialization for `conv_ru[1]')
mod_encoding.c:494: warning: excess elements in struct initializer
mod_encoding.c:494: warning: (near initialization for `conv_ru[2]')
mod_encoding.c:494: warning: excess elements in struct initializer
mod_encoding.c:494: warning: (near initialization for `conv_ru[2]')
mod_encoding.c:495: warning: excess elements in struct initializer
mod_encoding.c:495: warning: (near initialization for `conv_ru[3]')
mod_encoding.c:495: warning: excess elements in struct initializer
mod_encoding.c:495: warning: (near initialization for `conv_ru[3]')
mod_encoding.c:496: warning: excess elements in struct initializer
mod_encoding.c:496: warning: (near initialization for `conv_ru[4]')
mod_encoding.c:496: warning: excess elements in struct initializer
mod_encoding.c:496: warning: (near initialization for `conv_ru[4]')
mod_encoding.c:497: invalid use of undefined type `struct utf8_4to2'
mod_encoding.c:557: warning: type mismatch with previous implicit
declaration
mod_encoding.c:138: warning: previous implicit declaration of
`convert_utf8_to_utf8_forwin'
mod_encoding.c:557: warning: `convert_utf8_to_utf8_forwin' was previously
implicitly declared to return `int'
mod_encoding.c: In function `convert_utf8_to_utf8_forwin':
mod_encoding.c:588: invalid use of undefined type `struct utf8_4to2'
mod_encoding.c:591: invalid use of undefined type `struct utf8_4to2'
mod_encoding.c:595: invalid use of undefined type `struct utf8_4to2'
mod_encoding.c: At top level:
mod_encoding.c:650: syntax error before string constant
mod_encoding.c:650: warning: type defaults to `int' in declaration of
`server'
mod_encoding.c:366: warning: `folder_setup' defined but not used
mod_encoding.c:427: warning: `mod_enc_convert' defined but not used
apxs:Break: Command failed with rc=1
gmake: *** [mod_encoding.so] Error 1

すみませんがどなたかよろしくお願いします