Opened 12 years ago

Closed 12 years ago

#31937 closed defect (invalid)

Unable to find png.h or png developer port

Reported by: digitalrinaldo@… Owned by: ryandesign (Ryan Carsten Schmidt)
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 (3)

comment:1 Changed 12 years ago by blb@…

Cc: waqar@… added
Milestone: MacPorts 2.0.4
Owner: changed from macports-tickets@… to ryandesign@…
Type: requestdefect

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 12 years 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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

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.