Opened 12 years ago

Closed 12 years ago

#36800 closed defect (fixed)

netcdf-fortran @4.2_5+gcc43 nc-config broken

Reported by: zaron@… Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: netcdf

Description

After fresh upgrade of netcdf-fortran, a call to /opt/local/bin/nc-config yields the following output:

This netCDF 4.2 has been built with the following features:

  --cc        -> /usr/bin/gcc-4.2
  --cflags    ->  -I/opt/local/include -I/opt/local/include -DNDEBUG
  --libs      -> -L/opt/local/lib -lnetcdf

  --cxx       -> @CXX@
  --has-c++   -> @HAS_CXX@

  --fc        -> @FC@
  --fflags    -> @FFLAGS@ @MOD_FLAG@/opt/local/include
  --flibs     -> -L/opt/local/lib @NC_FLIBS@
  --has-f77   -> @HAS_F77@
  --has-f90   -> @HAS_F90@

  --has-dap   -> yes
  --has-nc2   -> yes
  --has-nc4   -> yes
  --has-hdf5  -> yes
  --has-hdf4  -> no
  --has-pnetcdf-> no
  --has-szlib ->

  --prefix    -> /opt/local
  --includedir-> /opt/local/include
  --version   -> netCDF 4.2

I don't know if this is a problem with netcdf or netcdf-fortran.

I expected the result of "nc-config --fc" to be

/opt/local/bin/gfortran-mp-4.3

Could this be related to gcc_select command, which now seems to be internal to macports? I tried selecting gcc43, but still received the same output reported above.

"uname -a" yields

Darwin myhost.xxx.yyy.edu 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: netcdf nc-config fortran removed
Owner: changed from macports-tickets@… to takeshi@…

comment:2 Changed 12 years ago by tenomoto (Takeshi Enomoto)

Port: netcdf added; netcdf-fortran removed
Resolution: fixed
Status: newclosed

The newest version of netcdf fixes the problem. Committed in r99283.

Note: See TracTickets for help on using tickets.