kunitz回答ポイント 60ptウォッチ

debian3にphp5.1.2をソースからインストールしようとする際にエラーが出ます解決方法を教えてください。

↓のような感じです。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"

※ 有料アンケート・ポイント付き質問機能は2023年2月28日に終了しました。
ログインして回答する

みんなの回答

まだオープンされてない回答

この質問へのコメント

この質問への反応(ブックマークコメント)

質問の情報

登録日時
2006-03-22 02:17:12
終了日時
2006-03-29 02:20:02
回答条件
回答にURL必須 1人2回まで

この質問のカテゴリ

この質問に含まれるキーワード

mcrypt10Exif67MySQL2612PHP7798PNG334JPEG437PIC40Gd121インストール7094SAPI7Dir154

人気の質問

メニュー

PC版