Chinaunix

标题: apache编译出错,请教 [打印本页]

作者: bbnnq    时间: 2006-01-09 15:22
标题: apache编译出错,请教
In file included from /usr/local/php-4.3.5/ext/mbstring/mbstring.h:75,
                 from mod_php4.c:30:
/usr/local/php-4.3.5/ext/mbstring/php_mbregex.h:28:21: mbregex.h: No such file or directory
In file included from mod_php4.c:30:
/usr/local/php-4.3.5/ext/mbstring/mbstring.h:181: error: syntax error before "mb_regex_t"
/usr/local/php-4.3.5/ext/mbstring/mbstring.h:181: warning: no semicolon at end of struct or union
/usr/local/php-4.3.5/ext/mbstring/mbstring.h:183: error: syntax error before '}' token
/usr/local/php-4.3.5/ext/mbstring/mbstring.h:183: warning: data definition has no type or storage class
make[4]: *** [mod_php4.o] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/apache_1.3.33/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/apache_1.3.33'
make: *** [build] Error 2
apache1.3.33,php-4.3.5,我需要使用mb_strlen和mb_substr等函数,在编译PHP时加入--enable-mbstring选项,编译出错,怎么做?
作者: greysky-zfj    时间: 2006-01-09 16:29
缺少头文件mbregex.h




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2