#42625: h5utils can't find libpng --------------------------+-------------------------------- Reporter: Xsenon973@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: h5utils | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: higginja@…, ryandesign@… (added) * port: libpng => h5utils Comment: There is nothing wrong with the libpng port. I'm unable to reproduce any build failure of the h5utils port: {{{ $ sudo port install h5utils ---> Computing dependencies for h5utils ---> Fetching distfiles for h5utils ---> Verifying checksums for h5utils ---> Extracting h5utils ---> Applying patches to h5utils ---> Configuring h5utils ---> Building h5utils ---> Staging h5utils into destroot ---> Installing h5utils @1.12.1_5 ---> Activating h5utils @1.12.1_5 ---> Cleaning h5utils $ }}} If h5utils is failing to build for you, please attach h5utils' main.log file. Or are you trying to build h5utils from source manually, outside of MacPorts? In that case, you need to inform the compiler where the MacPorts libraries are to be found. Typically this is done by putting -isystem/opt/local/include in CPPFLAGS and -L/opt/local/lib in LDFLAGS. However, if this is what you're doing, why can't you just use the h5utils port? -- Ticket URL: <https://trac.macports.org/ticket/42625#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X