Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge system fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kazakhan
n00b
n00b


Joined: 19 Apr 2002
Posts: 12

PostPosted: Fri Apr 19, 2002 1:29 pm    Post subject: emerge system fails Reply with quote

I'm trying to install from the chrooted environment after stage2 with "emerge system", however it fails here :-

gcc -DHAVE_CONFIG_H -I. -I. -I. /usr/local/include -O2 -mcpu=i686 -pipe -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [ltdl.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/libtool-1.4.1-r6/work/libtool-1.4.1/libltdl'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 5, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/sys-devel/libtool/libtool-1.4.1-r6.ebuild

Any help would be much appreciated!!
Back to top
View user's profile Send private message
adelie
n00b
n00b


Joined: 26 Apr 2002
Posts: 20

PostPosted: Sun Apr 28, 2002 3:49 pm    Post subject: Re: emerge system fails Reply with quote

kazakhan wrote:
I'm trying to install from the chrooted environment after stage2 with "emerge system", however it fails here :-

gcc -DHAVE_CONFIG_H -I. -I. -I. /usr/local/include -O2 -mcpu=i686 -pipe -c ltdl.c -fPIC -DPIC -o .libs/ltdl.lo
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [ltdl.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/libtool-1.4.1-r6/work/libtool-1.4.1/libltdl'
make: *** [all-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 5, Exitcode 2
!!! (no error message)

!!! emerge aborting on /usr/portage/sys-devel/libtool/libtool-1.4.1-r6.ebuild

Any help would be much appreciated!!



I wonder whether you discovered a resolution since your posting. But if i may modestly suggest simply applying the "emerge system" script from that point. I confronted the same problem during a recent install and emerge seemed to just resume from where it errored.

hope this helps.

adelie
Back to top
View user's profile Send private message
kazakhan
n00b
n00b


Joined: 19 Apr 2002
Posts: 12

PostPosted: Sun Apr 28, 2002 11:40 pm    Post subject: This is sorted! Reply with quote

I've sorted this out, I used the stage3 tarball to install instead. I was using stage2 after chrooting from a LFS install, rather than using the boot CD, I was being lazy by avoiding, the initial network setup stuff etc. Anyways it can be done with stage3 :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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