ports/73694: Problem compiling Ghostscript

James Pole james at pole.net.nz
Tue Nov 9 01:00:51 UTC 2004


>Number:         73694
>Category:       ports
>Synopsis:       Problem compiling Ghostscript
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 09 01:00:50 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     James Pole
>Release:        FreeBSD 4.8-RELEASE
>Organization:
>Environment:
FreeBSD server-1 4.8-RELEASE-p25 FreeBSD 4.8-RELEASE-p25 #1: Sun Oct 31 17:24:50 NZDT 2004     jamespole at server-1:/usr/src/sys/compile/VIA-ITX  i386
>Description:
I've been having problems compiling ghostscript from the ports. I tried doing a cvsup of the ports collection, but still with the same result.

I'm trying to set up a CUPS server. To install GIMP-Print (required for my printer) I need to have Ghostscript installed. I had disabled the X11 stuff, using make.conf's WITHOUT_X11 variable, because this is a headless server. I tried compiling Ghostscript with the default settings (minus X11); and tried some custom settings too (eg disabling X11 and all the printer drivers except the GIMP-Print driver). 

The error I have been getting is as follows:-

cc `cat ./obj/cc.tr`  -DHAVE_MKSTEMP -O -pipe  -Wall -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wtraditional -fno-builtin -fno-common -DUPD_SIGNAL=0 -DA4 -I./gimp-print -I/usr/local/include/libpng -I/usr/local/include -o bin/pcl3opts -Ipcl3/eprn/ pcl3/src/pcl3opts.c pcl3/src/pclscan.c pcl3/eprn/mediasize.c pcl3/src/pclsize.c
In file included from pcl3/src/pcl3opts.c:40:
pcl3/src/pclsize.h:19: warning: ignoring pragma: "@(#)$Id: pclsize.h,v 1.7 2000/11/19 07:05:17 Martin Rel $
In file included from pcl3/src/pclsize.h:23,
                 from pcl3/src/pcl3opts.c:40:
pcl3/eprn/mediasize.h:18: warning: ignoring pragma: "@(#)$Id: mediasize.h,v 1.11 2001/04/12 18:35:26 Martin Rel $
In file included from pcl3/src/pclsize.h:24,
                 from pcl3/src/pcl3opts.c:40:
pcl3/src/pclgen.h:26: warning: ignoring pragma: "@(#)$Id: pclgen.h,v 1.25 2001/08/18 17:41:29 Martin Rel $
pcl3/src/pcl3opts.c: In function `print_result':
pcl3/src/pcl3opts.c:417: warning: suggest parentheses around && within ||
pcl3/src/pcl3opts.c: In function `check_prefix':
pcl3/src/pcl3opts.c:520: warning: `c' might be used uninitialized in this function
pcl3/src/pcl3opts.c: In function `action_UEL':
pcl3/src/pcl3opts.c:606: warning: suggest parentheses around && within ||
pcl3/src/pcl3opts.c:642: warning: suggest parentheses around && within ||
pcl3/src/pcl3opts.c: At top level:
pcl3/src/pcl3opts.c:19: warning: `cm_id' defined but not used
pcl3/src/pclscan.c:60: warning: the meaning of `\x' varies with -traditional
pcl3/src/pclscan.c: In function `pcl_is_control_code':
pcl3/src/pclscan.c:78: warning: the meaning of `\x' varies with -traditional
pcl3/src/pclscan.c:79: warning: the meaning of `\x' varies with -traditional
pcl3/src/pclscan.c:80: warning: the meaning of `\x' varies with -traditional
pcl3/src/pclscan.c:81: warning: the meaning of `\x' varies with -traditional
pcl3/src/pclscan.c: In function `pcl_scan':
pcl3/src/pclscan.c:249: warning: suggest parentheses around && within ||
In file included from pcl3/eprn/mediasize.c:33:
pcl3/eprn/mediasize.h:18: warning: ignoring pragma: "@(#)$Id: mediasize.h,v 1.11 2001/04/12 18:35:26 Martin Rel $
pcl3/eprn/mediasize.c: In function `check':
pcl3/eprn/mediasize.c:173: warning: suggest parentheses around && within ||
pcl3/eprn/mediasize.c: In function `ms_find_name_from_code':
pcl3/eprn/mediasize.c:411: warning: suggest parentheses around && within ||
In file included from pcl3/src/pclsize.c:31:
pcl3/src/pclsize.h:19: warning: ignoring pragma: "@(#)$Id: pclsize.h,v 1.7 2000/11/19 07:05:17 Martin Rel $
In file included from pcl3/src/pclsize.h:23,
                 from pcl3/src/pclsize.c:31:
pcl3/eprn/mediasize.h:18: warning: ignoring pragma: "@(#)$Id: mediasize.h,v 1.11 2001/04/12 18:35:26 Martin Rel $
In file included from pcl3/src/pclsize.h:24,
                 from pcl3/src/pclsize.c:31:
pcl3/src/pclgen.h:26: warning: ignoring pragma: "@(#)$Id: pclgen.h,v 1.25 2001/08/18 17:41:29 Martin Rel $
pcl3/src/pclsize.c: In function `pcl3_page_size':
pcl3/src/pclsize.c:129: warning: suggest parentheses around arithmetic in operand of |
gencat ./obj/pcl3opts-en.cat pcl3/src/pcl3opts-en.msg
gencat ./obj/pcl3opts-de.cat pcl3/src/pcl3opts-de.msg
>How-To-Repeat:
cd /usr/ports/print/ghostscript-gnu/
sudo make
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list