Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kłopot z kompilacja gentoo na poziomie bootstrap
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
Miszcz
n00b
n00b


Joined: 26 Feb 2004
Posts: 4

PostPosted: Tue Apr 25, 2006 12:47 pm    Post subject: Kłopot z kompilacja gentoo na poziomie bootstrap Reply with quote

Popsulem moj stary system, wiec postanowilem wreszcie sformatowac moja partycje linuksowska i postawic od nowa, sformwatowalem ja na reiserfs, na mniejszej oddzielnej partycji zainstalowalem arch'a w wersji base, skonfigurowalem pod nim neostrade i przystapilem do kompilacji systemu. Sciagnalem stage1, rozpakowalem, sciagnalem stage2 rozpakowalem do /usr stworzylem make.conf
Code:
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -funit-at-a-time -fforce-addr -fpeel-loops -funswitch-loops -s -msse2"
CFLAGS="-O2 -march=athlon-xp -pipe -s"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
CHOST="x86-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="bash-completion nptl nptlonly -gnome -gtk X alsa"
ACCEPT_KEYWORDS="~x86"
LINGUAS="pl"
LANGUAGE="48"
PORTDIR_OVERLAY="/usr/local/portage"


Gdy uruchomilem bootstrap'a wszystko bylo ok do momentu kompilacji linux-headers-2.6.11-r3
Code:
  [32;01m* [0m Resuming bootstrap at internal stage #2 ...

 [32;01mGentoo Linux;  [34;01mhttp://www.gentoo.org/ [0m
Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
  [[ (0/3) Locating packages ]]
  [32;01m* [0m Using baselayout : >=sys-apps/baselayout-1.11.12-r4
  [32;01m* [0m Using portage    : >=sys-apps/portage-2.0.51.22
  [32;01m* [0m Using os-headers : >=sys-kernel/linux-headers-2.6.11-r2
  [32;01m* [0m Using binutils   : sys-devel/binutils
  [32;01m* [0m Using gcc        : >=sys-devel/gcc-3.3.4-r1
  [32;01m* [0m Using gettext    : gettext
  [32;01m* [0m Using libc       : virtual/libc
  [32;01m* [0m Using texinfo    : sys-apps/texinfo
  [32;01m* [0m Using zlib       : sys-libs/zlib
  [32;01m* [0m Using ncurses    : sys-libs/ncurses
-------------------------------------------------------------------------------
  [[ (1/3) Configuring environment ]]
  [32;01m* [0m GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
  [32;01m* [0m PORTDIR="/usr/portage"
  [32;01m* [0m DISTDIR="/usr/portage/distfiles"
  [32;01m* [0m PKGDIR="/usr/portage/packages"
  [32;01m* [0m PORTAGE_TMPDIR="/var/tmp"
  [32;01m* [0m CFLAGS="-O2 -march=athlon-xp -pipe -s"
  [32;01m* [0m CHOST="x86-pc-linux-gnu"
  [32;01m* [0m CXXFLAGS="-O2 -march=athlon-xp -pipe -s"
  [32;01m* [0m MAKEOPTS="-j2"
  [32;01m* [0m ACCEPT_KEYWORDS="x86"
  [32;01m* [0m FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
-------------------------------------------------------------------------------
  [[ (3/3) Emerging packages ]]
*** Resuming merge...
>>> Emerging (1 of 11) sys-kernel/linux-headers-2.6.11-r3 to /
>>> checksums files   ;-) linux-headers-2.6.8.1-r4.ebuild
>>> checksums files   ;-) linux-headers-2.6.11-r2.ebuild
>>> checksums files   ;-) linux-headers-2.4.21-r1.ebuild
>>> checksums files   ;-) linux-headers-2.6.16.ebuild
>>> checksums files   ;-) linux-headers-2.6.11-r4.ebuild
>>> checksums files   ;-) linux-headers-2.4.26.ebuild
>>> checksums files   ;-) linux-headers-2.4.21.ebuild
>>> checksums files   ;-) linux-headers-2.4.23_p3.ebuild
>>> checksums files   ;-) linux-headers-2.4.23.ebuild
>>> checksums files   ;-) linux-headers-2.6.11-r3.ebuild
>>> checksums files   ;-) linux-headers-2.4.25.ebuild
>>> checksums files   ;-) linux-headers-2.4.26-r1.ebuild
>>> checksums files   ;-) linux-headers-2.2.26.ebuild
>>> checksums files   ;-) linux-headers-2.4.22-r1.ebuild
>>> checksums files   ;-) linux-headers-2.0.40.ebuild
>>> checksums files   ;-) linux-headers-2.4.22.ebuild
>>> checksums files   ;-) files/digest-linux-headers-2.6.8.1-r4
>>> checksums files   ;-) files/linux-headers-2.4-armeb-stat.patch
>>> checksums files   ;-) files/digest-linux-headers-2.4.21-r1
>>> checksums files   ;-) files/digest-linux-headers-2.4.22-r1
>>> checksums files   ;-) files/digest-linux-headers-2.4.26-r1
>>> checksums files   ;-) files/digest-linux-headers-2.4.23_p3
>>> checksums files   ;-) files/digest-linux-headers-2.6.11-r2
>>> checksums files   ;-) files/digest-linux-headers-2.6.11-r3
>>> checksums files   ;-) files/digest-linux-headers-2.6.11-r4
>>> checksums files   ;-) files/unistd.h-i386-pic.patch
>>> checksums files   ;-) files/digest-linux-headers-2.0.40
>>> checksums files   ;-) files/digest-linux-headers-2.2.26
>>> checksums files   ;-) files/digest-linux-headers-2.4.21
>>> checksums files   ;-) files/digest-linux-headers-2.4.22
>>> checksums files   ;-) files/digest-linux-headers-2.4.23
>>> checksums files   ;-) files/digest-linux-headers-2.4.25
>>> checksums files   ;-) files/digest-linux-headers-2.4.26
>>> checksums files   ;-) files/digest-linux-headers-2.6.16
>>> checksums files   ;-) files/generate-asm-sparc
>>> checksums files   ;-) files/2.6.11-s390-cflags-update.patch
>>> checksums files   ;-) files/linux-headers-2.4-errno-in-unistd.patch
>>> checksums files   ;-) files/linux-headers-strict-ansi-fix.patch
>>> checksums files   ;-) files/bigendian-byteorder-fix.patch
>>> checksums files   ;-) files/linux-headers-soundcard-ppc64.patch
>>> checksums files   ;-) files/linux-headers-2.4-arm-cris-ELF_DATA.patch
>>> checksums files   ;-) files/2.6.11-ppc64-32ul-spinlock.patch
>>> checksums src_uri ;-) linux-2.6.11.tar.bz2
>>> checksums src_uri ;-) linux-2.6.11-m68k-headers.patch.bz2
>>> checksums src_uri ;-) linux-2.6.12.1-blackfin.patch.bz2
>>> checksums src_uri ;-) gentoo-headers-2.6.11-7.tar.bz2
>>> Unpacking source...
>>> Unpacking linux-2.6.11.tar.bz2 to /var/tmp/portage/linux-headers-2.6.11-r3/work
  [32;01m* [0m gentoo-headers-2.6.11-7.tar.bz2 unpacked
  [32;01m* [0m Applying linux-2.6.12.1-blackfin.patch.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.0-fb.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.0-sysctl_h-compat.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.10-generic-arm-prepare.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.11-appCompat.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.11-ppc64-Makefile.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.8.1-soundcard-ppc64.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
  [32;01m* [0m Applying 2.6.8.1-strict-ansi-fix.patch (-p0+) ...
 [A [72C   [34;01m[  [32;01mok [34;01m ] [0m
Makefile:531: /var/tmp/portage/linux-headers-2.6.11-r3/work/linux-2.6.11/arch/x86/Makefile: No such file or directory
make: *** No rule to make target `/var/tmp/portage/linux-headers-2.6.11-r3/work/linux-2.6.11/arch/x86/Makefile'.  Stop.

!!! ERROR: sys-kernel/linux-headers-2.6.11-r3 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_unpack
  ebuild.sh, line 697:   Called src_unpack
  linux-headers-2.6.11-r3.ebuild, line 31:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1008:   Called unpack_2_6
  kernel-2.eclass, line 367:   Called die

!!! make include/linux/version.h failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


3 razy formatowalem ta partycje i robilem wszystko od nowa, ten blad wyskakuje zarowno na x86 jak i ~x86
Athlon XP @2000, 1GB ramu, radek 9600xt, ABIT nf7-s,
Back to top
View user's profile Send private message
tboloo
Guru
Guru


Joined: 20 Jan 2006
Posts: 403
Location: Grodzisq, Poland

PostPosted: Tue Apr 25, 2006 1:01 pm    Post subject: Re: Kłopot z kompilacja gentoo na poziomie bootstrap Reply with quote

Miszcz wrote:
Sciagnalem stage1, rozpakowalem, sciagnalem stage2 rozpakowalem do /usr stworzylem make.conf

Musisz się zdecydować czy chcesz stage1 czy stage2 :) .Moja rada - troche może nie na temat - zrób wszystko tak jak w handbook-u, czyli ze stage3. Jest prosciej, szybciej i mniej problemowo.
EDIT:
Poza tym zmienna CHOST dla Twojego sprzętu powinna być i686-pc-linux-gnu, a nie x86
_________________
The clock is ticking, brothers and sisters, counting down to Armageddon.
Back to top
View user's profile Send private message
Poe
Bodhisattva
Bodhisattva


Joined: 03 Apr 2004
Posts: 2158
Location: Mysłowice/Lublin, Poland

PostPosted: Tue Apr 25, 2006 2:29 pm    Post subject: Reply with quote

Moved from Polish to Instalacja i sprzęt.
_________________
Hardware:HP Pavilion DV6875SE[C2DT5550@1.83GHz_3GB-DDR2_320GB-SATA_GF8400GS]
http://poe.art.pl/ - fotografia artystyczna
http://poe.art.pl/blog - III Rzeczywistość Polska
RLU#342333
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum