Created at 12:50 Oct 09, 2003 by mike, last modified at 13:01 Oct 09, 2003
ESP Ghostscript 7.07.1 is now available for download from the CUPS web site at:
http://www.cups.org/ghostscript.php
The 7.07.1 release updates the core Ghostscript to 7.07 and fixes several bugs, including problems found in the base GNU Ghostscript distribution and CUPS drivers, and adds preliminary PCL 6 drivers for CUPS.
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
to compile esp ghostscrips at freebsd u need 1. edit stdpre.h, comment this 2 strings typedef unsigned short ushort; typedef unsigned int uint; they at 257,258 pos. 2. in all .c files u need to add string #include <sys/types.h> simply insert this str at first pos 3. in some .h files also. u get errors at compile-time for those files, change those as .c files (add #include <sys/types.h>) after all this esp ghostscript will compile w/o errors Reply
I have finally succeeded in getting cups working on freebsd with my epson stylus 640 printer. 1) Use the cups-pstoraster port. 2) If you have gnu ghostscript installed already, it seems that you have to replace it completely with espgs, you need to symlink /usr/bin/gs to /usr/local/bin/espgs for it to pick it up. 3) I also had to symlink /usr/lib/cups -> /usr/local/libexec/cups
It seems that cups is hardcoded to linux layout, LSB. It should be a bit more intelligent. 2 and 3 are retarded, this should be fixed asap. Reply
I just tried to compile on a Mac OS X, 10.3 system.
I got a goodly way through the complilem but then I get what is below. Any one have any hints for someone who is a bit rusty on compiling source (and new to it on Mac OS X)?
I see: % make gcc -DHAVE_MKSTEMP -g -O2 -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wcast-qual -Wwrite-strings -fno-builtin -fno-common -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_ST_BLOCKS=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LIBM=1 -DHAVE_MKSTEMP=1 -DHAVE_UNISTD_H=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_FLOOR=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MEMCHR=1 -DHAVE_MEMMOVE=1 -DHAVE_MEMSET=1 -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1 -DHAVE_MODF=1 -DHAVE_POW=1 -DHAVE_PUTENV=1 -DHAVE_RINT=1 -DHAVE_SETENV=1 -DHAVE_SQRT=1 -DHAVE_STRCHR=1 -DHAVE_STRERROR=1 -DHAVE_STRRCHR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 -I./obj -I./src -o ./obj/gdevcups.o -c pstoraster/gdevcups.c pstoraster/gdevcups.c:64:26: cups/raster.h: No such file or directory pstoraster/gdevcups.c:66:22: cups/ppd.h: No such file or directory pstoraster/gdevcups.c:146: error: parse error before "cups_raster_t" pstoraster/gdevcups.c:146: warning: no semicolon at end of struct or union pstoraster/gdevcups.c:147: warning: type defaults to `int' in declaration of `ppd' <many lines of similar unpleasantness> ... Reply
Anyone compiled this on FreeBSD? I keep getting the following errors when trying to compile...
In file included from src/std.h:23,
from src/math_.h:24,
from ./src/gdevescv.c:43:
src/stdpre.h:257: redefinition of `ushort'
/usr/include/sys/types.h:56: `ushort' previously declared here
src/stdpre.h:258: redefinition of `uint'
/usr/include/sys/types.h:57: `uint' previously declared here
./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 target type
./src/gdevescv.c:496: warning: assignment discards qualifiers from pointer target type
./src/gdevescv.c: At top level:
./src/gdevescv.c:582: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:583: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:584: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:585: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:586: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:587: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:588: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:589: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:590: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:591: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:592: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:593: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:594: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:595: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:596: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:597: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:598: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:599: warning: initialization discards qualifiers from pointer target type
./src/gdevescv.c:600: warning: initialization discards qualifiers from pointer target 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 target 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 incompatible 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 target type
./src/gdevescv.c: In function `escv_write_data':
./src/gdevescv.c:2109: warning: `tmps' might be used uninitialized in this function
**
Stop in /usr/local/src/espgs-7.07.1. Reply