[MacPorts] #15144: Ghostscript fails with: /src/gdevx.c:1209: error: 'dy' undeclared (first use in this function)

MacPorts trac at macosforge.org
Mon Apr 28 06:51:55 PDT 2008


#15144: Ghostscript fails with: /src/gdevx.c:1209: error: 'dy' undeclared (first
use in this function)
-------------------------------+--------------------------------------------
  Reporter:  btjanes at rtda.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect            |      Status:  new                                  
  Priority:  Normal            |   Milestone:                                       
 Component:  ports             |     Version:  1.6.0                                
Resolution:                    |    Keywords:                                       
-------------------------------+--------------------------------------------
Comment (by btjanes at rtda.com):

 Sorry, I forgot to format the output and mention that this is with a brand
 new install (first time user) of macports 1.600, trying to grab the
 default version of ghostscript, 8.62.

 {{{
 --->  Fetching ghostscript
 --->  Attempting to fetch ghostscript-8.62.tar.gz from
 http://downloads.sourceforge.net/ghostscript
 --->  Attempting to fetch ghostscript-fonts-std-8.11.tar.gz from
 http://downloads.sourceforge.net/gs-fonts
 --->  Attempting to fetch ghostscript-fonts-other-6.0.tar.gz from
 http://downloads.sourceforge.net/gs-fonts
 --->  Verifying checksum(s) for ghostscript
 --->  Extracting ghostscript
 --->  Applying patches to ghostscript
 --->  Configuring ghostscript
 --->  Building ghostscript
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.62"
 && make " returned error 2
 Command output: ./src/gdevx.c:1209: error: 'dy' undeclared (first use in
 this function)
 ./src/gdevx.c:1209: error: 'w' undeclared (first use in this function)
 ./src/gdevx.c:1209: error: 'h' undeclared (first use in this function)
 ./src/gdevx.c:1210: error: request for member 'foreground' in something
 not a structure or union
 ./src/gdevx.c:1211: error: request for member 'function' in something not
 a structure or union
 ./src/gdevx.c:1211: error: 'GXand' undeclared (first use in this function)
 ./src/gdevx.c:1219: error: request for member 'background' in something
 not a structure or union
 ./src/gdevx.c:1219: warning: comparison between pointer and integer
 ./src/gdevx.c:1220: error: request for member 'background' in something
 not a structure or union
 ./src/gdevx.c:1223: error: request for member 'function' in something not
 a structure or union
 ./src/gdevx.c:1223: error: 'GXor' undeclared (first use in this function)
 ./src/gdevx.c:1231: error: request for member 'background' in something
 not a structure or union
 ./src/gdevx.c:1232: error: request for member 'background' in something
 not a structure or union
 ./src/gdevx.c:1240: warning: comparison between pointer and integer
 ./src/gdevx.c:1245: warning: comparison between pointer and integer
 ./src/gdevx.c:1250: warning: implicit declaration of function
 'XFillRectangles'
 ./src/gdevx.c:1251: warning: statement with no effect
 ./src/gdevx.c:1254: error: 'struct gc_ptr_element_s' has no member named
 'x'
 ./src/gdevx.c:1254: error: 'struct gc_ptr_element_s' has no member named
 'y'
 ./src/gdevx.c:1254: warning: left-hand operand of comma expression has no
 effect
 ./src/gdevx.c:1254: warning: statement with no effect
 ./src/gdevx.c:1259: warning: comparison between pointer and integer
 ./src/gdevx.c:1260: error: 'struct gc_ptr_element_s' has no member named
 'width'
 ./src/gdevx.c:1260: error: 'struct gc_ptr_element_s' has no member named
 'height'
 ./src/gdevx.c:1260: warning: left-hand operand of comma expression has no
 effect
 ./src/gdevx.c:1260: warning: statement with no effect
 ./src/gdevx.c:1261: error: wrong type argument to increment
 ./src/gdevx.c:1261: warning: statement with no effect
 ./src/gdevx.c:1271: error: request for member 'foreground' in something
 not a structure or union
 make: *** [obj/gdevx.o] Error 1

 Error: Status 1 encountered during processing.

 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15144#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list