질문드립니다...뭐가 문제인지 모르겠습니다.
작성자 정보
- 관리자 작성
- 작성일
컨텐츠 정보
- 1,659 조회
- 0 추천
- 목록
본문
안녕하세요....리눅스php좀 배우려고 하는데 쉽지가 않네요..
zlib설치하려고하는데요...
받아서 풀기까지는 했는데...
./configure 하면...
Building static library libz.a version 1.1.4 with cc.
Checking for unistd.h... No.
Checking for errno.h... No.
Checking for mmap support... No.
책에는 y로 나와야한다고하는데...
make 하면...
cc -O -DNO_ERRNO_H -c -o example.o example.c
make: cc: 명령을 찾지 못했음
make: *** [example.0] 오류 127
이렇게 나와서 아무것도 못하고 있습니다..
페도라코어3 입니다.
컴파일러 및 기타 헤더파일이 설치되지 않았을경우 입니다.
rpm 으로 컴파일러를 설치하세요.
ㅇㅖ를들어.. RedHat 9 일때는...
컴파일러 없을때.
에러 내용^^;
===== proftpd configure 시 ===================
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
####### rh9 기준 컴파일러 설치 #############################
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/binutils-2.13.90.0.18-9.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/cpp-3.2.2-5.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/glibc-kernheaders-2.4-8.10.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/glibc-devel-2.3.2-11.9.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/gcc-3.2.2-5.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/libstdc -devel-3.2.2-5.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/compat-libstdc -7.3-2.96.118.i386.rpm
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/compat-libstdc -devel-7.3-2.96.118.i386.rpm
####### mysql make 할때 too few arguments to function `gethostbyname_r' 에러발생
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/gcc-c -3.2.2-5.i386.rpm
###커널 소스 설치
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/kernel-source-2.4.20-8.i386.rpm
## make menuconfig 하기 위해서 아래 패키지 필요
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/ncurses-5.3-4.i386.rpm
#### 아래 패키지는 mysql configure 시 필요한것 ##33
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/ncurses-devel-5.3-4.i386.rpm
### php configure 시 필요 lex(구문분석기) ##
rpm -Uvh http://ftp.superuser.co.kr/pub/redhat/9/RPMS/flex-2.5.4a-29.i386.rpm
에러내용 :::::::::::::::::::::::::::::::::::
gcc , cc 등을 못 찾는다는 메시지^^;
위와같이 설치했습니다. 다른 버전은 패키지 명은 똑같고, 버전만 다릅니다.
그런패키지를 설치해 주세요>
관련자료
-
이전
-
다음