php 4.3.10 make 할때 에러가 납니다;;; 도와주세요!
안녕하세요 php 4.3.10을 깔려고 하는데...
cofigure 할때는 에러가 안나더니..
make 를 실행하니 에러가 나는군요,,
zlib 버전은 아래와 같습니다..
zlib-devel-1.1.3-25.7
zlib-1.1.3-25.7
에러내용입니다;;
gcc -Iext/zlib/ -I/usr/local/php-4.3.10/ext/zlib/ -DPHP_ATOM_INC -I/usr/local/php-4.3.10/include -I/usr/local/php-4.3.10/main -I/usr/local/php-4.3.10 -I/usr/local/php-4.3.10/Zend -I/usr/include/freetype2 -I/usr/local/gd/ -I/home/oracle/app/816/rdbms/public -I/home/oracle/app/816/rdbms/demo -I/home/oracle/app/816/network/public -I/usr/local/php-4.3.10/ext/xml/expat -I/usr/local/php-4.3.10/TSRM -g -O2 -c /usr/local/php-4.3.10/ext/zlib/zlib.c -o ext/zlib/zlib.o && echo > ext/zlib/zlib.lo
In file included from /usr/include/errno.h:36,
from /usr/local/php-4.3.10/Zend/zend_operators.h:25,
from /usr/local/php-4.3.10/Zend/zend_execute_globals.h:27,
from /usr/local/php-4.3.10/Zend/zend_globals.h:34,
from /usr/local/php-4.3.10/Zend/zend_list.h:25,
from /usr/local/php-4.3.10/Zend/zend_API.h:26,
from /usr/local/php-4.3.10/main/php.h:38,
from /usr/local/php-4.3.10/ext/zlib/zlib.c:28:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
from /usr/include/limits.h:144,
from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:130,
from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h:7,
from /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h:11,
from /usr/include/sys/param.h:22,
from /usr/local/php-4.3.10/main/php.h:211,
from /usr/local/php-4.3.10/ext/zlib/zlib.c:28:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/local/php-4.3.10/main/php.h:211,
from /usr/local/php-4.3.10/ext/zlib/zlib.c:28:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory
make: *** [ext/zlib/zlib.lo] Error 1
도와주세요;;
[quote] from /usr/local/php-4.3.10/ext/z
해당 하는 파일이 /usr/include 에 없다는군요.
해당 파일을 find 명령어를 이용해 찾아보시고
configure 옵션에서 include 디렉토리를 해당 파일들이 존재하는 디렉토리로 설정하시고 해보세요.
예를 들어 /usr/local/include 에 limits.h나 param.h가 있다면,
configure 옵션에 다음과 같이 추가해보세요.
--includedir=/usr/local/include
Since 2003.
지금은 맥유저...
---
http://jtjoo.com
아니면 zlib가 설치된 디렉토리때문에 문제가 생긴거 같은데zlib가
아니면 zlib가 설치된 디렉토리때문에 문제가 생긴거 같은데
zlib가 설치된 디렉토리를 먼저 확인해보시고..
그에 따라 설정을 바꿔보세요.
옵션중에 보면 zlib에 대한 설정이 있을겁니다..
찾는 방법은 아시겠지만 혹시나 하여..
./configure --help | grep zlib
Since 2003.
지금은 맥유저...
---
http://jtjoo.com
댓글 달기