처음에 와우7.1을 설치했다가 계속 에러나서
레드헷 7.2로 다시 설치했어요..
php 4.12 컴파일시 에러.. 4.06 컴파일시 에러..
옵션은
./configure --with-apache=/usr/local/src/apache_1.3.24 --with-mysql=/usr/local/mysql --enable-sockets --enable-track-va
rs=yes 만 주고.. make 하니까 php 4.12 4.06 에서 같은 에러를 내며 안되네요
......
/usr/local/src/php-4.0.6/ext/standard/head.h:36: parse error before `time_t'
/usr/local/src/php-4.0.6/ext/standard/head.h:36: warning: no semicolon at end of struct or union
/usr/local/src/php-4.0.6/ext/standard/head.h:41: parse error before `}'
/usr/local/src/php-4.0.6/ext/standard/head.h:41: warning: data definition has no type or storage class
main.c: In function `php_log_err':
main.c:258: storage size of `tmbuf' isn't known
main.c:259: `time_t' undeclared (first use in this function)
main.c:259: (Each undeclared identifier is reported only once
main.c:259: for each function it appears in.)
main.c:259: parse error before `error_time'
main.c:272: `error_time' undeclared (first use in this function)
main.c: In function `php_message_handler_for_zend':
main.c:553: storage size of `tmbuf' isn't known
main.c:554: `time_t' undeclared (first use in this function)
main.c:554: parse error before `curtime'
main.c:558: `curtime' undeclared (first use in this function)
make[2]: *** [main.lo] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/main'
make: *** [all-recursive] Error 1
OS를 계속 바꾸고...해서
mysql설치는 했는데.. php에서 계속 컴파일 에러나서 20번도 넘게
시도 중이에요.. 6.2에선 한번에 되던데 왜 7.1 7.2는 이렇죠?
너무 답답해요..