LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 10-30-2020, 11:38 AM   #46
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,658
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480

I get make errors on that svn download:
Code:
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl"
compilation error: file stylesheets/lfs-xsl/profile.xsl line 15 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl"
compilation error: file stylesheets/lfs-xsl/profile.xsl line 19 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/common/stripns.xsl
Makefile:136: recipe for target 'validate' failed
make: *** [validate] Error 5
I don't know enough about xml to troubleshoot them.
 
Old 10-31-2020, 08:31 AM   #47
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 109

Rep: Reputation: Disabled
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.

Last edited by bryan_S; 10-31-2020 at 08:37 AM.
 
1 members found this post helpful.
Old 10-31-2020, 10:01 AM   #48
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,658
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
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.

Last edited by hazel; 10-31-2020 at 11:20 AM.
 
Old 11-01-2020, 03:54 AM   #49
bryan_S
Member
 
Registered: Aug 2014
Location: N. Florida
Distribution: Linux-from-Scratch
Posts: 109

Rep: Reputation: Disabled
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).
 
1 members found this post helpful.
Old 11-01-2020, 04:33 AM   #50
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,658
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
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.
 
Old 11-03-2020, 11:23 AM   #51
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,658
Blog Entries: 19

Rep: Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480Reputation: 4480
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.

Last edited by hazel; 11-05-2020 at 07:18 AM.
 
Old 10-25-2022, 11:47 AM   #52
krash314
LQ Newbie
 
Registered: Sep 2002
Posts: 10

Rep: Reputation: 0
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.
 
Old 10-25-2022, 12:21 PM   #53
joe71
LQ Newbie
 
Registered: Feb 2006
Posts: 13

Rep: Reputation: 0
Quote:
Originally Posted by krash314 View Post
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.
I haven't tried, but look at this:
https://crux.nu/ports/crux-3.7/compa...lib-32/Pkgfile
 
Old 10-29-2022, 11:53 AM   #54
krash314
LQ Newbie
 
Registered: Sep 2002
Posts: 10

Rep: Reputation: 0
Quote:
Originally Posted by joe71 View Post
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.

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto: Simple multilib setup for x86_64 LFS ordealbyfire83 Linux From Scratch 7 03-02-2015 03:59 PM
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 05:42 AM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 07:16 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration