Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47956 - "emerge --usepkg grub" returns aclocal: command not found
Summary: "emerge --usepkg grub" returns aclocal: command not found
Status: RESOLVED WORKSFORME
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Documentation Guide (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-15 12:49 UTC by Thom Haupt
Modified: 2004-04-25 09:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thom Haupt 2004-04-15 12:49:19 UTC
I have follwed through the install documentation and when I reached step 9.b I ran the "emerge --usepkg grub" command.  

It replied withthe following error below.  I also tried "emerge --update grub" and I sucessfully did an "emerge binutils" and tried an "emerge grub" again all with the same results.

When I try to run "emerge grub" it fails after listing the following. 


>>> Source unpacked. 
/usr/sbin/ebuild.sh: line 61: aclocal: command not found 

!!! ERROR: sys-boot/grub-0.94-r1 failed. 
!!! Function src_compile, Line 61, Exitcode 127 
!!! (no error message) 



Reproducible: Always
Steps to Reproduce:
1. type emerge grub
2. receive error
3.

Actual Results:  
>>> emerge (1 of 1) sys-boot/grub-0.94-r1 to /
>>> md5 src_uri ;-) grub-0.94.tar.gz
>>> md5 src_uri ;-) grub-0.94-splash.patch.bz2
>>> Unpacking source...
>>> Unpacking grub-0.94.tar.gz to /var/tmp/portage/grub-0.94-r1/work
>>> Unpacking grub-0.94-spalsh.patch.bz2 to /var/tmp/portage/grub-0.94-r1/work
 * Applying grub-0.94-splash.patch...
>>> Source unpacked
/usr/sbin/ebuild.sh: line 61: aclocal: command not found

!!! ERROR: sys-boot/grub-0.94-r1 failed. 
!!! Function src_compile, Line 61, Exitcode 127 
!!! (no error message)

Expected Results:  
emerged grub

This is a new install.  I tried changing my CFLAGS from 
CFLAGS="-02 -mcpu=i686 -fomit-frame-pointer"  to
CFLAGS=""

I also verified that I have an aclocal in /usr/share
Comment 1 Thom Haupt 2004-04-15 21:10:07 UTC
Upset and tired at the whole install, I am wiping out my hard drive and restarting from scratch.  I will let you know if I run into the same hang up.
Comment 2 Philip Heron 2004-04-20 11:31:41 UTC
You need to emerge automake before installing grub.
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2004-04-21 00:58:00 UTC
The issue shouldn't come up (read: automake should be installed before grub is, and if not it should be marked as a dependency). This is no documentation bug, but instead of reassigning I'm tempted to mark this one as WORKSFORME (because it works for me :)

Thom: got any luck with the reinstall?
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2004-04-25 09:15:35 UTC
No (documentation)bug afaik.