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

General talk about packaging procedures and packages.
Post Reply
User avatar
barchi
Posts: 26
Joined: 12. Oct 2012, 06:47

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

Post 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?
Last edited by barchi on 12. Oct 2012, 07:51, edited 1 time in total.
64bit Salix OS 14.0 beta1 xfce4 basic installation
thom1
Posts: 28
Joined: 16. May 2011, 09:40

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

Post 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.
Thomas Bourdon
User avatar
barchi
Posts: 26
Joined: 12. Oct 2012, 06:47

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

Post 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
Last edited by barchi on 13. Oct 2012, 06:42, edited 4 times in total.
64bit Salix OS 14.0 beta1 xfce4 basic installation
thom1
Posts: 28
Joined: 16. May 2011, 09:40

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

Post by thom1 »

Fine :)
Thomas Bourdon
Post Reply