컴파일러가 있는 디렉토리를 환경변수로 설정해보세요.
/etc/profile에서 PATH에 추가를..
: gcc 설치하는데 이런 에러가 나는데요 왜죠?
:
: [root@localhost gcc-3.0.4]# ./configure
: Configuring for a i686-pc-linux-gnu host.
: Created "Makefile" in /root/sy/down/gcc-3.0.4 using "mt-frag"
: gcc: installation problem, cannot exec `cpp0': 그런 파일이나 디렉토리가 없음
: *** The command 'gcc -o conftest -O2 conftest.c' failed.
: *** You must set the environment variable CC to a working compiler
:
: 왜 그런거죠?