Disclaimer: I am not an expert on libpng.  The error you are getting suggests a 
conflict with stuff you installed outside of fink (or some other package 
installed).
Take a look at 
http://www.finkproject.org/faq/comp-general.php?phpLang=en#usr-local-libs  and 
see if the suggested fix there helps.

On Nov 3, 2012, at 5:51 PM, Saffia Hossainzadeh wrote:

> Hi, 
> I tried to install ncview via fink and I get an error that libpng15-1.5.10-1 
> failed during 'phase compiling'.  I am using fink version 0.34.4 with my 
> MacOS 10.6.7 with XCode 3.2.6. Here is the last bit of code before it ended 
> trying to install the package: 
> 
> Looking for incorrect headers in 18 dependency files...
>      ./.deps/libpng15_la-png.Plo uses /usr/local/include/zconf.h
>      ./.deps/libpng15_la-png.Plo uses /usr/local/include/zlib.h
> Please fix build process to get consistent use of fink's headers.
> ### execution of fink-package-precedence failed, exit code 255
> ### execution of /tmp/fink.VEkKB failed, exit code 255
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-libpng15-1.5.10-1
> (Reading database ... 6159 files and directories currently installed.)
> Removing fink-buildlock-libpng15-1.5.10-1 ...
> Updating the list of locally available binary packages.
> Scanning dists/stable/main/binary-darwin-i386
> New package: 
> dists/stable/main/binary-darwin-i386/base/expat1-shlibs_2.0.1-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/base/expat1_2.0.1-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/crypto/openssl100-dev_1.0.1c-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/crypto/openssl100-shlibs_1.0.1c-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/crypto/openssl_1.0.1c-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/devel/doxygen_1.7.4-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/devel/fink-package-precedence_0.14-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/devel/pkgconfig_0.25-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/libs/szip-shlibs_2.1-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/libs/szip_2.1-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/net/ca-bundle_20120823-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/hdf5.7-bin_1.8.9-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/hdf5.7-shlibs_1.8.9-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/hdf5.7_1.8.9-1_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/udunits2-dev_2.1.22-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/udunits2-shlibs_2.1.22-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/sci/udunits2_2.1.22-2_darwin-i386.deb
> New package: 
> dists/stable/main/binary-darwin-i386/x11/app-defaults_20010814-12_darwin-i386.deb
> Failed: phase compiling: libpng15-1.5.10-1 failed
> 
> Any help will be appreciated!
> Thanks!
> 
> -- 
> Saffia Hossainzadeh
> Earth and Planetary Sciences Department
> University of California, Santa Cruz
> 
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d_______________________________________________
> Fink-beginners mailing list
> Fink-beginners@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.beginners
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-beginners

Hans Kruse, Professor
J. Warren McClure School of Information and Telecommunication Systems
Adjunct Associate Professor of Electrical Engineering and Computer Science
Chief Operating Officer, GRID Lab
292 Lindley Hall, Ohio University, Athens, OH, 45701
740-593-4891 voice, 740-593-4889 fax





------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to