Jump to content
funtoo forums
  • 0
Sign in to follow this  
galoisghost

Issue installing Grub

Question

Hi,

 

I'm attemptin my very first install.  And was doin fine up to

emerge boot-update

Which fails with

chmod a+x grub-mkrescue
PATH=.:$PATH pkgdatadir=. /usr/bin/help2man --section=1 -i /var/tmp/portage/sys-boot/grub-2.00-r7/work/grub-2.00/docs/man/grub-mkrescue.h2m -o grub-mkrescue.1 grub-mkrescue
Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.20.1/x86_64-linux /usr/local/lib64/perl5/5.20.1 /usr/lib64/perl5/vendor_perl/5.20.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.20.1 /usr/lib64/perl5/5.20.1/x86_64-linux /usr/lib64/perl5/5.20.1 .) at /usr/bin/help2man line 29.
BEGIN failed--compilation aborted at /usr/bin/help2man line 29.
Makefile:22935: recipe for target 'grub-mkrescue.1' failed
make[2]: *** [grub-mkrescue.1] Error 2

I tried

perl-cleaner --all

But that did not fix the issue, probably because it didn't finish.

 

All relevant logs are attached.

 

I used  http://build.funtoo.org/funtoo-stable/x86-64bit/core2_64/stage3-latest.tar.xz

 

Any ideas how I can rectify this?

 

Thanks
 

build_log.txt

emerge_info.txt

emerge_pqv.txt

perlclean_all.txt

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi

 

Thanks for the reply.  I've just completed  emerge -e boot-update  It seems to have worked (it didn't give me any errors)  I'll continue on and see how I go.

 

The output from perlcleaner was attached above in case that helps anyone else 

Share this post


Link to post
Share on other sites
  • 0

Hello and welcome.

It's probably not your fault, you lucked out and installed at the same time perl was being updated to a new version.  It can be kind of tricky even for established installs to cope with that.

Yes, the fact that perl-cleaner didn't finish sounds like a good bet.  Hopefully someone more knowledgeable will come to the rescue here, but until then, I wonder if perl-cleaner complains about blockers?  That's often the case.  If so, make a note of the blockers and uninstall them, then it should finish and you should get over the hump.  Then you can reinstall them ( I think you should, but I never do), do emerge --depclean && revdep-rebuild.  You often have to pull out perl stuff to get it to work.

Otherwise, perhaps post your results from perl-cleaner to give us more to go on.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...