Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
i can't emerge anything (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
panlm
n00b
n00b


Joined: 29 Jan 2005
Posts: 45

PostPosted: Mon Jun 06, 2005 6:32 am    Post subject: i can't emerge anything (solved) Reply with quote

after i emerged vim successfully, i can't emerge anything . i forgot what i had done before.

i installed my pc from gentoo 2005.0 stage3 for pentium3

Code:
homepc bin # emerge --info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 15:25:47)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.gg3.net/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cjk crypt cups emboss encode foomaticdb fortran gdbm gif gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY


when i emerge cracklib, error like follow:
Code:
>>> Source unpacked.
make -C cracklib
make[1]: Entering directory `/var/tmp/portage/cracklib-2.7-r11/work/cracklib,2.7/cracklib'
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o fascist.o fascist.c
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory
i686-pc-linux-gnu-gcc -march=pentium3 -O3 -pipe -fomit-frame-pointer -g -I../cracklib -DIN_CRACKLIB -fPIC   -c -o packlib.o packlib.c
i686-pc-linux-gnu-gcc: installation problem, cannot exec `as': No such file or directory
cc1: Broken pipe: error writing to -
make[1]: *** [packlib.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: Broken pipe: error writing to -
make[1]: *** [fascist.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/cracklib-2.7-r11/work/cracklib,2.7/cracklib'
make: *** [all] Error 2

!!! ERROR: sys-libs/cracklib-2.7-r11 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.



my "as" in /usr/i686-pc-linux-gnu/binutils-bin , but emerge can't find it. i have add it to PATH in my profile

when i emerge binutils , error like follow :

Code:
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --datadir=/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2 --infodir=/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/info --mandir=/usr/share/binutils-data/i686-pc-linux-gnu/2.15.92.0.2/man --bindir=/usr/i686-pc-linux-gnu/binutils-bin/2.15.92.0.2 --libdir=/usr/lib/binutils/i686-pc-linux-gnu/2.15.92.0.2 --libexecdir=/usr/lib/binutils/i686-pc-linux-gnu/2.15.92.0.2 --includedir=/usr/lib/binutils/i686-pc-linux-gnu/2.15.92.0.2/include --enable-shared --enable-64-bit-bfd --disable-werror --without-included-gettext
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc -march=pentium3 -pipe -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: sys-devel/binutils-2.15.92.0.2-r10 failed.
!!! Function toolchain-binutils_src_compile, Line 126, Exitcode 1
!!! configure failed
!!! If you need support, post the topmost build error, NOT this status message.


_________________
[img]http://setistat.kanuuli.de/userstats.php?l=1&id=113&lng=en[/img]


Last edited by panlm on Mon Jun 06, 2005 7:34 am; edited 1 time in total
Back to top
View user's profile Send private message
kernelsensei
Bodhisattva
Bodhisattva


Joined: 22 Feb 2004
Posts: 5619
Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)

PostPosted: Mon Jun 06, 2005 7:06 am    Post subject: Reply with quote

hi,

what tells :
Code:
gcc-config -l
and
Code:
binutils-config -l
:?:

thanks
_________________
$ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join'
Back to top
View user's profile Send private message
panlm
n00b
n00b


Joined: 29 Jan 2005
Posts: 45

PostPosted: Mon Jun 06, 2005 7:33 am    Post subject: Reply with quote

kernel_sensei wrote:
hi,

what tells :
Code:
gcc-config -l
and
Code:
binutils-config -l
:?:

thanks


thanx, i check the output of "binutils-config -l ", but without a star at the end of line.
i use binutils-config 1 to select it. and then the problem is solved.

but i want to know the binutils not select the default version ?

Code:
homepc 3.3.5 # gcc-config -l && binutils-config -l
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
 [1] i686-pc-linux-gnu-2.15.92.0.2 *

_________________
[img]http://setistat.kanuuli.de/userstats.php?l=1&id=113&lng=en[/img]
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Jun 06, 2005 2:55 pm    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-344970.html

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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