[bugzilla at linuxfromscratch.org: [Bug 739] New: enscript-1.6.1 Installation instructions -> sets DefaultMedia incorrectly]

Greg Schafer gschafer at zip.com.au
Tue Jan 6 17:09:55 PST 2004


Wrongly posted to LFS bugzilla! Forwarded for your perusal.

----- Forwarded message from bugzilla at linuxfromscratch.org -----

From: bugzilla at linuxfromscratch.org
To: lfs-book at linuxfromscratch.org
Date: Tue,  6 Jan 2004 15:44:33 -0700 (MST)
Subject: [Bug 739] New: enscript-1.6.1 Installation instructions -> sets
	DefaultMedia incorrectly

http://bugs.linuxfromscratch.org/show_bug.cgi?id=739

           Summary: enscript-1.6.1 Installation instructions -> sets
                    DefaultMedia incorrectly
           Product: Linux From Scratch
           Version: CVS
          Platform: PC
               URL: http://www.linuxfromscratch.org/blfs/view/cvs/pst/enscri
                    pt.html
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P5
         Component: Book
        AssignedTo: lfs-book at linuxfromscratch.org
        ReportedBy: ibm at svpal.org
         QAContact: lfs-book at linuxfromscratch.org


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>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


----- End forwarded message -----



More information about the blfs-book mailing list