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

php-5.1.4 설치시 에러납니다. 도와주세요

작성자 정보

  • 김호진 작성
  • 작성일

컨텐츠 정보

본문

[root@tmk php-5.1.4]# ./configure --prefix=/usr/local/php/ --with-mysql=/usr/local/mysql/ --with-apache=../apache_1.3.36
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
[root@tmk php-5.1.4]# make
make: *** No targets specified and no makefile found.  멈춤.
[root@tmk php-5.1.4]# make install
make: *** 목표 `install'를 만들 규칙이 없음.  멈춤.
[root@tmk php-5.1.4]# rpm -qa gcc*
gcc-c++-2.95.3-1owl
gcc3.3-3.3.4-2mdk
[root@tmk php-5.1.4]#

무엇때문인지 통 알수가 없네요..

고수님들 도와주세요~~ ^^:흐흐(삽질이틀째입니다.)

관련자료

댓글 2

홍보성님의 댓글

  • 홍보성
  • 작성일
gcc가 문제가 있다고 하네요.
gcc 컴파일러 확인해보세요. rpm -qa 나 -ql로 .

김호진님의 댓글

  • 김호진
  • 작성일
gcc 설치했는데..어떤 버전으로 해야하는지?

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  338 명