Opened 20 years ago

Closed 20 years ago

#739 closed defect (invalid)

enscript-1.6.1 Installation instructions -> sets DefaultMedia incorrectly

Reported by: ibm@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: CVS
Severity: trivial Keywords:
Cc:

Description

As written the configure step of the install instructions look like:

<snippage> ./configure --prefix=/usr --sysconfdir=/etc/enscript \

--localstatedir=/var --with-media=letter &&

<snippage>

The "--with-media=letter" phrase sets "DefaultMedia=letter" in /usr/local/etc/enscript.cfg.

Trouble is that a while later:

<more snippage> # Media definitions: # name width height llx lly urx ury Media: A3 842 1190 24 24 818 1166 Media: A4 595 842 24 24 571 818 Media: A5 420 595 24 24 396 571 Media: Legal 612 1008 24 24 588 984 Media: Letter 612 792 24 24 588 768 </more snippage>

So default media is specified as "letter" but no "letter" exists in the Media definitions and attempts to run enscript return a message saying cannot find that media or words to that effect.

The correct value is of course "Letter".

The fix is to change the install instructions to read

<snippage plus> ./configure --prefix=/usr --sysconfdir=/etc/enscript \

--localstatedir=/var --with-media=Letter &&

</snippage plus>

Change History (1)

comment:1 by greg@…, 20 years ago

Resolution: invalid
Status: newclosed

The BLFS project has it's own Bugzilla so this report should have been posted there. I've forwarded the details on to the BLFS developers at blfs-book@… for their perusal. Further postings should go there (or in BLFS bugzilla).

Note: See TracTickets for help on using tickets.