젠투 emerge 하는데 configure: error: C compiler cannot create executables 래요.
글쓴이: 기다림 / 작성시간: 수, 2009/09/30 - 9:39오후
오랬동안 잠자고 있던 놈을 깨워서 싱크시켜주고, 월드를 올렸었습니다.
그리고 Passenger(전 RoR유저)깔려고 했더니.. 에러가 나면서 안깔리더군요.
그래서 검색해보니 우분투에서 이런 증상이 자주 발생하는거 같은데, ruby1.8을 설치하라고 하더군요.
근데 전 이미 ruby 1.8깔려있었고.. 잘 쓰고 있는 중이었습니다.
그래서 혹시나 하는 마음으로 깔려있던 ruby를 지우고 재설치를 시도했는데..
configure: error: in `/var/tmp/portage/dev-lang/ruby-1.8.6_p369/work/ruby-1.8.6-p369': configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/dev-lang/ruby-1.8.6_p369/work/ruby-1.8.6-p369/config.log * * ERROR: dev-lang/ruby-1.8.6_p369 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3296: Called econf '--program-suffix=18' '--enable-shared' '--disable-socks' '--disable-install-doc' '--disable-pthread' '--disable-ipv6' '--disable-debug' '--with-dbm' '--with-gdbm' '--with-openssl' '--without-tk' '--with-sitedir=/usr/lib/ruby/site_ruby' '--enable-option-checking=no' * ebuild.sh, line 534: Called die * The specific snippet of code: * die "econf failed" * The die message: * econf failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/dev-lang/ruby-1.8.6_p369/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-1.8.6_p369/temp/environment'. *
라고 하네요. -_-;
gcc는 깔려있지만 문제인가 싶어, 겁나서 지우지는 못하고 그냥
emerge gcc
로 해봤습니다.
그런데 에러메세지가 뜨더군요.
checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. * * ERROR: sys-devel/gcc-4.3.2-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4835: Called toolchain_src_compile * environment, line 5361: Called gcc_src_compile * environment, line 3058: Called gcc_do_configure * environment, line 2771: Called die * The specific snippet of code: * "${S}"/configure "$@" || die "failed to run configure"; * The die message: * failed to run configure * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'. *
뭐가 문제일까요 ㅠ,.ㅠ
여담.
ruby1.8.7 나온지 꽤 됐는데 portage에선 왜 아직까지 testing일까요 ㅠ,.ㅠ
Forums:
댓글 달기