[MacPorts] #57793: QGIS3 fails to compile due to mpi.h not found

MacPorts noreply at macports.org
Tue Jan 22 23:47:44 UTC 2019


#57793: QGIS3 fails to compile due to mpi.h not found
--------------------------+----------------------
  Reporter:  aaschwanden  |      Owner:  Veence
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  qgis3        |
--------------------------+----------------------

Comment (by willic3):

 Following the suggestion from Marius about armadillo, I made a couple very
 minor changes to the existing Portfile and got things to work:


 {{{
 diff
 /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/gis/qgis3/Portfile
 Portfile
 8a9
 > PortGroup           mpi     1.0
 48a50
 >                     port:hdf5 \
 111a114,117
 > # MPI setup
 > mpi.setup
 > mpi.enforce_variant         hdf5
 }}}

 I was then able to install:


 {{{
 qgis3 @3.4.2_0+grass+openmpi+postgresql10+proj5+python36
 }}}

 The only other issue is that I had to create the symbolic link mentioned
 in [https://trac.macports.org/ticket/57915].

 Thanks

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


More information about the macports-tickets mailing list