Ticket #19772 (closed defect: fixed)
netcdf 4.0 openmpi dependency
| Reported by: | Chris.Barker@… | Owned by: | takeshi@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | netcf openmpi | Cc: | |
| Port: | netcdf |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


