Randy McMurchy wrote:
> Hi all,
> 
> I'm looking for some suggestions on how to fix the FontConfig
> instructions. Currently, they are broken if you have DocBook-utils
> installed, but don't have the SGMLSpm Perl module or JadeTeX
> installed.
> 
> Here is what happens if for example you have DocBook-utils installed,
> but not JadeTex:
> 
> Even if you pass the --disable-docs parameter to configure, when
> you try to execute the 'make -C doc install' command shown in the
> instructions, it fails with an error message that says it cannot
> find pdfjadetex.
> 
> So, what needs to happen is that if you have DocBook-utils installed,
> but not JadeTex, you should not run the 'make -C doc install' command.
> 
> How do we state this in the book? Folks may not know if DocBook-utils
> is installed.

DocBook-utils can be detected by checking for /usr/bin/pdfjadetex

> 
> My suggestion is to remove the 'make -C doc install' command from
> the instructions and hand-install the docs, however, any input from
> others would be appreciated.

> 
> I just updated the FontConfig text to clarify the DocBook-utils
> dependencies, not realizing that the 'make -C doc install' command
> would fail later on.

The existing note seems clear to me.  However, we might want to reorder
the commands:

<usrinput>make install &&
install -v -m 644 doc/*.3 /usr/share/man/man3/</usrinput>

If you have both DocBook-utils and SGMLSpm installed,

<usrinput>make -C doc install</usrinput>

  -- Bruce


-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to