Gentoo emerge error

vimania의 이미지

>>> Failed to emerge x11-drivers/ati-drivers-8.501, Log file:
 
>>>  '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/build.log'
 
 * Messages for package x11-drivers/ati-drivers-8.501:
 
 * 
 * ERROR: x11-drivers/ati-drivers-8.501 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3210:  Called linux-mod_src_compile
 *             environment, line 2423:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC="$(tc-getBUILD_CC)" 						CROSS_COMPILE=${CHOST}- 				LDFLAGS="$(get_abi_LDFLAGS)" 						${BUILD_FIXES} 						${BUILD_PARAMS} 		${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 *  The die message:
 *   Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS=  GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build
 * 
 * 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/x11-drivers/ati-drivers-8.501/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.501/temp/environment'.
 * 

emerge -vuDN world 할때 마다 ati-drivers 에러 때문에 신경이 쓰여서 그런데 에러를 잡아보고 싶습니다.

지금은 ati-drivers 를 amd사이트에서 직접 다운로드 받아서 설치해서 잘 사용하고 있습니다. 아무 문제 없이 잘 됩니다.

그런데 emerge -vuDN world 할때 마다 ati-drivers 때문에 중간에 멈춰서 ati-drivers 패키지 하위 목록이 업데이트가 안되는 상황입니다. 가능하다면 코드를 수정해서라도 설치를 해보고 싶습니다.

emake 할 수 없다는건 무슨 뜻이고 어느 파일을 열어서 어떻게 고쳐야 할까요?

경험 있으신분 조언 부탁드립니다.

송효진의 이미지

32bit 이시군요. 2.6.27 이신가요?
64bit 2.6.28 에서 설치 잘 되네요.
acpi 때문에 2.6.29 도 설치해봤는데 거기에는 안되는군요.

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

vimania의 이미지

네 32bit linux-2.6.27-gentoo-r8 입니다.

저 error도 acpi 때문에 생기는 건가요?

jachin의 이미지

General Setup
    [*] Posix Message Queues
Power Management Options
    [*] Power Management Support
Power Management Options
    [*] ACPI Support
         Video
Kernel Hacking
    [*] Magic SysRq Key
    [*] Enable unused/obsolete exported symbols

위의 내용은 꼭 지켜주셔야 하고, PCI 버스나 AGP, GART IOMMU 설정은 시스템에 맞게 설정하시고,
DRI, Radeon Frame Buffer 등은 해제해두시기 바랍니다.
====
( - -)a 이제는 학생으로 가장한 백수가 아닌 진짜 백수가 되어야겠다.

shame2의 이미지

포타지에서 ati를 지워도되지만 이건 sync할때마다 다시 생기니
world list에서 ati를 제거해 주세요
/var/lib/portage/world

프비 매니아~

vimania의 이미지

/var/lib/portage/world 에서 ati-drivers 지우려고 봤더니 설치가 완료 된적이 없어서 그런지 리스트에 없습니다. 어디에서 삭제하면 될까요?

jachin의 이미지

man portage 하시면 아시겠지만...

/etc/portage/profile/package.provided 파일에
현재 ati-drivers 패키지의 버전과 분류를 모두 써주시면 됩니다.

가령 emerge -pv ati-drivers 의 출력 결과가 다음과 같다면,

[ebuild N   ] x11-drivers/ati-drivers-8.561  USE="acpi -debug" 0 kB

다음과 같이 명령을 실행해 주세요.


# mkdir -p /etc/portage/profile
# echo "x11-drivers/ati-drivers-8.561" >> /etc/portage/profile/package.provided

이후 ati-drivers 에 대한 패키지 관리와 설치는 제외합니다.
====
( - -)a 이제는 학생으로 가장한 백수가 아닌 진짜 백수가 되어야겠다.

vimania의 이미지

jachin 님께서 알려주신 방법으로 했더니 ati-drivers가 귀찮게 안하네요.

감사드립니다.

송효진의 이미지

저는 ati 것을 직접 설치한 이후로 드라이버가 꼬이더군요.
./ati-driver-installer-8-12-x86.x86_64.run --extract ati
해서 일일히 파일 비교해서 지운 후
emerge -e xorg-x11 해서 겨우 복구했습니다.
emerge 잘 됩니다.

acpi 만 켜면 뒈지는 문제 때문에 radeon 으로 올리고 사용중 ㅠㅠ
듀얼모니터 제어 방식은 radeon 이 훨씬 낫군요.
xrandr 로 되니 X 종료없이 붙였다 떼는게 가능합니다.
compiz 가 아예 안붙는게 가장 큰 문제...ㅠㅠ
느려도 좋으니까 붙기만 해줬으면...

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

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.