#45195: ncarg @6.2.1 +gcc49 Compile Error (includes +mpich) and also cannot find "_HE5_EHHEisHE5" ---------------------------------+-------------------------------- Reporter: William.Capehart@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: ncarg | ---------------------------------+-------------------------------- Comment (by sean@…): Replying to [comment:9 takeshi@…]:
I was able to reproduce the problem. +gcc49 sets configure.cc. hdfeos5 should be compiled either with h5cc or h5pcc. I removed compiler variants that sets configure.cc in r126056. Let me know if this fix enables successful builds of hdfeos5 and ncarg.
The problem with removing the compiler variant is now the hdfeos5 will not have a way to tell which compiler to use with hdf5. For example, consider: $ port install hdf5 +gcc48 $ port install hdfeos5 $ port install hdf5 +gcc49 hdfeos5 has no way to tell which compiler was used for building it. If the compiler variant existed, we'd be able to say, "Ah, the variants should match up." My suggestion would be to either set configure.cc explicitly or maybe set the HDF5_CC variable to ${configure.cc}. -- Ticket URL: <https://trac.macports.org/ticket/45195#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X