View previous topic :: View next topic |
Author |
Message |
menschi n00b
Joined: 27 Mar 2006 Posts: 14
|
Posted: Fri Apr 07, 2006 6:39 pm Post subject: (solved) emerge bricht ab die zehnte |
|
|
hallo
vorweg tut es mir leid das ich einen neuen threat erstellt habe, ich suche schon seit über 5 tagen, finde aber nichts passendes um mein problem zu lösen :/
erstmal ein paar infos
ich benutze erst seit zweieinhalb wochen gentoo, davor ne woche suse als einstieg, daher bitte rücksicht mit euren antworten
make.conf
Code: | CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="-gtk -gnome qt kde dvd alsa cdr tlctk gcc arts"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
LINGUAS="de"
ALSA_CARDS="cmipci" |
ich habe bzgl. den CFLAGS schon verschiedene einstellungen probiert, mal mit -O3, mal ohne -pipe, mit den use flags hab ich auchschon herumprobiert
emerge info
Code: | Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/linux/gentoo"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri dvd eds emboss encode exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gcc gd gdbm gif gpm gstreamer gtk2 idn imlib ipv6 java jpeg kde lcms libg++ libwww mad memlimit mikmod mng motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tlctk tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv xvid zlib linguas_de userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
|
gcc und glibs müsste das die neueste version sein (stable), hab die zumindest gestern erst draufgemacht
und das problem:
Code: | nick host # emerge XML-Parser
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/XML-Parser-2.34 to /
>>> md5 files ;-) XML-Parser-2.34.ebuild
>>> md5 files ;-) XML-Parser-2.31.ebuild
>>> md5 files ;-) XML-Parser-2.31-r1.ebuild
>>> md5 files ;-) files/digest-XML-Parser-2.31
>>> md5 files ;-) files/digest-XML-Parser-2.34
>>> md5 files ;-) files/digest-XML-Parser-2.31-r1
>>> md5 src_uri ;-) XML-Parser-2.34.tar.gz
>>> Unpacking source...
>>> Unpacking XML-Parser-2.34.tar.gz to /var/tmp/portage/XML-Parser-2.34/work
>>> Source unpacked.
* Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for XML::Parser::Expat
Writing Makefile for XML::Parser
cp Parser/Encodings/x-sjis-cp932.enc blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc
cp Parser/Encodings/iso-8859-7.enc blib/lib/XML/Parser/Encodings/iso-8859-7.enc
cp Parser/Style/Tree.pm blib/lib/XML/Parser/Style/Tree.pm
cp Parser/Encodings/iso-8859-9.enc blib/lib/XML/Parser/Encodings/iso-8859-9.enc
cp Parser/Encodings/x-euc-jp-unicode.enc blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc
cp Parser/Encodings/README blib/lib/XML/Parser/Encodings/README
cp Parser/Encodings/euc-kr.enc blib/lib/XML/Parser/Encodings/euc-kr.enc
cp Parser/Encodings/windows-1250.enc blib/lib/XML/Parser/Encodings/windows-1250.enc
cp Parser/Encodings/windows-1252.enc blib/lib/XML/Parser/Encodings/windows-1252.enc
cp Parser/Encodings/big5.enc blib/lib/XML/Parser/Encodings/big5.enc
cp Parser/Encodings/iso-8859-3.enc blib/lib/XML/Parser/Encodings/iso-8859-3.enc
cp Parser/Encodings/Japanese_Encodings.msg blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg
cp Parser/Encodings/iso-8859-4.enc blib/lib/XML/Parser/Encodings/iso-8859-4.enc
cp Parser/Encodings/iso-8859-8.enc blib/lib/XML/Parser/Encodings/iso-8859-8.enc
cp Parser/Style/Subs.pm blib/lib/XML/Parser/Style/Subs.pm
cp Parser/Encodings/x-euc-jp-jisx0221.enc blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc
cp Parser/Encodings/x-sjis-jdk117.enc blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc
cp Parser/Encodings/iso-8859-2.enc blib/lib/XML/Parser/Encodings/iso-8859-2.enc
cp Parser/Encodings/x-sjis-unicode.enc blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc
cp Parser/LWPExternEnt.pl blib/lib/XML/Parser/LWPExternEnt.pl
cp Parser/Style/Objects.pm blib/lib/XML/Parser/Style/Objects.pm
cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm
cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm
cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
make[1]: Entering directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
i386-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mtune=i686 -pipe -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC "-I/usr/lib/perl5/5.8.7/i386-linux/CORE" Expat.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2
!!! ERROR: dev-perl/XML-Parser-2.34 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message. |
ich habe XML-Parser als beispiel genommen, da dies in vielen von den von mir benötigten Programmen eine der abhängigkeiten darstellt. hab das aber auch mit anderen dateien, wie xmms.
ich kam zu dem prob, als ich letzten sonntag auf die schlaue idee kam, die nvidia treiber anstatt den standard nv treibern zu benutzen, hatte die anleitung den gentoo.de dokus, bekam aber nach dem world update ein paar fehler, die mein noobiges gentoo wissen überstiegen, daher entschied ich mich kurzerhand gentoo neu zu installieren und erstmal die standard nv treiber noch eine zeit zu benutzen ^^
das basissystem ging auch ohne probleme, beim kdebase-meta mergen bekam ich die gleiche fehlermeldung wie oben beschrieben, (nur halt ned mit xml-parser..).. nach 4 tagen des suchsens kam ich auf den vorschlag, einfach die glibc neu zu mergen, kdebase-meta ging auch, das war ne richtige freude gestern abend
lief das durch, heut nachmittag alsa-driver und xorg configuriert, ging auch gleich auf anhieb. jetzt aber das problem beim dateien mergen, welches zwar die gleiche fehlermeldung wie beim kdebase-meta mergen bringt, aber nicht die gleiche lösungsmöglichkeit hat. ich habe auch gcc schon neu gemerged und auch glibc nochmal, ich kriegs einfach nicht hin :/
emerge --sync läuft jeden morgen um 6 durch, daher dürfte es kein konflikt mit einem dieser pakete sein, da ich ja jeden früh eine aktuallisierung erhalte
vor den nvidia treibern gings so gut, einfach emerge paketname und zack liefs durch *vorn kopf hau* :/
______(edit)_______
ganz vergessen, gentoo 2006.0 von der netinstaller cd aus
kernel 2.6.15-r1 gentoo sources
kdebase 3.4.3
falls es was zur sache tut: p4 celeron 2 ghz mit 384 mb sdram, gf4mx und 280 gb ide (udma5)
einen hardware konflikt schließ ich allerdings aus, läuft unter knoppix, der live cd, oder winxp bestens, nur das emergen streikt aus mir unbekannten gründen :/
______(edit se)______
Code: | gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" |
das stach mir beim durchlesen des threats nochmal ins auge, hab in der make.conf den CHOST wieder von i686 auf i386 gesetzt, neugestartet, kam aber beim mergen von XML-Parser der gleiche fehler. ich las den make.conf wert jetzt mal so und merge mal gcc neu, gibt dann den nächsten edit, ich geb die hoffnung nicht auf, aber ich bin mir sicher, dass das nicht klappen wird :/
Last edited by menschi on Sat Apr 08, 2006 1:47 pm; edited 1 time in total |
|
Back to top |
|
|
blice Guru
Joined: 12 Feb 2005 Posts: 598 Location: D- 26188
|
Posted: Fri Apr 07, 2006 8:56 pm Post subject: |
|
|
Ich hab auch nen P4 /celeron, hier ist meine Make.conf , vllt hilfts ja
Code: |
$ cat /etc/make.conf
# 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=pentium4 -fomit-frame-pointer -msse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
PKGDIR="/daten/packages"
FEATURES="buildpkg ccache"
LINGUAS="de"
#LANG="de_DE@utf8"
#LANGUAGES="de_DE@utf8"
LANGUAGE="german"
LC_ALL="german"
USE="qt kde gd2 apache2 php udev mysql usb dvd alsa cdr 3dnow mmx -doc win32codecs"
|
Hats du neuerdings mal nen "emerge --sync" gemacht ? Wenn ja , versuch mal die ältere version zu kompilieren,
zb alle größer als 2.31 ausblenden ( ich kann bei mir im mom nur 2.31 und 2.34 im /usr/portage finden)
Code: |
echo "> dev-perl/XML-Parser-2.31" >> /etc/packages.mask
|
_________________ Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de |
|
Back to top |
|
|
Ampheus l33t
Joined: 19 Oct 2005 Posts: 814 Location: Rheine, NRW, Germany
|
Posted: Sat Apr 08, 2006 12:38 am Post subject: |
|
|
Wenn du deine CFLAGS geändert hast, könntest du mal versuchen, den GCC neu zu mergen, ansonsten... was sagt
? |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3491 Location: Berlin
|
Posted: Sat Apr 08, 2006 6:20 am Post subject: |
|
|
gcc-config --help
Code: | Usage: gcc-config [options] [CC Profile]
Change the current cc/gcc profile, or give info about profiles.
Options:
-O, --use-old Use the old profile if one was selected.
-f, --force Make sure all config files are regenerated.
-P, --use-portage-chost Only set to given profile if its CHOST is the
same as that set for portage in /etc/make.conf
(or one of other portage config files...).
-c, --get-current-profile Print current used gcc profile.
-l, --list-profiles Print a list of available profiles.
-S, --split-profile Split profiles into their components
-E, --print-environ Print environment that can be used to setup the
current gcc profile, or a specified one.
-B, --get-bin-path Print path where binaries of the given/current
profile are located.
-L, --get-lib-path Print path where libraries of the given/current
profile are located.
-X, --get-stdcxx-incdir Print path where g++ include files of the
given/current profile are located.
Profile names are of the form: <CHOST>-<gcc version>
For example: i686-pc-linux-gnu-3.2.1
|
Beispiel
Code: | gcc 3.4.3.20050110-r1
gcc-config -l
[1] x86_64-pc-linux-gnu-3.3.4 *
[2] x86_64-pc-linux-gnu-3.4.3-20050110
[3] x86_64-pc-linux-gnu-3.4.3-20050110-hardened
[4] x86_64-pc-linux-gnu-3.4.3-20050110-hardenednopie
[5] x86_64-pc-linux-gnu-3.4.3-20050110-hardenednossp
gcc-config -c
x86_64-pc-linux-gnu-3.3.4[/ | code] |
|
Back to top |
|
|
dek l33t
Joined: 16 May 2002 Posts: 657 Location: Germany
|
Posted: Sat Apr 08, 2006 9:59 am Post subject: |
|
|
Quote: | gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" |
Du hast nicht zufällig deinen CHOST geändert? Dann wirst du um ein "emerge -e world" nicht herumkommen.
Edit:
Wobei ich gerade sehe, dass das Problem wohl auch anderweitig auftreten kann. Such mal nach dem obigen quote, gibt es etliche threads zu. |
|
Back to top |
|
|
menschi n00b
Joined: 27 Mar 2006 Posts: 14
|
Posted: Sat Apr 08, 2006 1:46 pm Post subject: |
|
|
danke für eure antworten
das gcc neu zu mergen hab ich schon mehrmals probiert, hatte auch keine änderrung gebracht
hab heut früh das basissys neu installiert, kdebase-meta merged gerade, bis jetzt ohne probleme, ist schon fasst fertig, auch den XML-Parser konnte ich ohne probleme mergen, das problem scheint also gelöst zu sein, die einzigste änderrung die ich jetzt gemacht habe war, das ich die cflags von blice benutzt habe.
ich änder mal auf solved *wie ein kleines kind freu* ^^ |
|
Back to top |
|
|
|
|
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
|
|