Can any one tell me why print/ghostscript8 installation fails?
Here's the error message:
I understand that a header file is missing but I have no clue as to where to find it.
Is cups/raster.h causing all these errors? I have my ports up to date.
Here's the error message:
Code:
cups/gdevcups.c:74:25: error: cups/raster.h: No such file or directory
cups/gdevcups.c:204: error: expected specifier-qualifier-list before 'cups_raster_t'
cups/gdevcups.c:314: warning: excess elements in struct initializer
cups/gdevcups.c:314: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c:315: error: extra brace group at end of initializer
cups/gdevcups.c:315: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:321: error: 'CUPS_ADVANCE_NONE' undeclared here (not in a function)
cups/gdevcups.c:322: error: 'CUPS_FALSE' undeclared here (not in a function)
cups/gdevcups.c:323: error: 'CUPS_CUT_NONE' undeclared here (not in a function)
cups/gdevcups.c:325: error: extra brace group at end of initializer
cups/gdevcups.c:325: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:326: error: extra brace group at end of initializer
cups/gdevcups.c:326: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:328: error: 'CUPS_JOG_NONE' undeclared here (not in a function)
cups/gdevcups.c:329: error: 'CUPS_EDGE_TOP' undeclared here (not in a function)
cups/gdevcups.c:330: error: extra brace group at end of initializer
cups/gdevcups.c:330: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:337: error: 'CUPS_ORIENT_0' undeclared here (not in a function)
cups/gdevcups.c:339: error: extra brace group at end of initializer
cups/gdevcups.c:339: error: (near initialization for 'gs_cups_device')
cups/gdevcups.c:349: error: 'CUPS_ORDER_CHUNKED' undeclared here (not in a function)
cups/gdevcups.c:350: error: 'CUPS_CSPACE_K' undeclared here (not in a function)
cups/gdevcups.c:370: warning: excess elements in struct initializer
cups/gdevcups.c:370: warning: (near initialization for 'gs_cups_device')
cups/gdevcups.c: In function 'cups_close':
cups/gdevcups.c:442: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:444: warning: implicit declaration of function 'cupsRasterClose'
cups/gdevcups.c:444: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:445: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c: In function 'cups_decode_color':
cups/gdevcups.c:481: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:481: error: 'CUPS_CSPACE_KCMYcm' undeclared (first use in this function)
cups/gdevcups.c:481: error: (Each undeclared identifier is reported only once
cups/gdevcups.c:481: error: for each function it appears in.)
cups/gdevcups.c:482: error: 'gx_device_cups' has no member named 'header'
.........
cups/gdevcups.c: In function 'cups_get_params':
cups/gdevcups.c:724: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:724: warning: left-hand operand of comma expression has no effect
cups/gdevcups.c:724: warning: value computed is not used
cups/gdevcups.c:724: warning: value computed is not used
cups/gdevcups.c:728: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:728: warning: left-hand operand of comma expression has no effect
cups/gdevcups.c:728: warning: value computed is not used
cups/gdevcups.c:728: warning: value computed is not used
cups/gdevcups.c:732: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:732: warning: left-hand operand of comma expression has no effect
cups/gdevcups.c:732: warning: value computed is not used
cups/gdevcups.c:732: warning: value computed is not used
cups/gdevcups.c:736: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:736: warning: left-hand operand of comma expression has no effect
cups/gdevcups.c:736: warning: value computed is not used
cups/gdevcups.c:736: warning: value computed is not used
cups/gdevcups.c:741: error: 'gx_device_cups' has no member named 'header'
.......
cups/gdevcups.c:4482: error: 'CUPS_CSPACE_GMCK' undeclared (first use in this function)
cups/gdevcups.c:4483: error: 'CUPS_CSPACE_GMCS' undeclared (first use in this function)
cups/gdevcups.c:4484: error: 'CUPS_CSPACE_RGBA' undeclared (first use in this function)
cups/gdevcups.c:4486: error: 'CUPS_CSPACE_CMYK' undeclared (first use in this function)
cups/gdevcups.c:4487: error: 'CUPS_CSPACE_YMCK' undeclared (first use in this function)
cups/gdevcups.c:4488: error: 'CUPS_CSPACE_KCMY' undeclared (first use in this function)
cups/gdevcups.c:4514: error: 'CUPS_CSPACE_KCMYcm' undeclared (first use in this function)
cups/gdevcups.c:4536: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4538: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4652: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4654: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4743: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4750: error: 'gx_device_cups' has no member named 'header'
cups/gdevcups.c:4764: error: 'gx_device_cups' has no member named 'stream'
cups/gdevcups.c:4764: error: 'gx_device_cups' has no member named 'header'
gmake[1]: *** [obj/../soobj/gdevcups.o] Error 1
gmake[1]: Leaving directory `/usr/ports/print/ghostscript8/work/ghostscript-8.64'
gmake: *** [so] Error 2
*** Error code 1
Stop in /usr/ports/print/ghostscript8.
*** Error code 1
Stop in /usr/ports/print/ghostscript8.
I understand that a header file is missing but I have no clue as to where to find it.
Is cups/raster.h causing all these errors? I have my ports up to date.