>> Edit article
이름
제목
패스워드
php에서 configure할때 --with-gd=/usr/local/gd 이렇게 넣어주시면 아무 에러 없을것 같은데요. 글구 gcc에서 문제가 있다고 의심이 드시면 rpm -qa | grep util-linux 해보세요. util-linux-버젼 이런식으로 나오면 gcc는 이상없겠죠. : mysql은 깐 상태이구요. : 아파치 폴더에서 ./configure 만 해준 후에 : php폴더에서 ./configure --with-apache=/usr/local/src/apache --with-mysql=/usr/local/mysql --enable-track-vars : 이렇게 한 상태 입니다. : 여기까진 무리없이 잘 되었습니다. : 근데 make를 하면 아래와 같은 에러가 납니다. : 왜 갑자기 gd가 문제가 되는지 모르겠네요. : : 상략 : Making all in gd : make[2]: Entering directory `/usr/local/src/php-4.0.2/ext/gd' : make[3]: Entering directory `/usr/local/src/php-4.0.2/ext/gd' : gcc -I. -I/usr/local/src/php-4.0.2/ext/gd -I/usr/local/src/php-4.0.2 -I/usr/local/src/php-4.0.2/main -I/usr/local/src/apache/src/include -I/usr/local/src/apache/src/os/unix -I/usr/local/src/php-4.0.2/Zend -I/usr/local/src/php-4.0.2 -I/usr/local/mysql/include/mysql -I/usr/local/src/php-4.0.2/ext/xml/expat/xmltok -I/usr/local/src/php-4.0.2/ext/xml/expat/xmlparse -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo : gd.c: In function `php_if_imagecreatefromgif': : gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function) : gd.c:500: (Each undeclared identifier is reported only once : gd.c:500: for each function it appears in.) : gd.c: In function `php_if_imagegif': : gd.c:657: `gdImageGif' undeclared (first use in this function) : make[3]: *** [gd.lo] Error 1 : make[3]: Leaving directory `/usr/local/src/php-4.0.2/ext/gd' : make[2]: *** [all-recursive] Error 1 : make[2]: Leaving directory `/usr/local/src/php-4.0.2/ext/gd' : make[1]: *** [all-recursive] Error 1 : make[1]: Leaving directory `/usr/local/src/php-4.0.2/ext' : make: *** [all-recursive] Error 1 : : 맨 끝부분이 위와 같습니다. : 아 알짜리룩스6.x이구요. 커널컴파일이나 뭐 이런 것 전혀 안한 상태입니다. : 처음에 최소버전 정도로 리룩스를 깐 상태입니다. : 아시는 답변 부탁드립니다.--게시판에서는 서치를 먼저 할줄아는 리눅서가 됩니다.
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved