질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

아파치 설치 진짜 안되요..도와주세요..

작성자 정보

  • 김호진 작성
  • 작성일

컨텐츠 정보

본문

[root@tmk usr]# cd local/src/apache_1.3.36/
[root@tmk apache_1.3.36]# ./configure --prefix=/usr/local/apache --activate-module=src/modules/php4/libphp4.a --enable-rule=SHARED_CORE  --enable-module=so --enable-shared=max
Configuring for Apache, Version 1.3.36
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to /usr/bin/cpp
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + enabling generation of Apache core as DSO
 + 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 ========
cd ..; gcc  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -fpic -DSHARED_CORE `./apaci`     -o helpers/dummy helpers/dummy.c   -lm
gcc: installation problem, cannot exec 'cc1': No such file or directory
make: *** [dummy] Error 1
============= End of Error Report =============

 Aborting!
[root@tmk apache_1.3.36]# make
===> src
make[1]: 들어감 `/usr/local/src/apache_1.3.36' 디렉토리
make[2]: 들어감 `/usr/local/src/apache_1.3.36/src' 디렉토리
make[2]: *** 목표 `all'를 만들 규칙이 없음.  멈춤.
make[2]: 나감 `/usr/local/src/apache_1.3.36/src' 디렉토리
make[1]: *** [build-std] 오류 2
make[1]: 나감 `/usr/local/src/apache_1.3.36' 디렉토리
make: *** [build] 오류 2
[root@tmk apache_1.3.36]# make instal
make: *** 목표 `instal'를 만들 규칙이 없음.  멈춤.
[root@tmk apache_1.3.36]# make install
make[1]: 들어감 `/usr/local/src/apache_1.3.36' 디렉토리
===> src
make[2]: 들어감 `/usr/local/src/apache_1.3.36' 디렉토리
make[3]: 들어감 `/usr/local/src/apache_1.3.36/src' 디렉토리
make[3]: *** 목표 `all'를 만들 규칙이 없음.  멈춤.
make[3]: 나감 `/usr/local/src/apache_1.3.36/src' 디렉토리
make[2]: *** [build-std] 오류 2
make[2]: 나감 `/usr/local/src/apache_1.3.36' 디렉토리
make[1]: *** [build] 오류 2
make[1]: 나감 `/usr/local/src/apache_1.3.36' 디렉토리
make: *** [install-all] 오류 2
[root@tmk apache_1.3.36]#

 

리눅스 설치 해서 바로 했는데 도저히 안되네요..

부탁드립니다.

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,372 명
  • 현재 강좌수 :  37,042 개
  • 현재 접속자 :  288 명