[MacPorts] #34962: ghostscript cannot be built for archs that cannot be run

MacPorts noreply at macports.org
Mon Sep 24 07:55:47 PDT 2012


#34962: ghostscript cannot be built for archs that cannot be run
----------------------------------+------------------------
  Reporter:  frederic.devernay@…  |      Owner:  takanori@…
      Type:  defect               |     Status:  new
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.1.1
Resolution:                       |   Keywords:  haspatch
      Port:  ghostscript          |
----------------------------------+------------------------

Comment (by frederic.devernay@…):

 This problem still exists with GS 9.06 and the 9.05 patches still apply.

 There are actually other issues with cross-compiling ghostscript (the
 ghostscript manual states that configuration files have to be manually
 edited), and these issues are usually fixed by cross-toolchains, see for
 example
 http://repository.timesys.com/buildsources/g/ghostscript/ghostscript-9.05/
 http://git.yoctoproject.org/cgit.cgi/poky-contrib/tree/meta/recipes-
 extended/ghostscript or the patches for embedded linux distributions such
 as Wind River linux. I guess the GS developpers don't care much about
 cross-compiling

 To properly cross-compile gs (version 9.05 or 9.06), one may apply the
 ghostscript-9.05-cross.patch and ghostscript-9.05-cross-so.patch that can
 be found at that
 http://repository.timesys.com/buildsources/g/ghostscript/ghostscript-9.05/
 . I didn't try with the pokylinux files from
 http://git.yoctoproject.org/cgit.cgi/poky-contrib/tree/meta/recipes-
 extended/ghostscript but they are probably similar.

 With these patches, I was able to build +universal (i386 and x86_64) on a
 Core Duo (running Snow Leopard), and +universal (i386 and ppc) on a PPC
 iMac G5 running Leopard.

 I'm also attaching the modified Portfile for gs 9.06 (I didn't increment
 the revision).

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


More information about the macports-tickets mailing list