On Thu, Aug 13, 2020 at 03:47:45PM +0100, Ken Moffat via blfs-book wrote:
> On Thu, Aug 13, 2020 at 01:14:57PM -0000, xry111--- via blfs-book wrote:
> > Author: xry111
> > Date: Thu Aug 13 06:14:57 2020
> > New Revision: 23508
> > 
> > Log:
> > texlive: fix the instruction to use system poppler-20.08
> > 
> [...]
> > +let MYPOPPLER_MAJOR=$(pkg-config --modversion poppler | cut -d '.' -f1)
> > +let MYPOPPLER_MINOR=$(pkg-config --modversion poppler | cut -d '.' -f2)
> > +if [ "$MYPOPPLER_MAJOR" -eq 0 ] && [ "$MYPOPPLER_MINOR" -lt 85 ]; 
> > then
> > +    # BLFS-9.1 uses 0.85.0, ignore earlier versions in this script.
> > +    SYSPOP=
> 
> ken@deluxe ~ $let MYPOPPLER_MAJOR=$(pkg-config --modversion poppler | cut -d 
> '.' -f1)
> ken@deluxe ~ $let MYPOPPLER_MINOR=$(pkg-config --modversion poppler | cut -d 
> '.' -f2)
> bash: let: MYPOPPLER_MINOR=08: value too great for base (error token is "08")
> 
> I tried a slightly different workaround in my own script after
> hitting that with what was in the book, and got it to move the
> files.  But it did not build.

And that was why I dropped the system verion.  Looks as if I did
soemthing wrong in that script, probably copied the wrong pdftoepdf
variant.  I've just completed a manual build using a variant of what
is in the book where let does not report errors, or silently return
non-zero status (when set to zero).

I'll add those tweaks.

-- 
Juliet's version of cleanliness was next to godliness, which was to
say it was erratic, past all understanding and was seldom seen.
                          -- Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to