↓のような感じです。configureはとおるのですが、makeで落ちます。
./configure --enable-mbstring \
--enable-mbregex \
--enable-zend-multibyte \
--with-apxs2=/usr/bin/apxs \
--with-gd \
--with-jpeg-dir=/usr \
--with-zlib \
--with-png-dir=/usr \
--with-mcrypt \
--enable-exif \
--with-mysql=/usr/bin/mysql
は通り、
make
で
M -I/home/admin/t_src/php-5.1.2/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /home/admin/t_src/php-5.1.2/sapi/apache2handler/mod_php5.c -o sapi/apache2handler/mod_php5.lo
In file included from /home/admin/t_src/php-5.1.2/sapi/apache2handler/mod_php5.c:26:
/home/admin/t_src/php-5.1.2/sapi/apache2handler/php_apache.h:29: error: syntax error before "php5_module"
エラーそのものは、mod_php5.cでincludeしているphp_apache.hの29行目に、構文エラーがあるという意味です。
ただ、公開されているソースで構文エラーが出ることは、普通ではありませんので、configure時の動作に誤りがあって、debian用にきちんとconfigureが行われていない可能性が高いです。
もしくは、何かインストールされているべきものが入っていないから、configureが予期しない状態になったとか。
質問のエラーとは違いますが、似たような事例です↓
回答者 | 回答 | 受取 | ベストアンサー | 回答時間 | |
---|---|---|---|---|---|
1 | kimizu | 726回 | 657回 | 21回 | 2006-03-28 18:42:36 |
コメント(1件)