Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You need to have installed libxml, libxslt, sgml-common, docbook-xml, and docbook-xsl-nons (in that order). Especially, note the post-install 'copy-and-paste' sections for sgml/docbook. What you got seems to mean the docbook-xsl stylesheets in particular were not installed correctly.
Also nice (necessary?) to have: tidy-html5 and lynx (optional). See the INSTALL file in the multilib/ dir. Once you have it set up, it works well. Takes <1 minute to render the html.
What I needed apparently was linuxdoc-tools. So now I have a version of the Book, but it doesn't appear to be multilib. As far as I can see, it's just the normal LFS 10.
PS: This edition contains a cross-reference to a multilib version online, so I can use that.
To get multilib version add one of below to "make" (see Makefile):
ARCH=ml_32
ARCH=ml_x32
ARCH=ml_all
For instance: "make ARCH=ml_all BASEDIR=/<destpath>/LFS-12056_ml".
Note that they are behind in updating the multilib version to current (the last change was Sept 25).
Yup, that does it. Thank you very much, bryan. I don't really need the current version; I just want a multilib version of LFS 10, so that I can run my printer out of it in case, for some reason, I can't use Slackware.
OK. Just building gcc and I'm intrigued that it requires a fourth built-in library, isl. Is this requirement going to be permanent from now on or is it just because this is a multilib build?
Also, why is there a third version of glibc? In the old multilib, there were only two.
Has anyone figured out how to build multilib versions of packages that use meson instead of configure? I have managed to get many packages in BLFS to build for multilib by applying the same principles in these messages. However, I am now having a hard time trying to build GLIb for multilib. GLib uses meson to configure the project. I have tried using the cross compile facilities of meson without success. At link time it is finding 64bit libs instead of 32bit libs when I am trying to build the 32bit version.
Has anyone figured out how to build multilib versions of packages that use meson instead of configure? I have managed to get many packages in BLFS to build for multilib by applying the same principles in these messages. However, I am now having a hard time trying to build GLIb for multilib. GLib uses meson to configure the project. I have tried using the cross compile facilities of meson without success. At link time it is finding 64bit libs instead of 32bit libs when I am trying to build the 32bit version.
Thanks for your reply. This was helpful, although it didn't completely solve my problem. There are still a few tests in the package that are building 64bit instead of 32bit and they are failing in the link phase of course. I will need to dig into this a little more this week and I will report back when I have more details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.