Re: [lfs-support] Building editor-manual

2020-01-23 Thread Scott Andrews


On 1/23/20 4:04 PM, pierre.labas...@neuf.fr wrote:

‌
De : "Bruce Dubbs"
A : "Pierre Labastie"
Envoyé: jeudi 23 janvier 2020 17:21
Objet : Re: [lfs-support] Building editor-manual
On 1/23/20 8:01 AM, Pierre Labastie wrote:
> Le 23/01/2020 à 13:25, Scott Andrews a écrit :
>>
>> On 1/22/20 9:49 PM, Bruce Dubbs wrote:
>>> On 1/22/20 8:29 PM, Douglas R. Reno wrote:
>>>
>>>>>>
>>>>>
>>>>> This link does not exist any more
>>>>>
>>>>> 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl

>>>
>>>> I can confirm this, it seems that the oldest version that they have
>>>> available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).
>>>
>>> But what should be used is docbook-xsl-nons-1.79.2.
>>>
>>>   -- Bruce
>>
>>
>> This works to build the manual:
>>
>> make lfs
>>
>>
>> This gives the error
>>
>> make nochunks
>>
>>
>
> Well, did not realize when reading your OP, because it was "working 
for me",
> and I suspected some wrong configuration in your docbook xml/xsl 
installation.
> But actually, I have made (long ago) some modifications to my 
working copy of
> the editor manual, see the attached patch (to be applied with svn 
patch).

> Sorry for not realizing that before.
>
> Note that "make lfs" only works if you have a copy of the LFS xml in 
../BOOK.

>
> Pierre
> PS: should I commit this patch?

Please do.

Done at r11733


Working now

Thanks

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-23 Thread pierre . labastie
‌

De : "Bruce 
Dubbs"
A : "Pierre Labastie"
Envoyé: jeudi 23 janvier 2020 17:21
Objet : Re: [lfs-support] Building editor-manual

On 1/23/20 8:01 AM, Pierre Labastie wrote:
 Le 23/01/2020 à 13:25, Scott Andrews a écrit:

 On 1/22/20 9:49 PM, Bruce Dubbs wrote:
 On 1/22/20 8:29 PM, Douglas R. Reno wrote:



 This link does not exist any more

 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl

 I can confirm this, it seems that the oldest version that they 
have
 available on Sourceforge is 1.70.1 (2006-05-26 is the 
datestamp).

 But what should be used is docbook-xsl-nons-1.79.2.

  -- Bruce


 This works to build the manual:

 make lfs


 This gives the error

 make nochunks



 Well, did not realize when reading your OP, because it was "working for 
me",
 and I suspected some wrong configuration in your docbook xml/xsl 
installation.
 But actually, I have made (long ago) some modifications to my working copy 
of
 the editor manual, see the attached patch (to be applied with svn 
patch).
 Sorry for not realizing that before.

 Note that "make lfs" only works if you have a copy of the LFS xml in 
../BOOK.

 Pierre
 PS: should I commit this patch?

Please do.

Done at r11733

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-23 Thread Scott Andrews


On 1/23/20 9:01 AM, Pierre Labastie wrote:

Le 23/01/2020 à 13:25, Scott Andrews a écrit :

On 1/22/20 9:49 PM, Bruce Dubbs wrote:

On 1/22/20 8:29 PM, Douglas R. Reno wrote:


This link does not exist any more

http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl

I can confirm this, it seems that the oldest version that they have
available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).

But what should be used is docbook-xsl-nons-1.79.2.

   -- Bruce


This works to build the manual:

make lfs


This gives the error

make nochunks



Well, did not realize when reading your OP, because it was "working for me",
and I suspected some wrong configuration in your docbook xml/xsl installation.
But actually, I have made (long ago) some modifications to my working copy of
the editor manual, see the attached patch (to be applied with svn patch).
Sorry for not realizing that before.

Note that "make lfs" only works if you have a copy of the LFS xml in ../BOOK.

Pierre
PS: should I commit this patch?


I will give that a run for it's money and see where it goes.

Thanks


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-23 Thread Pierre Labastie
Le 23/01/2020 à 13:25, Scott Andrews a écrit :
> 
> On 1/22/20 9:49 PM, Bruce Dubbs wrote:
>> On 1/22/20 8:29 PM, Douglas R. Reno wrote:
>>
>

 This link does not exist any more

 http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl
>>
>>> I can confirm this, it seems that the oldest version that they have
>>> available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).
>>
>> But what should be used is docbook-xsl-nons-1.79.2.
>>
>>   -- Bruce
> 
> 
> This works to build the manual:
> 
> make lfs
> 
> 
> This gives the error
> 
> make nochunks
> 
> 

Well, did not realize when reading your OP, because it was "working for me",
and I suspected some wrong configuration in your docbook xml/xsl installation.
But actually, I have made (long ago) some modifications to my working copy of
the editor manual, see the attached patch (to be applied with svn patch).
Sorry for not realizing that before.

Note that "make lfs" only works if you have a copy of the LFS xml in ../BOOK.

Pierre
PS: should I commit this patch?
Index: Makefile
===
--- Makefile	(révision 11699)
+++ Makefile	(copie de travail)
@@ -2,7 +2,7 @@
 CHUNK_QUIET=1
 PDF_OUTPUT=LFS-EDITORS-GUIDE.pdf
 NOCHUNKS_OUTPUT=LFS-EDITORS-GUIDE.html
-XSLROOTDIR=/usr/share/xml/docbook/xsl-stylesheets-current
+XSLROOTDIR=/usr/share/xml/docbook/stylesheet/docbook-xsl
 
 lfs:
 	xsltproc --xinclude --nonet -stringparam chunk.quietly $(CHUNK_QUIET) \
Index: stylesheets/lfs-chunked.xsl
===
--- stylesheets/lfs-chunked.xsl	(révision 11699)
+++ stylesheets/lfs-chunked.xsl	(copie de travail)
@@ -5,8 +5,8 @@
 version="1.0">
 
   
-  http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/chunk-common.xsl"/>
-  http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/manifest.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk-common.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/manifest.xsl"/>
 
 
 
-  http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-chunk-code.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-chunk-code.xsl"/>
 
 
   
Index: stylesheets/lfs-chunked2.xsl
===
--- stylesheets/lfs-chunked2.xsl	(révision 11699)
+++ stylesheets/lfs-chunked2.xsl	(copie de travail)
@@ -5,7 +5,7 @@
 version="1.0">
 
 
-  http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/docbook.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
   
 
 
Index: stylesheets/lfs-nochunks.xsl
===
--- stylesheets/lfs-nochunks.xsl	(révision 11699)
+++ stylesheets/lfs-nochunks.xsl	(copie de travail)
@@ -5,7 +5,7 @@
 version="1.0">
 
 
-  http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/xhtml/profile-docbook.xsl"/>
 
   
   
Index: stylesheets/lfs-pdf.xsl
===
--- stylesheets/lfs-pdf.xsl	(révision 11699)
+++ stylesheets/lfs-pdf.xsl	(copie de travail)
@@ -4,7 +4,7 @@
 xmlns:fo="http://www.w3.org/1999/XSL/Format;
 version="1.0">
 
-  http://docbook.sourceforge.net/release/xsl/1.69.1/fo/docbook.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
   
   
 
Index: stylesheets/lfs-profile.xsl
===
--- stylesheets/lfs-profile.xsl	(révision 11699)
+++ stylesheets/lfs-profile.xsl	(copie de travail)
@@ -4,7 +4,7 @@
 version="1.0">
 
   
-  http://docbook.sourceforge.net/release/xsl/1.69.1/profiling/profile-mode.xsl"/>
+  http://docbook.sourceforge.net/release/xsl/current/profiling/profile-mode.xsl"/>
   
   
   -- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-23 Thread Scott Andrews


On 1/22/20 9:49 PM, Bruce Dubbs wrote:

On 1/22/20 8:29 PM, Douglas R. Reno wrote:





This link does not exist any more

http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 



I can confirm this, it seems that the oldest version that they have 
available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).


But what should be used is docbook-xsl-nons-1.79.2.

  -- Bruce



This works to build the manual:

make lfs


This gives the error

make nochunks


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Bruce Dubbs

On 1/22/20 8:29 PM, Douglas R. Reno wrote:





This link does not exist any more

http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 



I can confirm this, it seems that the oldest version that they have 
available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).


But what should be used is docbook-xsl-nons-1.79.2.

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Douglas R. Reno


On 1/22/20 7:40 PM, Scott Andrews wrote:


On 1/22/20 3:03 PM, Bruce Dubbs wrote:

On 1/22/20 12:15 PM, Douglas R. Reno wrote:


On 1/22/20 11:40 AM, Scott Andrews wrote:
I am trying to build the lfs editor manual after downloading the 
source with svn


executing make nochunks returns the following error

 $ make nochunks
xsltproc --xinclude --nonet -stringparam profile.condition html \
--output ~/lfs-editors-guide/LFS-EDITORS-GUIDE.html \
  stylesheets/lfs-nochunks.xsl index.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 

warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl; 

compilation error: file stylesheets/lfs-nochunks.xsl line 8 element 
import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 


make: *** [Makefile:43: nochunks] Error 5

I have built the LFS SVN successfully so I am of the opinion that 
is a problem related to the building process used in the Makefile


Any way to get this to work?


Hi Scott,

I'm not sure on this as I haven't tried to build the editor manual, 
but my guess is that it's using an older version of the stylesheets. 
Bruce is probably the person to answer this one, but I can answer 
the question below:



Also How would you build the LFS-9.0 from the BOOK source?


If you're looking to render the book, do this (from within the 
trunk/BOOK folder of an SVN checkout):


make REV=sysv BASEDIR=~/wherever_you_want_your_files_output_to

To do a systemd build, replace "sysv" with "systemd" in the above 
command.


Here's an example from mine:

make REV=systemd BASEDIR=~/public_html/lfs-trunk-sysd


Or for the book, just use the defaults with 'make'.  sysv is the 
default.  Look at the Makefile for the other defaults.


As to why the LFS-EDITORS-GUIDE is not building, it is probably 
because the dependencies are not installed or configured properly.  
Here is what you need:


libxml2
libxslt
DocBook XSL Stylesheets (docbook-xsl-nons-1.79.2 in BLFS)
DocBook XML DTD-4.5 (docbook-4.5 in BLFS)
tidy

Pay close attention to the configuration of the docbook packages and 
their dependencies.


Also I note that there are some issues with the editor's guide 
because we haven't updated it lately.  Checking...


There has only been one minor change in the last 14 years, but the 
contents are still valid AFAICS.


I had to comment out hide-endtags and drop-font-tags in tidy.conf due 
to using a newer version of tidy and I also had to:


sudo mkdir -p /usr/share/xml/docbook/xsl-stylesheets-current/images/
sudo touch 
/usr/share/xml/docbook/xsl-stylesheets-current/images/dummy.png


  -- Bruce



This link does not exist any more

http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 



I can confirm this, it seems that the oldest version that they have 
available on Sourceforge is 1.70.1 (2006-05-26 is the datestamp).


On an unrelated note, it seems that development has moved to Github: 
https://github.com/docbook/xslt10-stylesheets


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Scott Andrews


On 1/22/20 3:03 PM, Bruce Dubbs wrote:

On 1/22/20 12:15 PM, Douglas R. Reno wrote:


On 1/22/20 11:40 AM, Scott Andrews wrote:
I am trying to build the lfs editor manual after downloading the 
source with svn


executing make nochunks returns the following error

 $ make nochunks
xsltproc --xinclude --nonet -stringparam profile.condition html \
--output ~/lfs-editors-guide/LFS-EDITORS-GUIDE.html \
  stylesheets/lfs-nochunks.xsl index.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 

warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl; 

compilation error: file stylesheets/lfs-nochunks.xsl line 8 element 
import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 


make: *** [Makefile:43: nochunks] Error 5

I have built the LFS SVN successfully so I am of the opinion that is 
a problem related to the building process used in the Makefile


Any way to get this to work?


Hi Scott,

I'm not sure on this as I haven't tried to build the editor manual, 
but my guess is that it's using an older version of the stylesheets. 
Bruce is probably the person to answer this one, but I can answer the 
question below:



Also How would you build the LFS-9.0 from the BOOK source?


If you're looking to render the book, do this (from within the 
trunk/BOOK folder of an SVN checkout):


make REV=sysv BASEDIR=~/wherever_you_want_your_files_output_to

To do a systemd build, replace "sysv" with "systemd" in the above 
command.


Here's an example from mine:

make REV=systemd BASEDIR=~/public_html/lfs-trunk-sysd


Or for the book, just use the defaults with 'make'.  sysv is the 
default.  Look at the Makefile for the other defaults.


As to why the LFS-EDITORS-GUIDE is not building, it is probably 
because the dependencies are not installed or configured properly.  
Here is what you need:


libxml2
libxslt
DocBook XSL Stylesheets (docbook-xsl-nons-1.79.2 in BLFS)
DocBook XML DTD-4.5 (docbook-4.5 in BLFS)
tidy

Pay close attention to the configuration of the docbook packages and 
their dependencies.


Also I note that there are some issues with the editor's guide because 
we haven't updated it lately.  Checking...


There has only been one minor change in the last 14 years, but the 
contents are still valid AFAICS.


I had to comment out hide-endtags and drop-font-tags in tidy.conf due 
to using a newer version of tidy and I also had to:


sudo mkdir -p /usr/share/xml/docbook/xsl-stylesheets-current/images/
sudo touch 
/usr/share/xml/docbook/xsl-stylesheets-current/images/dummy.png


  -- Bruce



This link does not exist any more

http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Scott Andrews


On 1/22/20 3:03 PM, Bruce Dubbs wrote:

On 1/22/20 12:15 PM, Douglas R. Reno wrote:


On 1/22/20 11:40 AM, Scott Andrews wrote:
I am trying to build the lfs editor manual after downloading the 
source with svn


executing make nochunks returns the following error

 $ make nochunks
xsltproc --xinclude --nonet -stringparam profile.condition html \
--output ~/lfs-editors-guide/LFS-EDITORS-GUIDE.html \
  stylesheets/lfs-nochunks.xsl index.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 

warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl; 

compilation error: file stylesheets/lfs-nochunks.xsl line 8 element 
import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 


make: *** [Makefile:43: nochunks] Error 5

I have built the LFS SVN successfully so I am of the opinion that is 
a problem related to the building process used in the Makefile


Any way to get this to work?


Hi Scott,

I'm not sure on this as I haven't tried to build the editor manual, 
but my guess is that it's using an older version of the stylesheets. 
Bruce is probably the person to answer this one, but I can answer the 
question below:



Also How would you build the LFS-9.0 from the BOOK source?


If you're looking to render the book, do this (from within the 
trunk/BOOK folder of an SVN checkout):


make REV=sysv BASEDIR=~/wherever_you_want_your_files_output_to

To do a systemd build, replace "sysv" with "systemd" in the above 
command.


Here's an example from mine:

make REV=systemd BASEDIR=~/public_html/lfs-trunk-sysd


Or for the book, just use the defaults with 'make'.  sysv is the 
default.  Look at the Makefile for the other defaults.


As to why the LFS-EDITORS-GUIDE is not building, it is probably 
because the dependencies are not installed or configured properly.  
Here is what you need:


libxml2
libxslt


I have those installed


DocBook XSL Stylesheets (docbook-xsl-nons-1.79.2 in BLFS)
DocBook XML DTD-4.5 (docbook-4.5 in BLFS)


I will need to check the XSL and XML



tidy


I have that


Pay close attention to the configuration of the docbook packages and 
their dependencies.


Also I note that there are some issues with the editor's guide because 
we haven't updated it lately.  Checking...


There has only been one minor change in the last 14 years, but the 
contents are still valid AFAICS.


I had to comment out hide-endtags and drop-font-tags in tidy.conf due 
to using a newer version of tidy and I also had to:


sudo mkdir -p /usr/share/xml/docbook/xsl-stylesheets-current/images/
sudo touch 
/usr/share/xml/docbook/xsl-stylesheets-current/images/dummy.png


  -- Bruce



Will try that

Thanks

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Bruce Dubbs

On 1/22/20 12:15 PM, Douglas R. Reno wrote:


On 1/22/20 11:40 AM, Scott Andrews wrote:
I am trying to build the lfs editor manual after downloading the 
source with svn


executing make nochunks returns the following error

 $ make nochunks
xsltproc --xinclude --nonet -stringparam profile.condition html \
--output ~/lfs-editors-guide/LFS-EDITORS-GUIDE.html \
  stylesheets/lfs-nochunks.xsl index.xml
I/O error : Attempt to load network entity 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 

warning: failed to load external entity 
"http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl; 

compilation error: file stylesheets/lfs-nochunks.xsl line 8 element 
import
xsl:import : unable to load 
http://docbook.sourceforge.net/release/xsl/1.69.1/xhtml/profile-docbook.xsl 


make: *** [Makefile:43: nochunks] Error 5

I have built the LFS SVN successfully so I am of the opinion that is a 
problem related to the building process used in the Makefile


Any way to get this to work?


Hi Scott,

I'm not sure on this as I haven't tried to build the editor manual, but 
my guess is that it's using an older version of the stylesheets. Bruce 
is probably the person to answer this one, but I can answer the question 
below:



Also How would you build the LFS-9.0 from the BOOK source?


If you're looking to render the book, do this (from within the 
trunk/BOOK folder of an SVN checkout):


make REV=sysv BASEDIR=~/wherever_you_want_your_files_output_to

To do a systemd build, replace "sysv" with "systemd" in the above command.

Here's an example from mine:

make REV=systemd BASEDIR=~/public_html/lfs-trunk-sysd


Or for the book, just use the defaults with 'make'.  sysv is the 
default.  Look at the Makefile for the other defaults.


As to why the LFS-EDITORS-GUIDE is not building, it is probably because 
the dependencies are not installed or configured properly.  Here is what 
you need:


libxml2
libxslt
DocBook XSL Stylesheets (docbook-xsl-nons-1.79.2 in BLFS)
DocBook XML DTD-4.5 (docbook-4.5 in BLFS)
tidy

Pay close attention to the configuration of the docbook packages and 
their dependencies.


Also I note that there are some issues with the editor's guide because 
we haven't updated it lately.  Checking...


There has only been one minor change in the last 14 years, but the 
contents are still valid AFAICS.


I had to comment out hide-endtags and drop-font-tags in tidy.conf due to 
using a newer version of tidy and I also had to:


sudo mkdir -p /usr/share/xml/docbook/xsl-stylesheets-current/images/
sudo touch /usr/share/xml/docbook/xsl-stylesheets-current/images/dummy.png

  -- Bruce


--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Building editor-manual

2020-01-22 Thread Scott Andrews


On 1/22/20 1:15 PM, Douglas R. Reno wrote:

Also How would you build the LFS-9.0 from the BOOK source?

If you're looking to render the book, do this (from within the 
trunk/BOOK folder of an SVN checkout):


make REV=sysv BASEDIR=~/wherever_you_want_your_files_output_to



make REV=sysv BASEDIR=~/lfs-book nochunks

This is what it renders

Version SVN-20200119
Published January 19th, 2020
Created by Gerard Beekmans

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style