Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2002 02:52:06 -0800 (PST)
From:      Pekka Samuli Laine <pekkasamuli@koti.soon.fi>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/34550: ghostscript-gnu-nox11 portversion 6.51 fails to build
Message-ID:  <200202021052.g12Aq6j66836@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         34550
>Category:       ports
>Synopsis:       ghostscript-gnu-nox11 portversion 6.51 fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 02 03:00:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Pekka Samuli Laine
>Release:        FreeBSD 4.4
>Organization:
N / A
>Environment:
FreeBSD pekkasamuli.catv.tpo.fi 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Tue Jan 29 21:24:33 EET 2002     root@pekkasamuli.catv.tpo.fi:/usr/src/sys/compile/MYKERNEL  i386
>Description:
      I cannot get ghostscript-gnu-nox11 portversion 6.51 to build.
I have FreeBSD 4.4 release system and I haven't updated any
files. I am using the ports skeleton files which came with
FreeBSD 4.4.
      First when it has fetched all files it complains that
gdevdj9.c.gz has invalid checksum. So I have to fetch
that file manually from ftp2.FreeBSD.org. After that
checksum is ok.
      In driver selection menu I just accept the default drivers.
After that it starts to compile but after a while build 
stops with the following error messages:

...
./src/gdevx.c:230: syntax error before `Display'
./src/gdevx.c: In function `x_sync':
./src/gdevx.c:294: structure has no member named `dpy'
./src/gdevx.c:294: `False' undeclared (first use in this function)
./src/gdevx.c:294: (Each undeclared identifier is reported only once
./src/gdevx.c:294: for each function it appears in.)
./src/gdevx.c: At top level:
./src/gdevx.c:300: syntax error before `Atom'
./src/gdevx.c: In function `gdev_x_send_event':
./src/gdevx.c:302: syntax error before `event'
./src/gdevx.c:304: `event' undeclared (first use in this function)
./src/gdevx.c:304: `ClientMessage' undeclared (first use in this function)
./src/gdevx.c:305: `xdev' undeclared (first use in this function)
./src/gdevx.c:307: `msg' undeclared (first use in this function)
./src/gdevx.c:311: `False' undeclared (first use in this function)
./src/gdevx.c: In function `x_output_page':
./src/gdevx.c:325: syntax error before `event'
./src/gdevx.c:327: structure has no member named `PAGE'
./src/gdevx.c:328: structure has no member named `dpy'
./src/gdevx.c:328: `event' undeclared (first use in this function)
./src/gdevx.c:329: `ClientMessage' undeclared (first use in this function)
./src/gdevx.c:330: structure has no member named `NEXT'
./src/gdevx.c:331: structure has no member named `dpy'
./src/gdevx.c: In function `x_fill_rectangle':
./src/gdevx.c:346: `FillSolid' undeclared (first use in this function)
./src/gdevx.c:346: structure has no member named `dpy'
./src/gdevx.c:346: structure has no member named `gc'
./src/gdevx.c:347: structure has no member named `dpy'
./src/gdevx.c:347: structure has no member named `gc'
./src/gdevx.c:348: `GXcopy' undeclared (first use in this function)
./src/gdevx.c:348: structure has no member named `dpy'
./src/gdevx.c:348: structure has no member named `gc'
./src/gdevx.c:349: structure has no member named `dpy'
./src/gdevx.c:349: structure has no member named `dest'
./src/gdevx.c:349: structure has no member named `gc'
./src/gdevx.c:355: structure has no member named `foreground'
./src/gdevx.c:355: structure has no member named `background'
./src/gdevx.c:359: structure has no member named `bpixmap'
./src/gdevx.c:359: `Pixmap' undeclared (first use in this function)
./src/gdevx.c:359: syntax error before `0'
./src/gdevx.c: At top level:
src/gdevx.h:34: warning: array `gdev_x_resources' assumed to have one element
src/gdevx.h:36: warning: array `gdev_x_fallback_resources' assumed to have one e
lement
./src/gdevx.c:53: warning: `update_init' used but never defined
./src/gdevx.c:54: warning: `update_do_flush' used but never defined
./src/gdevx.c:58: warning: `do_flush_text' used but never defined
./src/gdevx.c:72: warning: `x_copy_mono' used but never defined
./src/gdevx.c:73: warning: `x_copy_color' used but never defined
./src/gdevx.c:77: warning: `x_get_page_device' used but never defined
./src/gdevx.c:78: warning: `x_strip_tile_rectangle' used but never defined
./src/gdevx.c:79: warning: `x_begin_typed_image' used but never defined
./src/gdevx.c:80: warning: `x_get_bits_rectangle' used but never defined
gmake: *** [obj/gdevx.o] Error 1
*** Error code 2
Stop in /usr/ports/print/ghostscript-gnu-nox11.
*** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-nox11.
*** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-nox11.
*** Error code 1
Stop in /usr/ports/print/ghostscript-gnu-nox11.

>How-To-Repeat:
      Just type 'make install' again.
>Fix:
      I found out what the problem is. If during driver 
installation you just accept default drivers then some 
X-drivers will also be included (those starting with x11*). 
Those X-drivers will need some X-sources/libraries which 
doesn't exist (if you haven't installed X) so the compilation 
will fail at some point. If you de-select X-drivers during 
driver installation then everything will go smoothly. 
(Of course, it would be nice that X drivers would be 
de-selected by default when you install ghostscript-gnu-nox11.) 
I don't know exactly which X-drivers are causing the problem --
I just de-selected them all.

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202021052.g12Aq6j66836>