[MacPorts] #19772: netcdf 4.0 openmpi dependency

MacPorts noreply at macports.org
Tue May 26 16:11:00 PDT 2009


#19772: netcdf 4.0  openmpi dependency
-----------------------------------+----------------------------------------
 Reporter:  Chris.Barker@…         |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.7.1                                
 Keywords:  netcf openmpi          |        Port:  netcdf                               
-----------------------------------+----------------------------------------
 I'm trying to build netcdf 4.0, as of SVN revision 51494, and it fails
 with:
 {{{
 configure: finding C compiler
 checking for C compiler default output file name...
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 }}}
 Looking into the Portfile, I see:

 {{{
 configure.fc        openmpif77
 configure.cc        openmpicc
 configure.cxx       openmpicxx
 }}}

 if I comment those out, it builds fine -- clearly I don't have the openmpi
 compilers.

 It seems that open mpi needs to be listed as a dependency, or it should be
 a variant option.

 While I'm at it, I'd like to have 4.0.1, and "enable-dap" turned on.

 all this requires is changing the version number, the checksums, and add
 `--enable-dap` to the flags. It seems to build fine for me.

 Portfile patch is enclosed.

-- 
Ticket URL: <http://trac.macports.org/ticket/19772>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list