#49430: py27-netcdf4 command execution failed -------------------------+-------------------- Reporter: JDTilley@… | Owner: sean@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: py-netcdf4 | -------------------------+-------------------- Comment (by JDTilley@…): Something interesting I noticed in my macports nc-config: {{{ $ nc-config --all This netCDF 4.3.3.1 has been built with the following features: --cc -> /usr/bin/clang --cflags -> -I/opt/local/include -I/opt/local/include -DNDEBUG --libs -> -L/opt/local/lib -lnetcdf --has-c++ -> no --cxx -> --has-c++4 -> no --cxx4 -> --fc -> gfortran --fflags -> -I/usr/local/include --flibs -> -L/usr/local/lib -lnetcdff -L/usr/local/lib -lnetcdf -lhdf5 -lhdf5_hl -lhdf5_fortran -lhdf5hl_fortran -L/opt/local/lib -lsz -lz -lcurl -lnetcdf -L/usr/local/lib -lnetcdf -lhdf5 -lhdf5_hl -lhdf5_fortran -lhdf5hl_fortran -L/opt/local/lib -lsz -lz -lcurl --has-f90 -> no --has-dap -> yes --has-nc2 -> yes --has-nc4 -> yes --has-hdf5 -> yes --has-hdf4 -> no --has-pnetcdf-> no --prefix -> /opt/local --includedir-> /opt/local/include --version -> netCDF 4.3.3.1 }}} So even the macports version is finding the netcdf-fortran I manually compiled in /usr/local. So I tried to change this by installing the macports netcdf-fortran and I get the following message: {{{ Error: org.macports.activate for port netcdf-fortran returned: Image error: /opt/local/include/netcdf.inc already exists and does not belong to a registered port. Unable to activate port netcdf-fortran. Use 'port -f activate netcdf-fortran' to force the activation. }}} Is there anything to make from this? -- Ticket URL: <https://trac.macports.org/ticket/49430#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X