public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
@ 2011-05-15  6:24 Felix Miata
  2011-05-15  8:59 ` Mick
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Felix Miata @ 2011-05-15  6:24 UTC (permalink / raw
  To: gentoo-user

Googling above or similar is getting me nothing useful: 70% non-English 
pages, and of the remainder, 90% questions without answers (from 
forums.gentoo.org), and of those with answers, answers specific to packages 
bearing no apparent relationship to those failing to emerge for me. There are 
plenty hits for 'die "econf failed"' and 'ERROR:...failed (compile phase)', 
just nothing useful.

How can my attempts to follow the Handbook instructions have failed so 
miserably that I can't even emerge such a basic package as Grub Legacy?

http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and 
eclass-debug.log files from 6 different emerge failures, plus output of 
emerge --info. Is there something akin to a Handbook page that describes 
similar failures and how to fix them? Is my problem not a common blocker for 
new users? How can I make any progress with everything hitting this 
apparently same or similar problem? Since I got a working kernel and mc, I've 
not managed to get anything else to emerge. :-(

As an aside, pages like http://www.gentoo.org/proj/en/qa/asneeded.xml don't 
fit. My browser viewport can be up to 1392px wide, and yet there's a 
horizontal scroll of 50% or so, making it really difficult to use such pages. 
I can dezoom to make the scollbar go away, but of course that restores the 
original illegibility for the pages' CSS.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-15  6:24 [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Felix Miata
@ 2011-05-15  8:59 ` Mick
  2011-05-15 11:23 ` Willie Wong
  2011-05-15 22:29 ` Felix Miata
  2 siblings, 0 replies; 11+ messages in thread
From: Mick @ 2011-05-15  8:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2368 bytes --]

On Sunday 15 May 2011 07:24:12 Felix Miata wrote:
> Googling above or similar is getting me nothing useful: 70% non-English
> pages, and of the remainder, 90% questions without answers (from
> forums.gentoo.org), and of those with answers, answers specific to packages
> bearing no apparent relationship to those failing to emerge for me. There
> are plenty hits for 'die "econf failed"' and 'ERROR:...failed (compile
> phase)', just nothing useful.

I cannot access your buildgrublog.txt of 15 May (Error 403)

> How can my attempts to follow the Handbook instructions have failed so
> miserably that I can't even emerge such a basic package as Grub Legacy?

It seems that you may have missed something in your toolchain.

> http://fm.no-ip.com/Tmp/Linux/G/ has my build.log, config.log and
> eclass-debug.log files from 6 different emerge failures, plus output of
> emerge --info. Is there something akin to a Handbook page that describes
> similar failures and how to fix them? Is my problem not a common blocker
> for new users? How can I make any progress with everything hitting this
> apparently same or similar problem? Since I got a working kernel and mc,
> I've not managed to get anything else to emerge. :-(

I noticed in your configgrublog.txt this error:

  ./configure: line 3307: ccache: command not found

So, somewhere ccache is defined to be used, but you perhaps have not emerged 
dev-util/ccache?

Emerge it with a LiveCD, configure it, reboot and see if your system emerges 
better now.

Or,

set -ccache in FEATURES in your /etc/make.conf and try again.

BTW, if you originally had ccache working and left stales files under 
/var/tmp/ccache/*  you better delete these first.

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part2_chap3



> As an aside, pages like http://www.gentoo.org/proj/en/qa/asneeded.xml don't
> fit. 

I recall this discussed before.  Some pages do not have the correct CSS to 
define a max page width which for todays browsers should typically be 1024.  
Could be caused by the CMS used or some error in coding by the webmaster.  Not 
sure if a bug on this has been filled before.  Worth checking the M/L archives 
to see what was the conclusion.  Also worth trying loading just the frame to 
see if it can show up correctly.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-15  6:24 [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Felix Miata
  2011-05-15  8:59 ` Mick
@ 2011-05-15 11:23 ` Willie Wong
  2011-05-15 22:29 ` Felix Miata
  2 siblings, 0 replies; 11+ messages in thread
From: Willie Wong @ 2011-05-15 11:23 UTC (permalink / raw
  To: gentoo-user

On Sun, May 15, 2011 at 02:24:12AM -0400, Felix Miata wrote:
> Googling above or similar is getting me nothing useful: 70%
> non-English pages, and of the remainder, 90% questions without
> answers (from forums.gentoo.org), and of those with answers, answers
> specific to packages bearing no apparent relationship to those
> failing to emerge for me. There are plenty hits for 'die "econf
> failed"' and 'ERROR:...failed (compile phase)', just nothing useful.

Because that is not the real error message. That just tells you when
(whether during configuration or compilation) the build failed. The
actual error is a few tens of lines earlier in the display (so
possibly 1 screen or 2 up in the console). 

Also, instead of posting the complete log on the external site (and
sometimes run into access problems), it may be easier to attach a
partial log to the e-mails to the forum. Something like 'tail -n 100
build.log' usually contains enough information. 

W
-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-15  6:24 [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Felix Miata
  2011-05-15  8:59 ` Mick
  2011-05-15 11:23 ` Willie Wong
@ 2011-05-15 22:29 ` Felix Miata
  2011-05-16  1:14   ` Michael Orlitzky
  2011-05-16  1:43   ` Michael Orlitzky
  2 siblings, 2 replies; 11+ messages in thread
From: Felix Miata @ 2011-05-15 22:29 UTC (permalink / raw
  To: gentoo-user

http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
my 7th attempt to install from the beginning, using 
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.

Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
kernel, networking, and mc working on the first try, because I've been unable 
to get anything except kernel sources to emerge since the first attempt. 
Every other emerge attempt has generated either "ERROR:...(compile phase)..." 
or "ERROR:...(configure phase)...", plus 'die "econf failed"'.

At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
than mistakes following instructions. I've put in most of the past 5 days 
trying, and have to quit real soon unless I get a whole lot better help. I'm 
sure I've used up my quota of better efficiency just trying to get started, 
and need to get back to normal life soon.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-15 22:29 ` Felix Miata
@ 2011-05-16  1:14   ` Michael Orlitzky
  2011-05-16  1:25     ` Adam Carter
  2011-05-16  1:29     ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Willie Wong
  2011-05-16  1:43   ` Michael Orlitzky
  1 sibling, 2 replies; 11+ messages in thread
From: Michael Orlitzky @ 2011-05-16  1:14 UTC (permalink / raw
  To: gentoo-user

On 05/15/2011 06:29 PM, Felix Miata wrote:
> http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
> my 7th attempt to install from the beginning, using 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.
> 
> Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
> portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
> kernel, networking, and mc working on the first try, because I've been unable 
> to get anything except kernel sources to emerge since the first attempt. 
> Every other emerge attempt has generated either "ERROR:...(compile phase)..." 
> or "ERROR:...(configure phase)...", plus 'die "econf failed"'.
> 
> At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
> than mistakes following instructions. I've put in most of the past 5 days 
> trying, and have to quit real soon unless I get a whole lot better help. I'm 
> sure I've used up my quota of better efficiency just trying to get started, 
> and need to get back to normal life soon.

Purge ccache entirely from your system, it's bad news. Then `source
/etc/profile && env-update`.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-16  1:14   ` Michael Orlitzky
@ 2011-05-16  1:25     ` Adam Carter
  2011-05-16  1:39       ` Michael Orlitzky
  2011-05-16  2:04       ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"^H^H^H^H^H^H^H Success!!! Felix Miata
  2011-05-16  1:29     ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Willie Wong
  1 sibling, 2 replies; 11+ messages in thread
From: Adam Carter @ 2011-05-16  1:25 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 322 bytes --]

> Purge ccache entirely from your system, it's bad news. Then `source
> /etc/profile && env-update`.
>
>
AFAIK i've never had a problem with ccache. I've been using it for years on
two different systems.

The OP's probably appears to be that he has ccache in FEATURES but its not
installed....as Mick stated 16 hours ago.

[-- Attachment #2: Type: text/html, Size: 520 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-16  1:14   ` Michael Orlitzky
  2011-05-16  1:25     ` Adam Carter
@ 2011-05-16  1:29     ` Willie Wong
  1 sibling, 0 replies; 11+ messages in thread
From: Willie Wong @ 2011-05-16  1:29 UTC (permalink / raw
  To: gentoo-user

On Sun, May 15, 2011 at 09:14:55PM -0400, Michael Orlitzky wrote:
> On 05/15/2011 06:29 PM, Felix Miata wrote:
> > http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
> > my 7th attempt to install from the beginning, using 
> > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.
> > 
> > Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
> > portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
> > kernel, networking, and mc working on the first try, because I've been unable 
> > to get anything except kernel sources to emerge since the first attempt. 
> > Every other emerge attempt has generated either "ERROR:...(compile phase)..." 
> > or "ERROR:...(configure phase)...", plus 'die "econf failed"'.
> > 
> > At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
> > than mistakes following instructions. I've put in most of the past 5 days 
> > trying, and have to quit real soon unless I get a whole lot better help. I'm 
> > sure I've used up my quota of better efficiency just trying to get started, 
> > and need to get back to normal life soon.
> 
> Purge ccache entirely from your system, it's bad news. Then `source
> /etc/profile && env-update`.

What's strange is that the emerge --info Felix linked to does not have
ccache in Features. But it is timestamped earlier than the other
logs...

Is ccache installed? (emerge --search ccache) if yes unmerge it
(emerge --unmerge ccache). And you may want to use gcc-config to reset
the links to gcc. 

W

-- 
Willie W. Wong                                     wwong@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
         et vice versa   ~~~  I. Newton



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-16  1:25     ` Adam Carter
@ 2011-05-16  1:39       ` Michael Orlitzky
  2011-05-16  2:04       ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"^H^H^H^H^H^H^H Success!!! Felix Miata
  1 sibling, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2011-05-16  1:39 UTC (permalink / raw
  To: gentoo-user

On 05/15/2011 09:25 PM, Adam Carter wrote:
> 
>     Purge ccache entirely from your system, it's bad news. Then `source
>     /etc/profile && env-update`.
> 
> 
> AFAIK i've never had a problem with ccache. I've been using it for years
> on two different systems.
> 
> The OP's probably appears to be that he has ccache in FEATURES but its
> not installed....as Mick stated 16 hours ago.

I meant that like when I tell my friends with the crippling alcoholism,
"get rid of the motorcycle, it's bad news."

ccache is installed, judging by his bash history. It doesn't appear to
be in FEATURES. It's easier to solve this one with a chainsaw than with
a scalpel.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-15 22:29 ` Felix Miata
  2011-05-16  1:14   ` Michael Orlitzky
@ 2011-05-16  1:43   ` Michael Orlitzky
  2011-05-16  1:48     ` Michael Orlitzky
  1 sibling, 1 reply; 11+ messages in thread
From: Michael Orlitzky @ 2011-05-16  1:43 UTC (permalink / raw
  To: gentoo-user

On 05/15/2011 06:29 PM, Felix Miata wrote:
> http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
> my 7th attempt to install from the beginning, using 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.
> 
> Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
> portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
> kernel, networking, and mc working on the first try, because I've been unable 
> to get anything except kernel sources to emerge since the first attempt. 
> Every other emerge attempt has generated either "ERROR:...(compile phase)..." 
> or "ERROR:...(configure phase)...", plus 'die "econf failed"'.
> 
> At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
> than mistakes following instructions. I've put in most of the past 5 days 
> trying, and have to quit real soon unless I get a whole lot better help. I'm 
> sure I've used up my quota of better efficiency just trying to get started, 
> and need to get back to normal life soon.


Ugh:

  http://fm.no-ip.com/Tmp/Linux/G/bash_profile

I'm guessing you forgot to `source ~/.bash_profile` after you commented
out the line,

  #export "CC=ccache gcc"



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"
  2011-05-16  1:43   ` Michael Orlitzky
@ 2011-05-16  1:48     ` Michael Orlitzky
  0 siblings, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2011-05-16  1:48 UTC (permalink / raw
  To: gentoo-user

On 05/15/2011 09:43 PM, Michael Orlitzky wrote:
> On 05/15/2011 06:29 PM, Felix Miata wrote:
>> http://fm.no-ip.com/Tmp/Linux/G/ has system info, bash_history, and logs from 
>> my 7th attempt to install from the beginning, using 
>> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1 as the battle plan.
>>
>> Among the 8 attempts, once I used the 0514 portage, twice I used the 0507 
>> portage, and the rest I used the 0511 portage. I'm surprised I ever got a 
>> kernel, networking, and mc working on the first try, because I've been unable 
>> to get anything except kernel sources to emerge since the first attempt. 
>> Every other emerge attempt has generated either "ERROR:...(compile phase)..." 
>> or "ERROR:...(configure phase)...", plus 'die "econf failed"'.
>>
>> At this point I have to believe there's a Gentoo bug(s) I'm hitting rather 
>> than mistakes following instructions. I've put in most of the past 5 days 
>> trying, and have to quit real soon unless I get a whole lot better help. I'm 
>> sure I've used up my quota of better efficiency just trying to get started, 
>> and need to get back to normal life soon.
> 
> 
> Ugh:
> 
>   http://fm.no-ip.com/Tmp/Linux/G/bash_profile
> 
> I'm guessing you forgot to `source ~/.bash_profile` after you commented
> out the line,
> 
>   #export "CC=ccache gcc"
> 

In fact, re-sourcing won't even help unless you set CC="something else".

Try `unset CC`.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"^H^H^H^H^H^H^H Success!!!
  2011-05-16  1:25     ` Adam Carter
  2011-05-16  1:39       ` Michael Orlitzky
@ 2011-05-16  2:04       ` Felix Miata
  1 sibling, 0 replies; 11+ messages in thread
From: Felix Miata @ 2011-05-16  2:04 UTC (permalink / raw
  To: gentoo-user

On 2011/05/16 11:25 (GMT+1000) Adam Carter composed:

>>  Purge ccache entirely from your system, it's bad news. Then `source
>>  /etc/profile&&  env-update`.

> AFAIK i've never had a problem with ccache. I've been using it for years on
> two different systems.

> The OP's probably appears to be that he has ccache in FEATURES but its not
> installed....as Mick stated 16 hours ago.

Mick's pointer nagged me enough to keep on keepin' on. Looking at 
.bash_history[1], IIRC here's the sequence that got me over the hump (on 
fresh start #8):

...
1-Installed up through emerge kernel-sources (success, still in chroot)
2-emerge nfs-utils (failed, still in chroot, no new kernel built yet, since I 
had saved a good one)
3-shutdown
4-wrote my previous thread post
5-took a break for about two hours
6-restarted via (openSUSE) chroot
7-make && make modules_install (success)
8-emerge sysklogd (failed, twice)
9-emerge ccache (failed)
10-booted into new Gentoo kernel
11-emerge ccache (success!!!, along with about 4 deps)
12-emerge app-misc/mc (success, along with 13 deps)
13-emerge nfs-utils (no apparent errors...; plus more deps)
14-emerge grub (no apparent errors, but error 13 invalid executable format 
trying to use it)

I have no idea what made everything except kernel and ccache fail until 
ccache was emerged, or why ccache would not emerge via chroot, but at least 
now I'm over the ccache hump, and I'm going to leave it installed/enabled at 
least for this installation for at least the time being.

http://fm.no-ip.com/Tmp/Linux/G/ has the latest system info, including 
portage's summary.log, and make.conf as last modified prior to successful 
emerges.

[1] http://fm.no-ip.com/Tmp/Linux/G/bash_history.05
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-05-16  2:07 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-15  6:24 [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Felix Miata
2011-05-15  8:59 ` Mick
2011-05-15 11:23 ` Willie Wong
2011-05-15 22:29 ` Felix Miata
2011-05-16  1:14   ` Michael Orlitzky
2011-05-16  1:25     ` Adam Carter
2011-05-16  1:39       ` Michael Orlitzky
2011-05-16  2:04       ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed"^H^H^H^H^H^H^H Success!!! Felix Miata
2011-05-16  1:29     ` [gentoo-user] site:www.gentoo.org (compile phase)...die "econf failed" Willie Wong
2011-05-16  1:43   ` Michael Orlitzky
2011-05-16  1:48     ` Michael Orlitzky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox