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/ap
ache/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/l
ocal/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/xmlpar
se -DXML_BYTE_ORDER=12 -g -O2 -c gd.c && touch gd.lo gd.c: In function `php_if_imagecreatefromgif': gd.c:500: `gdImageCr
eateFromGif' undeclared (first use in this function) gd.c:500: (Each undeclared identifier is reported only once gd.c:50
0: 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이구요. 커널컴파일이나 뭐 이런 것 전혀 안한 상태입니다.
처음에 최소버전 정도로 리룩스를 깐 상태입니다.
아시는 답변 부탁드립니다.