Created at 09:00 Feb 10, 2003 by mike, last modified at 13:47 Feb 10, 2003
ESP Ghostscript 7.05.6 is now available for download from the CUPS web site at:
http://www.cups.org/
The 7.05.6 release fixes several bugs, including problems found in the base GNU Ghostscript distribution and CUPS drivers, and updates the Brother and Canon lips drivers. The ESP Ghostscript RPMs now also re-register any installed CID fonts at install time.
ESP Ghostscript is a customized version of GNU Ghostscript that includes an enhanced autoconf-based configuration script, the CUPS raster driver to support CUPS raster printer drivers, and additional patches and drivers from various Linux distributors.
ESP Ghostscript is provided under the GNU General Public License. Download · Home Page · Listing
Running Gentoo ebuild script to compile ghostscript-7.05.6 and getting a compiler error as follows: src/gdevstp.c: In function `stp_open': src/gdevstp.c:590: invalid type argument of `->' src/gdevstp.c:593: invalid type argument of `->' src/gdevstp.c:603: warning: implicit declaration of function `stp_set_orientation' src/gdevstp.c:603: `ORIENT_PORTRAIT' undeclared (first use in this function) src/gdevstp.c:603: (Each undeclared identifier is reported only once src/gdevstp.c:603: for each function it appears in.) src/gdevstp.c: In function `Image_get_row': src/gdevstp.c:648: `STP_IMAGE_OK' undeclared (first use in this function) make: *** [obj/gdevstp.o] Error 1
!!! ERROR: app-text/ghostscript-7.05.6 failed. !!! Function src_compile, Line 60, Exitcode 2 !!! make failed Reply
I get this message on Gentoo as well. Reply
I have also this error on gentoo. too bad. Reply
There is a conflict beetween gimp-print and gimp-print-cups. If you wanted to install your printer, you certainly tried to install cups, then install gimp-print-cups, but as there is a conflict, you had to first remove gimp-print. Then, you need to recompile ghostscript to include cups support. Ghostscript needs gimp-print, but as you've already installed gimp-print-cups, it skips the install of gimp-print, and then the recompile of ghostscript failed. So you just have to first unmerge gimp-print-cups, then emerge ghostscript (make sure cups is in your USE), and then you can emerge gimp-print-cups if you need it Reply
Same problem under Slackware 8.1. Can I find earlier versions somewhere to try?
./src/gdevstp.c:603: (Each undeclared identifier is reported only once ./src/gdevstp.c:603: for each function it appears in.) ./src/gdevstp.c: In function `Image_get_row': ./src/gdevstp.c:648: `STP_IMAGE_OK' undeclared (first use in this function) ./src/gdevstp.c:649: warning: control reaches end of non-void function make: *** [obj/gdevstp.o] Error 1 Reply
uh-huh. me too. tried updating with the latest gimp-print driver, no luck. i'm guessing that i actually need to _downgrade_, but it's hard to say. i'll post if i find anything. Reply
okay. did a little searching on function names. turns out 4.3 and 4.2 are not compatible, and that gs is trying to use 4.2. rm'd a lot of gimp-print 4.3 headers and stuff and installed the 4.2 versions. compiles okay.
this shouldn't really be a problem with an out-of-box slackware 8.1 -- it ships with gimp-print 4.2.1 . this really should teach me to suppress my upgrade reflex. . . Reply
When I built espgs 7.05.6 with just the regular ./configure && make && make install, and it built, the datadir variable in the Makefile had a NONE at the beginning, which caused espgs to not be able to find the gs_init.ps file. So, I used the --enable-compiled-inits option with my ./configure:
./configure --enable-compiled-inits && make && make install
and now it works.
My search path still looks like this:
NONE/share/ghostscript/7.05/lib : NONE/share/ghostscript/fonts :
NONE/share/fonts/default/ghostscript : NONE/share/fonts/default/Type1 :
NONE/share/fonts/default/TrueType : /usr/lib/DPS/outline/base :
/usr/openwin/lib/X11/fonts/Type1 : /usr/openwin/lib/X11/fonts/TrueType
I don't think those NONE's should be there. Reply
I'm struggling with the same problem and have tried all the mentioned solutions (i.e. --enable-compiled-inits, --datadir, --prefix). What seems most strange is that I can envoke ghostscript from the command line with no error, even when I use the options specified by cups. I'm off to uninstall cups and ghostscript to start fresh. Any thoughts?? Reply
Same problem here as well. This is a huge time-saver, thanks. Reply
I had exactly the same problem. Setting GS_LIB didn't help one bit. ESP GS 7.05.6 failed to find gs_init.ps consistently, and, consequently, broke my printing. Like you, I could only get it to work by configuring with --enable-compiled-inits. This does seem problematic. Reply
Had the same problem here, solution was to use ./configure --datadir=/usr/local/share
I don't understand why it didn't already have that in as specified in ./configure --help, but after manually editing the Makefile to fix the problem I tried the above and that worked.
Sam T. Reply
This may sound redundant or useless, but mine did that until I manually specified the installation prefix (--prefix=). Reply
www.teen-virgin.net Reply
www.teen-virgin.net/lolita/lolita.html Reply
After configuring, compiling and installing ghostscript 7.05.6 on Mandrake 8.2 PPC, I still get the message: "Hint: Do you have ESP ghostscript installed" I could not find any configure switches that might fix this and the docs said that the configure script would look for CUPS, ( I have 1.1.18)but apparently something iw still wrong. Are there any switches for configure that I need to add to make it work properly? Reply
Any news on when a PPC version for Mac OS X will be available? Please redirect me to a more appropriate place to find that info for this and future releases. Thanks. Reply
www.linuxprinting.org has ghostscript for OSX. There is MacOSX link on the home page Reply
while compiling source code I get message:
./src/gdevescv.c: In function `escv_write_data': ./src/gdevescv.c:2109: warning: `tmps' might be used uninitialized in this function gmake: *** [obj/gdevescv.o] Error 1
tried both:
espgs-7.05.6-source.tar.bz2 & espgs-7.05.6-source.tar.gz
IMHO there's a damage in gdevescv.c file. Reply
Do you get any actual error messages from compiler? The warning alone shouldn't cause a compile failure (Ghostscript has lots of warnings like that, primarily because the compiler is not smart enough to understand program flow...) Reply
I get the same error using espgs-7.07.1-source.tar.bz2 with make or gmake on FreeBSD 4.9-RELEASE -----From the first comment I could easily find regarding the file----- ./src/gdevescv.c:358: warning: initialization from incompatible pointer type ./src/gdevescv.c: In function `lputs': ./src/gdevescv.c:375: warning: implicit declaration of function `strlen' ./src/gdevescv.c: In function `escv_vector_dopath': ./src/gdevescv.c:477: warning: assignment discards qualifiers from pointer targe t type ./src/gdevescv.c:496: warning: assignment discards qualifiers from pointer targe t type ./src/gdevescv.c: At top level: ./src/gdevescv.c:582: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:583: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:584: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:585: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:586: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:587: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:588: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:589: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:590: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:591: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:592: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:593: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:594: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:595: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:596: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:597: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:598: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:599: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c:600: warning: initialization discards qualifiers from pointer t arget type ./src/gdevescv.c: In function `escv_beginpage': ./src/gdevescv.c:621: warning: implicit declaration of function `strcmp' ./src/gdevescv.c:777: warning: assignment discards qualifiers from pointer targe t type ./src/gdevescv.c: In function `escv_setdash': ./src/gdevescv.c:1025: warning: int format, double arg (arg 3) ./src/gdevescv.c:1025: warning: int format, double arg (arg 4) ./src/gdevescv.c:1040: warning: int format, double arg (arg 3) ./src/gdevescv.c: In function `escv_get_params': ./src/gdevescv.c:1303: warning: passing arg 3 of `param_write_int' from incompat ible pointer type ./src/gdevescv.c: In function `escv_copy_mono': ./src/gdevescv.c:1552: warning: implicit declaration of function `memcpy' ./src/gdevescv.c: In function `escv_fill_mask': ./src/gdevescv.c:1671: warning: int format, long int arg (arg 3) ./src/gdevescv.c: In function `escv_image_plane_data': ./src/gdevescv.c:1929: warning: assignment discards qualifiers from pointer targ et type ./src/gdevescv.c: In function `escv_write_data': ./src/gdevescv.c:2109: warning: `tmps' might be used uninitialized in this funct ion gmake: *** [obj/gdevescv.o] Error 1 Reply