New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31937 (closed defect: invalid)

Opened 19 months ago

Last modified 19 months ago

Unable to find png.h or png developer port

Reported by: digitalrinaldo@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: png developer include files Cc: waqar@…
Port: libpng

Description

I am unable to compile zint-barcode with MacPorts. I need png.h. I see png.h in the X11 directory but not in the macports directories.

Change History

comment:1 Changed 19 months ago by blb@…

  • Cc waqar@… added
  • Owner changed from macports-tickets@… to ryandesign@…
  • Type changed from request to defect
  • Milestone MacPorts 2.0.4 deleted

The libpng port is the one that should be providing png.h:

$ port contents libpng
...
  /opt/local/include/libpng14/png.h
  /opt/local/include/libpng14/pngconf.h
  /opt/local/include/png.h
  /opt/local/include/pngconf.h
...

Does port contents not show those for you?

comment:2 Changed 19 months ago by digitalrinaldo@…

This is an issue with zint-2.4.2

They have moved to cmake and it doesn't finde dependencies in /opt/local.

comment:3 Changed 19 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to invalid

You'll probably have to tell cmake where the libraries and includes are, just as you'd have to tell an autoconf-based project's configure script.

Note: See TracTickets for help on using tickets.