[질문]컴파일 애러..ㅜ.ㅜ;
안녕하세요..영원히 초보일것같은 리눅스 유저입니다.
아파치 소스 코드를 사이트에서 다운받어서 앞축을 풀고,
./configure 명령을 내렸더니, gcc를 찾을수 없다고 하더군요.
그래서 gcc를 rpm패키지로 설치한후에
다시 ./configure 명령을 하니..
[root@www httpd-2.0.46]# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring APR library
Platform i686-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version 0.9.4
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output... configure error C compiler cannot create executables
check `config.log' for details.
configure failed for srclib/apr
[root@www httpd-2.0.46]#
와 같이 나오면서 안되더군요..
프로그래밍쪽도 초보라서... 컴파일러를 패키지로 설치했는데.
실행파일을 컴파일 할수없다니...원인을 찾을수 가없습니다.
고수님을의 하책 부탁드립니다..ㅡ.ㅡ;
별서 몇일째인지..ㅜ.ㅜ;
GCC
보통 LINUX를 처음 설치할때 개발도구(RedHat기준...)를 설치하면 gcc에 대한것은
사용할 수 있습니다.
gcc를 설치하셨다고는 하지만 다시한번 설치 CD를 확인해보세요.
ls *gcc*
그러면 gcc에 관련된 몇개의 rpm파일이 발견될겁니다.
그것도 마저 설치해주는게 좋을듯 싶네요.
그리고 이것을 행하기전에 컴파일하는 디렉토리에 생성된 config.log를 한번
확인해 보세요. 어떤 부분에서 에러가 발생했는지요...
------------------------------
좋은 하루 되세요.
댓글 달기