Page 1 of 1

[solved] Installation of Grub2-2.00 (64bit) with sourcery

Posted: 12. Oct 2012, 06:59
by barchi
Salix 14 beta1 , 64bit, xfce4

Hello Salix Forum,

im totally new to Slackware/Salix and i love it. I used several distris (debian, Arch, RedHat) over the past few years and finally
i arrived at slackware/Salix. I choosed Salix because of the install options, which is a very good idea to have the choice between
basic and full installation.

My problem with installing Grub2-2.00 (64bit) with sourcery is:

First build failed because the package "unifont" was missing, so i was forced to install a font package of 16mb.
Second build failed (nearly at the end of the build process) because it was not able to find or build a folder
named "man" in "/usr/src/slapt-src/system/grub2/package-grub2/usr/man".

The errormessage:
find: "/usr/src/slapt-src/system/grub2/package-grub2/usr/man": Datei oder Verzeichnis nicht gefunden
fakeroot -- sh grub2.SlackBuild Gescheitert (failed)

The "grub2.slackbuild" has this in line 92:
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l); do ln -s $(readlink $i).gz $i.gz; rm $i; done

Does anybody know how to fix this?

Re: the installationerrors of Grub2-2.00 (64bit) with source

Posted: 12. Oct 2012, 07:24
by thom1
Hi,

I suppose the "make install" installs manpages to $PKG/usr/share/man instead of $PKG/usr/man. So you should modify the slackbuild and add "mv $PKG/usr/share/man $PKG/usr" just before the line "find $PKG/usr/man -type f -exec gzip -9 {} \;".
It's just a supposition because I don't how "make install" installs manpages, but you have a way to fix that.

Re: the installationerrors of Grub2-2.00 (64bit) with source

Posted: 12. Oct 2012, 07:50
by barchi
hello thom1,

thank you for your help, i have solved it already, it was only a dependency problem. After i have checked the depends at slackbuild.org.
I have found out that the basic installation of Salix 14 does not install the packages "locale-gettext (perl)" and "help2man".
These are needed packages, beside "unifont-ttf", to build and install Grub2-2.00 (64bit) with sourcery.

After that the console entries:

Code: Select all

grub-install --modules=part_gpt /dev/sda

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
completed the grub2 installation and everything works fine now :D

Re: the installationerrors of Grub2-2.00 (64bit) with source

Posted: 12. Oct 2012, 07:51
by thom1
Fine :)