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

MacPorts noreply at macports.org
Thu Mar 21 16:50:36 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 aaschwanden):

 Hm, even with the latest commit, I get the same error:


 {{{
 :info:build In file included from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work
 /QGIS-3_6_0/external/mdal/frmts/mdal_hdf5.hpp:16:
 :info:build In file included from /opt/local/include/hdf5.h:22:
 :info:build /opt/local/include/H5public.h:60:13: fatal error: 'mpi.h' file
 not found
 :info:build #   include <mpi.h>
 :info:build             ^~~~~~~
 :info:build 1 error generated.
 :info:build make[2]: ***
 [src/providers/mdal/CMakeFiles/mdalprovider.dir/__/__/__/external/mdal/mdal_driver_manager.cpp.o]
 Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gis_qgis3/qgis3/work/build'
 :info:build make[1]: ***
 [src/providers/mdal/CMakeFiles/mdalprovider.dir/all] Error 2

 }}}

 I'm using
 {{{
 The following ports are currently installed:
   hdf5 @1.10.5_0+clang70+cxx+hl+mpich+threadsafe (active)
 }}}

 Could the +clang70 be the issue? I might be able to try with a clean
 install (re-installing MacPorts and all my ports), but not before next
 week. I do have QGIS 3.6 running that was compiled without hdf5.

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


More information about the macports-tickets mailing list