Opened 12 years ago

Closed 12 years ago

#19824 closed defect (fixed)

libharu not finding libpng dependency

Reported by: philip@… Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: libpng Cc:
Port: libharu


Summary: libharu did not find the libpng dependency, so failed. After installing libpng it worked.

philip@water /opt/local/bin> sudo ./port install libharu +universal
--->  Fetching libharu
--->  Attempting to fetch libharu-2.1.0.tar.bz2 from
--->  Verifying checksum(s) for libharu
--->  Extracting libharu
--->  Configuring libharu

Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_libharu/work/libharu-2.1.0" && ./configure --prefix=/opt/local --with-png=/opt/local --with-zlib=/opt/local --disable-dependency-tracking " returned error 1
Command output: checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries... yes


checking libpng install prefix... configure: error: Can't find libpng headers under /opt/local directory
Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 12 years ago by blb@…

Owner: changed from macports-tickets@… to and.damore@…

Is your libpng port installed with +universal as well: port installed libpng? Though I see libpng isn't listed as a dependency of libharu, so either it should be or it shouldn't be trying to use it...

comment:2 Changed 12 years ago by philip@…

It is. But just to be clear, at the time of installing libharu (initially), libpng wasn't installed at all.

comment:3 Changed 12 years ago by anddam (Andrea D'Amore)

Resolution: fixed
Status: newclosed

libpng added to dependencies.

Note: See TracTickets for help on using tickets.