>> Edit article
이름
제목
패스워드
: php4 컴파일중 또 에러가 발생했네요 ㅠ.ㅠ : 밑에꺼뚜 겨우 고쳤는데 ㅠ.ㅠ : 에러 메시지는.. : : : [root@kr1 php-4.0.3]# make : Making all in Zend : make[1]: Entering directory `/usr/local/php-4.0.3/Zend' : make[1]: Nothing to be done for `all'. : make[1]: Leaving directory `/usr/local/php-4.0.3/Zend' : Making all in main : make[1]: Entering directory `/usr/local/php-4.0.3/main' : make[2]: Entering directory `/usr/local/php-4.0.3/main' : make[2]: Nothing to be done for `all-p'. : make[2]: Leaving directory `/usr/local/php-4.0.3/main' : make[1]: Leaving directory `/usr/local/php-4.0.3/main' : Making all in ext : make[1]: Entering directory `/usr/local/php-4.0.3/ext' : Making all in gd : make[2]: Entering directory `/usr/local/php-4.0.3/ext/gd' : make[3]: Entering directory `/usr/local/php-4.0.3/ext/gd' : make[3]: Nothing to be done for `all-p'. : make[3]: Leaving directory `/usr/local/php-4.0.3/ext/gd' : make[2]: Leaving directory `/usr/local/php-4.0.3/ext/gd' : Making all in mysql : make[2]: Entering directory `/usr/local/php-4.0.3/ext/mysql' : make[3]: Entering directory `/usr/local/php-4.0.3/ext/mysql' : gcc -I. -I/usr/local/php-4.0.3/ext/mysql -I/usr/local/php-4.0.3 -I/usr/local/ph : p-4.0.3/main -I/usr/local/apache_1.3.14/src/include -I/usr/local/apache_1.3.14/s : rc/os/unix -I/usr/local/php-4.0.3/Zend -I/usr/local/php-4.0.3 -I/usr/local/inclu : de -I/usr/local/mysql/include/mysql -I/usr/local/php-4.0.3/ext/xml/expat/xmltok : -I/usr/local/php-4.0.3/ext/xml/expat/xmlparse -I/usr/local/php-4.0.3/TSRM -DXML : _BYTE_ORDER=12 -g -O2 -c php_mysql.c && touch php_mysql.lo : In file included from /usr/include/sys/socket.h:34, : from /usr/include/netdb.h:31, : from php_mysql.c:45: : /usr/include/bits/socket.h:35: warning: redefinition of `socklen_t' : /usr/local/php-4.0.3/main/php.h:126: warning: `socklen_t' previously declared he : re : php_mysql.c: In function `_close_mysql_link': : php_mysql.c:190: `SIGPIPE' undeclared (first use in this function) : php_mysql.c:190: (Each undeclared identifier is reported only once : php_mysql.c:190: for each function it appears in.) : php_mysql.c:190: `SIG_IGN' undeclared (first use in this function) : php_mysql.c:190: warning: assignment makes pointer from integer without a cast : php_mysql.c: In function `_close_mysql_plink': : php_mysql.c:202: `SIGPIPE' undeclared (first use in this function) : php_mysql.c:202: `SIG_IGN' undeclared (first use in this function) : php_mysql.c:202: warning: assignment makes pointer from integer without a cast : php_mysql.c: In function `php_mysql_do_connect': : php_mysql.c:462: `SIGPIPE' undeclared (first use in this function) : php_mysql.c:462: `SIG_IGN' undeclared (first use in this function) : php_mysql.c:462: warning: assignment makes pointer from integer without a cast : make[3]: *** [php_mysql.lo] Error 1 : make[3]: Leaving directory `/usr/local/php-4.0.3/ext/mysql' : make[2]: *** [all-recursive] Error 1 : make[2]: Leaving directory `/usr/local/php-4.0.3/ext/mysql' : make[1]: *** [all-recursive] Error 1 : make[1]: Leaving directory `/usr/local/php-4.0.3/ext' : make: *** [all-recursive] Error 1 : [root@kr1 php-4.0.3]# : : 이케 뜨네요 : 어케 해야 할까요 ㅠ.ㅠ : : -- : 이 곳에 서명을 적어주십시오. : 왕! 촙! 리누서 ㅠ.ㅠ 저도 예전에 php4를 컴파일 하는데 애를 먹은적이 있습니다. 항상 옵션을 줄때는 절대 경로를 써주는게 좋습니다. 그런데 보아하니 mysql이 `/usr/local/php-4.0.3/ext/mysql' 에 없는거 같군요... 일반적인 mysql옵션은 예전의 데이터와 같이 쓰기 위하여 --with-mysql=/usr 옵션을 줍니다. 전 이렇게해서 ApacheJServ와 Php4, Mysql그리고 Oracle까지 같이 컴파일해서 씁니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved