[완료]Gentoo. emerge nateon시 cmake가 안깔리네요..

myproverbs의 이미지

며칠전에 젠투를 깔고 이제 네이트온을 깔아 볼려고 하는데
cmake 요놈이 자꾸 걸립니다.

======================================================================
make.conf

CFLAGS="-march=k8 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="x86_64-pc-linux-gnu"

ACCEPT_KEYWORDS="~amd64"
LINGUAS="ko"
ALSA_CARDS="hda-intel"
FEATURES="ccashe loadpolicy"
VIDEO_CARDS="radeonhd"

USE="X gtk+ gnome kde firefox alsa qt4 qt3 arts webkit opengl"

source /usr/portage/local/layman/make.conf
PORTAGE_ECLASS_WARNING_ENABLE="0"
PORTDIR_OVERLAY="
/usr/portage/local/layman/gentoo-kr
$PORTDIR_OVERLAY
"
======================================================================
ex ~ # emerge nateon -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild N ] dev-util/cmake-2.6.4 USE="qt4 -emacs -vim-syntax" 0 kB [0]
[ebuild N ] net-im/nateon-1.0.1.220 USE="messagebox -debug -xinerama" 0 kB [1]

Total: 2 packages (2 new), Size of downloads: 0 kB
Portage tree and overlays:
[0] /usr/portage
[1] /usr/portage/local/layman/gentoo-kr

ex ~ # emerge nateon
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) dev-util/cmake-2.6.4
* cmake-2.6.4.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking cmake-2.6.4.tar.gz to /var/tmp/portage/dev-util/cmake-2.6.4/work
>>> Source unpacked in /var/tmp/portage/dev-util/cmake-2.6.4/work
>>> Preparing source in /var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4 ...
* Applying cmake-FindJNI.patch ... [ ok ]
* Applying cmake-FindPythonLibs.patch ... [ ok ]
* Applying cmake-FindPythonInterp.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4 ...
/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment: line 3289: [[1]]: command not found
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-util/cmake-2.6.4/work/cmake-2.6.4"
/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment: line 940: cmake: command not found
*
* ERROR: dev-util/cmake-2.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_configure
* environment, line 3312: Called cmake-utils_src_configure
* environment, line 940: Called die
* The specific snippet of code:
* cmake ${cmakeargs} "${S}" || die "cmake failed";
* The die message:
* cmake 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-util/cmake-2.6.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment'.
*

>>> Failed to emerge dev-util/cmake-2.6.4, Log file:

>>> '/var/tmp/portage/dev-util/cmake-2.6.4/temp/build.log'

* Messages for package dev-util/cmake-2.6.4:

*
* ERROR: dev-util/cmake-2.6.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_configure
* environment, line 3312: Called cmake-utils_src_configure
* environment, line 940: Called die
* The specific snippet of code:
* cmake ${cmakeargs} "${S}" || die "cmake failed";
* The die message:
* cmake 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-util/cmake-2.6.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/cmake-2.6.4/temp/environment'.
*

==========================================================================
ex ~ # vi /var/tmp/portage/dev-util/cmake-2.6.4/temp/environment

------------------------------전략
 899 cmake-utils_src_configure ()
 900 {
 901     debug-print-function ${FUNCNAME} "$@";
 902     if [[ ! -e "${S}"/CMakeLists.txt ]]; then
 903         eerror "I was unable to locate CMakeLists.txt under:";
 904         eerror "\"${S}/CMakeLists.txt\"";
 905         eerror "You should consider not inheriting the cmake eclass.";
 906         die "FATAL: Unable to find CMakeLists.txt";
 907     fi;
 908     _modify-cmakelists;
 909     if [[ ${CMAKE_BUILD_TYPE} = Gentoo ]]; then
 910         if ! has debug ${IUSE//+} || ! use debug; then
 911             append-cppflags -DNDEBUG;
 912         fi;
 913     fi;
 914     local build_rules="${TMPDIR}"/gentoo_rules.cmake;
 915     cat > ${build_rules}  <<_EOF_
 916 SET (CMAKE_C_COMPILER $(type -P $(tc-getCC)) CACHE FILEPATH "C compiler" FORCE)
 917 SET (CMAKE_C_COMPILE_OBJECT "<CMAKE_C_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS> -o <     OBJECT> -c <SOURCE>" CACHE STRING "C compile command" FORCE)
 918 SET (CMAKE_CXX_COMPILER $(type -P $(tc-getCXX)) CACHE FILEPATH "C++ compiler" FORC     E)
 919 SET (CMAKE_CXX_COMPILE_OBJECT "<CMAKE_CXX_COMPILER> <DEFINES> ${CPPFLAGS} <FLAGS>      -o <OBJECT> -c <SOURCE>" CACHE STRING "C++ compile command" FORCE)
 920 _EOF_
 921 
 922     local cmakeargs="
 923         -DCMAKE_INSTALL_PREFIX=${PREFIX:-/usr}
 924         ${mycmakeargs}
 925         -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
 926         -DCMAKE_INSTALL_DO_STRIP=OFF
 927         -DCMAKE_USER_MAKE_RULES_OVERRIDE=${build_rules}";
 928     local common_config="${TMPDIR}"/gentoo_common_config.cmake;
 929     local libdir=$(get_libdir);
 930     cat > ${common_config}  <<_EOF_
 931 SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE)
 932 _EOF_
 933 
 934     [[ -n ${CMAKE_NO_COLOR} ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "     pretty colors during make" FORCE)' >> ${common_config};
 935     cmakeargs="-C ${common_config} ${cmakeargs}";
 936     _check_build_dir;
 937     mkdir -p "${CMAKE_BUILD_DIR}";
 938     pushd "${CMAKE_BUILD_DIR}" > /dev/null;
 939     debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: mycmakeargs is $cmakeargs";
 940     cmake ${cmakeargs} "${S}" || die "cmake failed";
 941     popd > /dev/null
 942 }
------------------------------중략
3304     else
3305         use qt4 && qt_arg="ON" || qt_arg="OFF";
3306         mycmakeargs="-DCMAKE_USE_SYSTEM_LIBRARIES=ON
3307             -DCMAKE_DOC_DIR=/share/doc/${PF}
3308             -DCMAKE_MAN_DIR=/share/man
3309             -DCMAKE_DATA_DIR=/share/${PN}
3310             -DBUILD_CursesDialog=ON
3311             -DBUILD_QtDialog=${qt_arg}";
3312         cmake-utils_src_configure;
3313     fi

당췌 제 머리 가지고는 머가 잘못된지도 모르겠습니다.. 후... 또 밀어야하나...

송효진의 이미지

2.6.3-r1 으로 일단 해 보세요.
echo =dev-util/cmake-2.6.4 >> /etc/portage/package.mask

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇 개 안돼요~
http://xenosi.de/

송효진의 이미지

방금 2.6.4 해 봤는데 잘 되네요.
다른 문제일것 같으니 emerge --sync && emerge -uDNv --keep-going world && revdep-rebuild -p 해서 업데이트를 한번 해보세요.
그리고 시스템을 말아먹지 않는 이상 emerge -ev world 로 완전 새 시스템이 됩니다.

emerge money
http://wiki.kldp.org/wiki.php/GentooInstallSimple - 명령어도 몇 개 안돼요~
http://xenosi.de/

myproverbs의 이미지

blacked 나오면서... 어떻게 해야할 지 몰라서 일단 다시 배우자 생각해서
다시 설치를 했는데 이제야 되네요...

저것 깔기전에 제가 이것저것 쑤셔서 오류가 난것 같습니다.

후.. 제가 셋팅을 잘못해서인지.. 왜케 xwindow상에서 젠투가 느리게 느껴지는지 모르겠습니다. ㅠㅠ아놔..