수고하십니다. 다름이 아니라 php 설치시 아래에 에러 메시지가 나오는데 잘 모르겠습니
다. 좀 도와주십시오.
os : mizi 리눅스 1.0 근데 커널은 2.4.19
mysql : 3.23.52 apache:1.3.20 php: 4.0.5입니다. 부탁드립니다.
설치할때 순서는
아피치에서 우선 ./configure --prefix=/usr/local/apache
위에서 이렇게 하구
php에서
./configure --with-apache=/usr/local/apache
--with-mysql=/usr/local/mysql
--with-language=korean
--with-charset=euc_kr
--enable-track-vars
--disable-debug
이렇게 옵션을 주고 설치를 합니다.
./configure 이것은 에러없이 잘 설치가 되는데
make 할때 아래에 메시지가 나옵니다.
microtime.c: In function `php_if_getrusage':
microtime.c:99: storage size of `usg' isn't known
microtime.c:102: `RUSAGE_SELF' undeclared (first use in this function)
microtime.c:102: (Each undeclared identifier is reported only once
microtime.c:102: for each function it appears in.)
microtime.c:108: `RUSAGE_CHILDREN' undeclared (first use in this function)
make[3]: *** [microtime.lo] Error 1
make[3]: Leaving directory `/usr/local/php/ext/standard'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/php/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/php/ext'
make: *** [all-recursive] Error 1