[MacPorts] #53471: Failed to build qhull

MacPorts noreply at macports.org
Sun Feb 5 02:53:58 UTC 2017


#53471: Failed to build qhull
---------------------+----------------------
  Reporter:  gchinn  |      Owner:  mamoll
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.4.0
Resolution:          |   Keywords:  powerpc
      Port:  qhull   |
---------------------+----------------------

Comment (by kencu):

 OK. So I had a few minutes, and so I found a way to build qhull on 10.5
 PPC. There were a couple of wrinkles, mostly revolving around the fact
 that gcc-4.8 doesn't know what the `-arch` flag is, and errors out. So you
 need to override that flag from being produced.

 You need to edit the portfile with your favourite editor and change a
 couple of things near the top of the portfile, so it looks like so:

 {{{
 PortSystem          1.0
 PortGroup           cmake 1.1
 PortGroup           compiler_blacklist_versions 1.0
 cmake.out_of_source yes
 cmake.set_osx_architectures no
 }}}

 then, build it like this

 {{{
 sudo port -v install qhull configure.compiler=macports-gcc-4.8
 }}}

 and you get a completed build, that looks OK.
 {{{
 $ port -v installed qhull
 The following ports are currently installed:
   qhull @2015.2_1 (active) platform='darwin 9' archs='ppc'
 date='2017-02-04T18:46:09-0800'
 }}}

 If you get this far, please test it in some way and see if it works
 correctly for you. Hope this helps -- K

--
Ticket URL: <https://trac.macports.org/ticket/53471#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list