mysql과 freetype, GD, php4까지 설치를 했습니다.
여기저기서 하라는 방법대로 설치를 했습니다.
그리고 마지막으로 Apache를 설치하려고 configure명령을
했는데 다음과 같은 출력으로 설치를 중단했습니다.
문제가 뭔지 모르겠습니다.
[root:/usr/local/apache_1.3.12]./configure --prefix
=/usr/local/etc/httpd/ --activate-module=src/mo
dules/php4/libphp4.a
Configuring for Apache, Version 1.3.12
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc -DLINUX=2 -I/usr/local/php-4.0.1pl2
-I/usr/local/php-4.0.1pl2/main -I/usr/local/php-4.0
.1pl2/main -I/usr/local/php-4.0.1pl2/Zend -I/usr/lo
cal/php-4.0.1pl2/Zend -I/usr/local/php-4.0.1pl2 -DU
SE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`
-o helpers/dummy helpers/dummy.c -Wl,-rpath,
/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib/mysq
l -rdynamic -L/usr/local/lib -L/usr/local/mysql/li
b/mysql -Lmodules/php4 -L../modules/php4 -L../../mo
dules/php4 -lmodphp4 -lgdbm -ldl -lmysqlclient -l
ttf -lpng -lz -lgd -lresolv -lm -ldl -lcrypt -lnsl
-lresolv -lm -lcrypt
/usr/bin/ld: cannot find -lttf
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
+ configured for Linux platform
+ setting C compiler to gcc
+ setting C pre-processor to gcc -E
+ checking for system header files
+ adding selected modules
o php4_module uses ConfigStart/End
+ checking sizeof various data types
+ doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed. The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.
======== Error Output for sanity check ========
============= End of Error Report =============
Aborting!
혹시 해결 방법을 아시는분은 가르쳐 주시기 바랍니다.
제가 질문을 제대로 했는지 모르겠습니다.
읽어 주셔서 감사합니다. 꾸벅..