makeで出るエラーが解決出来ません
centOS5.3にsqliteを入れようと思い、
http://d.hatena.ne.jp/sotarok/20080607/php_5_with_sqlite
こちらを参考にインストールしてみたんですが、
「make」
でエラーとなり、インストールが出来ません・・・。
エラー内容は・・・
/bin/sh /usr/local/src/php-5.2.10/ext/sqlite/libtool --mode=compile gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -o sqlite.lo
mkdir .libs
gcc -I/usr/local/src/php-5.2.10/ext/sqlite/libsqlite/src -I./libsqlite/src -I/usr/include/php/ext -I. -I/usr/local/src/php-5.2.10/ext/sqlite -DPHP_ATOM_INC -I/usr/local/src/php-5.2.10/ext/sqlite/include -I/usr/local/src/php-5.2.10/ext/sqlite/main -I/usr/local/src/php-5.2.10/ext/sqlite -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/php-5.2.10/ext/sqlite/sqlite.c -fPIC -DPIC -o .libs/sqlite.o
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211:65: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213:60: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:211: error: 'ZEND_ME_MAPPING' undeclared here (not in a function)
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:213: error: expected '}' before 'ZEND_ME_MAPPING'
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:214:64: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3
~略~
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:265:45: error: macro "ZEND_ME_MAPPING" passed 4 arguments, but takes just 3
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'sqlite_get_iterator':
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: 'E_RECOVERABLE_ERROR' undeclared (first use in this function)
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: (Each undeclared identifier is reported only once
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: error: for each function it appears in.)
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1017: warning: passing argument 1 of 'zend_error' makes integer from pointer without a cast
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: At top level:
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter 1 has incomplete type
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'PHP_GINIT_FUNCTION':
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1028: error: parameter name omitted
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: invalid type argument of '->'
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1030: error: request for member 'assoc_case' in something not a structure or union
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'zm_startup_sqlite':
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1051: warning: assignment from incompatible pointer type
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1059: warning: assignment from incompatible pointer type
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c: In function 'php_sqlite_fetch':
/usr/local/src/php-5.2.10/ext/sqlite/sqlite.c:1463: warning: assignment makes pointer from integer without a cast
make: *** [sqlite.lo] Error 1
です。
原因がお分かりの方がおられましたらご教授お願いいたします。