On Wed, Aug 10, 2016 at 09:04:32PM +0100, Ken Moffat wrote:
> On Wed, Aug 10, 2016 at 08:21:20PM +0100, akhiezer wrote:
> > > Date: Wed, 10 Aug 2016 18:39:05 +0100
> > > From: Ken Moffat <[email protected]>
> > > Subject: [blfs-dev] PAM now fails to build docs with links
> > >
> > > Today, with 1.3.0 and 2.13 it tries to build the docs, and fails:
> > >
> > > /usr/bin/xsltproc --stringparam generate.toc "book toc" \
> > >   --stringparam section.autolabel 1 \
> > >   --stringparam section.label.includes.component.label 1 \
> > >   --stringparam toc.max.depth 2 --xinclude --nonet \
> > >   http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl 
> > > Linux-PAM_SAG.xml | /usr/bin/links -no-numbering -no-references -dump > 
> > > Linux-PAM_SAG.txt
> > > Unknown option -no-numbering
> > 
> > 
> > Hmmm, those '/usr/bin/links ...' args don't look like the 'real'
> > 'links' prog: looks a bit more like the ~similar 'elinks' - ref e.g.:
> > 
> >   http://elinks.or.cz/documentation/manpages/elinks.1.html
> > 
> > Maybe the relevant pam-devs have got elinks dropped-in for 'links'?
> > 
> Possible.  At the moment I'm still building Xorg - I'll take a look
> after I've built firefox.  Thanks for the hint, I'll also take a
> look at the configure script again.
> > 

Yes, those are elinks options.  The latest stable release of elinks
(0.11.7) installs by default as 'elinks' (DESTDIR install, it's
lightweight enough to run from there) and (of course) does not get
invoked because PAM is calling for links.  If elinks is symlinked as
links it DOES create the ADG and SAG HTML docs.

For almost any other word, I would use a sed - but links is used in
many places in configure and I do not like sed commands with
hardcoded line numbers.

So, either a patch, or use the switch by default.  I think I'll go
for using the switch by default, with a note that this fixes
building with the book's links, and add to t he deps 'or elinks,
installed as links, and remove the configure switch'.

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to