Nem fordul le szinte semmi

Fórumok

Egy régi gépre telepítenék gentoo-t, de már majdnem az elején elakadok.
Hardver: pentium-mmx, 64MB sdram, a többi nem érdekes.
Lényeg hogy stage1-től telepíteném, mindent csinálok a jól bevált módon, de a groff program elakad a ./configure résznél. Azzal panaszkodik hogy nincs C++ compiler és mással is így van ez aminek arra lenne szüksége.

make.conf:
CFLAGS="-O2 -march=pentium-mmx -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
ACCEPT_KEYWORDS="x86"
GENTOO_MIRRORS="ftp://ftp.nyx.hu/gentoo"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
LINGUAS="hu"
USE="apache2 -berkdb chroot -gdbm -gpm -gtk -ipv6 mmx mysql no-old-linux php symlink unicode vanilla -X"

Azt hozzáteszem, hogy utólag már egy jóval erősebb gépen próbáltam, mert a pentium-55-el igen kemény sebességel fordítja a kódot, bár a hiba ugyan az.

Valakinek esetleg van ötlete, hogy mit szúrok el?

Hozzászólások

stage3 nincs ?

bootstrap.sh már tul vagy ?

Ha az a gondja, hogy nincsen valamelyik compiler, akkor valami C(XX)FLAG/LDFLAG beállítási gond van a make.conf-ban.

---------
WARNING: Linux requires you to type! After rebooted to Windows, you can safely unplug your keyboard.
szerény blogom

Pedig ezekkel a beállításokkal elvileg mennie kéne, hiszen valami gentoo doksiban szúrtam ki egy pentium-mmx-es példát, szóval nem értem.
Az is kicsit érdekes, hogy stabil ág és mindjárt a Locale-gettext is kiakadt, de a perl újrahúzása segített ezen.

Aminek köze lehet ehez a C++ compiler hiányához az a gcc.

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2006 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
[[ (0/3) Locating packages ]]
* Using baselayout : virtual/baselayout
* Using portage : >=sys-apps/portage-2.0.51.22
* Using os-headers : virtual/os-headers
* Using binutils : sys-devel/binutils
* Using gcc : sys-devel/gcc
* Using gettext : gettext
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : sys-libs/zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
[[ (1/3) Configuring environment ]]
* GENTOO_MIRRORS="ftp://ftp.nyx.hu/gentoo"
* PORTDIR="/usr/portage"
* DISTDIR="/usr/portage/distfiles"
* PKGDIR="/usr/portage/packages"
* PORTAGE_TMPDIR="/var/tmp"
* CFLAGS="-O2 -march=pentium-mmx -pipe -fomit-frame-pointer"
* CHOST="i586-pc-linux-gnu"
* CXXFLAGS="-O2 -march=pentium-mmx -pipe -fomit-frame-pointer"
* MAKEOPTS="-j2"
* ACCEPT_KEYWORDS="x86"
* FEATURES="distlocks metadata-transfer sandbox sfperms strict"
* STAGE1_USE="-nptl -nptlonly"
-------------------------------------------------------------------------------
[[ (2/3) Updating portage ]]
Calculating dependencies... done!
>>> Emerging (1 of 5) sys-apps/groff-1.19.2-r1 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking groff-1.19.2.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking groff-1.19.2.tar.gz to /var/tmp/portage/groff-1.19.2-r1/work
* Applying groff-1.19.2-infoext.patch ... [ ok ] * Applying groff-man-UTF-8.diff ... [ ok ] * Applying groff-1.19.2-parallel-make.patch ... [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/groff-1.19.2-r1/work/groff-1.19.2 ...
./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-appresdir=/etc/X11/app-defaults --without-x --disable-japanese --build=i586-pc-linux-gnu
checking for i586-pc-linux-gnu-gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i586-pc-linux-gnu-g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking that C++ compiler can compile simple program... no
configure: error: a working C++ compiler is required

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/groff-1.19.2-r1/work/groff-1.19.2/config.log

!!! ERROR: sys-apps/groff-1.19.2-r1 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
groff-1.19.2-r1.ebuild, line 64: Called econf '--with-appresdir=/etc/X11/app-defaults' '--without-x' '--disable-japanese'
ebuild.sh, line 541: Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

egy test.C -be
#ifdef __GNUC__
yes;
#endif

i586-pc-linux-gnu-g++ test.C -E
kimenete tartalmazza a yes -t ?

Ha nincs ilyen g++ akkor milyen van ?
gcc-config -talan segithet rajtad, vagy ha simlinkeled a g++ odat egy ilyen nevure.

vagy make.conf -ban valasztol olyan CHOST -t amid van.
i386, i686 , csak e neve mas :)

Nekifutottam harmadszor is, és sikeresen lefordul minden.:) Nem tudom az elõzõ 2 alkalommal mit szúrtam el, vagy mit hagytam ki, de a lényeg, hogy most jó.
A segítséget mindenesetre köszönöm!