Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Did 'world' upgrade and 'econf' fails on builds. [SOLVED]
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
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 129
Location: Brisbane AU

PostPosted: Sun Mar 17, 2013 12:43 am    Post subject: Did 'world' upgrade and 'econf' fails on builds. [SOLVED] Reply with quote

I'm doing a new installation using stage3-i686-20121213.tar.bz2 and after getting it the bootable did the following:

Code:
># emerge --sync
>#   :
># emerge -avuND
>#   :
># emerge -ac
>#   :
># revdep-rebuild


The --depclean phase (-ac) asked to remove nano and the old version of gcc, which I accepted. I then rebooted and tried to re-emerge nano, which failed saying:
Code:
  phase-helpers.sh, line 518: called die
The specific snippet of code:
         die "econf failed"

The same thing happened when compiling xorg-server during the libdrm build. Could someone please point to the error in this procedure?


Last edited by 52midnight on Sun Mar 17, 2013 1:42 am; edited 1 time in total
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Mar 17, 2013 12:59 am    Post subject: Reply with quote

52midnight,

emerge it again and wgetpaste the the log. That will help more than just those three lines.

The error should point you to the location of the log file.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 129
Location: Brisbane AU

PostPosted: Sun Mar 17, 2013 1:18 am    Post subject: Reply with quote

Done: http://bpaste.net/show/84212

Note the line: configure: error: C compiler cannot create executables

It recommends consulting 'config.log' which says:
Code:
  * gcc-config: Active gcc profile is invalid!
gcc-config:  error: could not run/locate 'i686-pc-linux-gnu-gcc'

This seems to suggest that I should have left both the old gcc and nano on the system. So why run --depclean?
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Mar 17, 2013 1:36 am    Post subject: Reply with quote

52midnight,
Try
Code:
gcc-config 1

then
Code:
laptop bill # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.6.3 *

and see if it lists the compiler like above
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
52midnight
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2012
Posts: 129
Location: Brisbane AU

PostPosted: Sun Mar 17, 2013 1:40 am    Post subject: Reply with quote

Well, you're a genius, Doctor. Results as you predicted, and 'nano' has just compiled. Thanks again!
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