Opened 18 years ago

Closed 17 years ago

#2175 closed defect (fixed)

gsview-4.7 cannot open .ps files with ESP Ghostscript-8.15.2

Reported by: rkm Owned by: Randy McMurchy
Priority: normal Milestone: 6.2.0
Component: BOOK Version: SVN
Severity: normal Keywords: gsview ghostscript
Cc:

Description

I have a lfs 6.2 system that I built on my computer according to the lfs 6.2 book. The blfs development book says that either AFPL Ghostscript-8.53 or ESP Ghostscript-8.15.2 are required for Gsview-4.7. I originally installed ESP Ghostscript-8.15.2 because I understood from the book that it has support for CUPS, whereas AFPL Ghostscript-8.53 does not. However after installing gsview-4.7 I got the following error when trying to open a postscript file:


GSview 4.7 2005-03-25 play_sound: not implemented debug=0

DSC Information At line 1527:

(\146\000\151\000\154\000\145\000\072\000\057\000\057\000\057\000\150\000\157\000\155\000\145\000\057\000\162\000\153\000\155\000\057\000\142\000\154\000\146\000\163\000\055\000\142\000\157\000\157\000\153\000\055\000\143\000\166\000\163\000\055\000\150\0

Lines in DSC documents must be shorter than 255 characters.

Wrong version of DLL found.

Found version 81502 Need version 704 - 919


I also noticed in the Gsview readme file that AFPL Ghostscript was specifically mentioned as a requirement. So I uninstalled ESP Ghostscript and installed AFPL Ghostscript instead, and I was able to open the same postscript file without any problems. I'm wondering if ESP Ghostscript should be removed from the list of prerequisites for gsview-4.7 in the book.

Change History (3)

comment:1 by Randy McMurchy, 17 years ago

Owner: changed from blfs-book@… to Randy McMurchy

Indeed, the new versioning system of ESP Ghostscript breaks GSView. Even the newest 4.8 version.

However, I've found that simply substituting 81502 for 999 in the src/gvcver.h file allows GSView to work with newest ESP Ghostscript.

I'd like the community to decide on this approach, or simply change the dependency to AFPL only (by the way, AFPL Ghostscript is soon to be gone as the lead dev wants to go GPL).

I've tested the change, and all seems to work just fine.

comment:2 by Randy McMurchy, 17 years ago

Status: newassigned

comment:3 by Randy McMurchy, 17 years ago

Resolution: fixed
Status: assignedclosed

Updated to GSview-4.8 and included a sed command in the instructions to accomodate recent versions of ESP Ghostscript.

Note: See TracTickets for help on using tickets.