[MacPorts] #20935: Ghostscript fails to build on Snow Leopard

MacPorts noreply at macports.org
Mon Sep 28 03:11:48 PDT 2009


#20935: Ghostscript fails to build on Snow Leopard
-----------------------------------+----------------------------------------
  Reporter:  mwalz@…               |       Owner:  takanori@…           
      Type:  defect                |      Status:  closed               
  Priority:  Normal                |   Milestone:                       
 Component:  ports                 |     Version:                       
Resolution:  worksforme            |    Keywords:                       
      Port:  ghostscript           |  
-----------------------------------+----------------------------------------

Comment(by akim.demaille@…):

 I have the same problem, and the problem did not disappear magically.  See
 the attached log.

 For what it's worth, I don't see any src/png.c around there.

 {{{
 $ cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/work/ghostscript-8.70"
 $ sudo make so
 make LDFLAGS='-L/opt/local/lib  -dynamiclib -install_name
 /opt/local/lib/libgs.8.70.dylib' GS_XE=./bin/../sobin/libgs.8.70.dylib
 STDIO_IMPLEMENTATION=c DISPLAY_DEV=./obj/../soobj/display.dev
 BINDIR=./bin/../sobin GLGENDIR=./obj/../soobj GLOBJDIR=./obj/../soobj
 PSGENDIR=./obj/../soobj PSOBJDIR=./obj/../soobj CFLAGS='-O2
 -isystem/opt/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-
 declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing
 -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H
 -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -arch x86_64
 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER ' prefix=/opt/local ./bin/../sobin/gsc
 ./bin/../sobin/gsx
 make[1]: *** No rule to make target `src/png.c', needed by
 `obj/../soobj/png.o'.  Stop.
 make: *** [so] Error 2

 $ find . -name png.c
 ./libpng_local/png.c
 }}}

 I don't know how to proceed.

-- 
Ticket URL: <http://trac.macports.org/ticket/20935#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list