Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[gelöst] hab mist gebaut beim installieren. GCC streikt
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Tue Oct 27, 2009 10:19 pm    Post subject: [gelöst] hab mist gebaut beim installieren. GCC streikt Reply with quote

Guten Abend!

Ich hab hier wohl Mist gebaut beim installieren auf einem AMD64. Das System ist gerade mal eine Woche alt.
Aus Gründen, die ich jetzt nicht näher erläutern muss, habe ich wohl in einem relativ frühen Stadium die Umgebungsvariable CHOST="i686-pc-linux-gnu" im System aktiv gehabt. Heute ist es mir erst bewusst geworden nachdem es nun langsam anfängt immer seltsamer zu werden. Ich kann z.B. kein wine mehr installieren:

Quote:
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/wine-1.1.31/work/wine-1.1.31 ...
* econf: updating wine-1.1.31/tools/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating wine-1.1.31/tools/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib32 --sysconfdir=/etc/wine --with-alsa --without-capi --without-cms --with-cups --with-curses --without-esd --without-fontconfig --without-gnutls --without-gphoto --without-gsm --without-hal --without-jack --without-jpeg --without-ldap --without-mpg123 --without-nas --without-openal --with-opengl --with-openssl --with-oss --with-png --with-pthread --without-sane --disable-tests --disable-win64 --with-x --without-xcomposite --without-xinerama --without-xml --without-xslt
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: in `/var/tmp/portage/app-emulation/wine-1.1.31/work/wine-1.1.31':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/app-emulation/wine-1.1.31/work/wine-1.1.31/config.log


Wie man sehen kann steht da was von "--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu " im configure was sicherlich Käse ist.
Die Umgebungsvariable habe ich aber jetzt entfernt. Trotzdem geht es nicht.
Daraufhin dachte ich mir, ich emerge den gcc mal neu. Aber auch hier erhalte ich nach einer kuzen Weile:
Quote:
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-ar... /usr/x86_64-pc-linux-gnu/bin/ar
checking for x86_64-pc-linux-gnu-lipo... lipo
checking for x86_64-pc-linux-gnu-nm... /var/tmp/portage/sys-devel/gcc-4.3.4/work/build/./gcc/nm
checking for x86_64-pc-linux-gnu-ranlib... /usr/x86_64-pc-linux-gnu/bin/ranlib
checking for x86_64-pc-linux-gnu-strip... /usr/x86_64-pc-linux-gnu/bin/strip
checking whether ln -s works... yes
checking for x86_64-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.3.4/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.3.4/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build'
make[1]: *** [stage1-bubble] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.4/work/build'
make: *** [bootstrap-lean] Fehler 2


Ich bin da jetzt einfach nicht erfahren genug um zu wissen was ich hier machen muss damit das System wieder normal läuft. Muss ich jetzt doch nochmal komplett von vorn anfangen (immerhin läuft hier schon ein KDE und alles drauf) oder muss ich irgendwo bei glibc oder weiss der Geier wo anfangen um dieses Problem in den Griff zu bekommen?

Quote:
emerge --info
Portage 2.2_rc33 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-1.12.11.1
Timestamp of tree: Tue, 27 Oct 2009 09:15:01 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.mesh-solutions.com/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/personal"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X acl acpi alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups dbus dri flac fortran gdbm gif gpm hal iconv ipv6 isdnlog jpeg jpeg2k kde mmx mmxext modules mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin oggvorbis opengl openmp pam pcre perl png pppd python qt3support readline reflection samba session spell spl sse sse2 ssl sysfs tcpd tiff unicode vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev nv"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Last edited by BlackEye on Wed Oct 28, 2009 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Wed Oct 28, 2009 12:16 am    Post subject: Reply with quote

hat sich erledigt. Das Problem lag an einer fehlenden Einstellung im Kernel:

'Executable file formats/emulations -> [x] IA32'.

unfassbar an was man alles denken muss...
Back to top
View user's profile Send private message
Hollowman
Guru
Guru


Joined: 19 Apr 2007
Posts: 584

PostPosted: Wed Oct 28, 2009 9:07 am    Post subject: Reply with quote

Hi

Kannst du bitte nochma deine make.conf posten.

Sebastian
Back to top
View user's profile Send private message
BlackEye
l33t
l33t


Joined: 04 Dec 2002
Posts: 756
Location: Germany

PostPosted: Wed Oct 28, 2009 10:07 am    Post subject: Reply with quote

hier:

Quote:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="cdr cups opengl -gnome -arts alsa oggvorbis win32codecs mmx sse mmxext jpeg2k nsplugin unicode tiff gif 7zip png spell kde X mp3 jpeg acpi hal samba dbus kdeprefix vorbis flac qt3support"
GENTOO_MIRRORS="ftp://ftp.mesh-solutions.com/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://distfiles.gentoo.org"
MAKEOPTS="-j3"

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

VIDEO_CARDS="nvidia vesa fbdev nv"
#CAMERAS="canon ptp2"
INPUT_DEVICES="keyboard mouse"
PORTAGE_NICENESS=10

LINGUAS="de en"
PORTDIR_OVERLAY="/usr/local/portage/personal"


Aber wie gesagt - das Problem hat sich bereits erledigt
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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