[MacPorts] #57793: QGIS3 fails to compile due to mpi.h not found
MacPorts
noreply at macports.org
Mon Mar 18 02:23:27 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):
Once again, I was able to make a couple of very minor changes to the
existing Portfile to allow MPI. The reason I'm doing this is because I
require parallel HDF5 for other work. Here are the differences between
the two Portfiles:
{{{
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 \
112a115,117
> # MPI setup
> mpi.setup
> mpi.enforce_variant hdf5
}}}
This allowed me to install:
{{{
qgis3 @3.6.0_0+grass+openmpi+postgresql10+proj5+python36 (active)
}}}
Thanks
--
Ticket URL: <https://trac.macports.org/ticket/57793#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list