A general piece of advice, when you have things installed in /usr/local, is
that you need to move /usr/local out of the way while fink is compiling things.
(This is because it is impossible to disable the search into the /usr/local
pathway by the compiler and linker.)
So, before installing with fink: sudo mv /usr/local /usr/local-not and then
after installation, sudo mv /usr/local-not /usr/local.
-- Dave
On Dec 2, 2011, at 2:34 PM, Matthew Barry wrote:
Having trouble installing gnuplot-nox. Looks like header issues. Mac OS X
10.7.2. Any advice?
Package manager version: 0.31.5
Distribution version: selfupdate-rsync Fri Dec 2 16:25:30 2011, 10.7, x86_64
Trees: local/main stable/main
Xcode: 4.1
locahost:fink-0.31.5 fink install gnuplot-nox
Information about 3896 packages read in 1 seconds.
The following package will be installed or updated:
gnuplot-nox
The following additional package will be installed:
gd2-nox
Do you want to continue? [Y/n] Y
Setting runtime build-lock...
snip
libtool: link: gcc -g -O2 -o fontconfigtest fontconfigtest.o -L/sw/lib
./.libs/libgd.a /sw/lib/libiconv.dylib /sw/lib/libjpeg.dylib
/sw/lib/freetype219/lib/libfreetype.dylib /sw/lib/libpng14.dylib -lz
fink-package-precedence --prohibit-bdep=gd2-nox .
Scanning /\.Plo,\.Po$/ dependency files...
./.deps/annotate.Po
./.deps/circletexttest.Po
./.deps/fontconfigtest.Po
./.deps/fontsizetest.Po
./.deps/fontwheeltest.Po
./.deps/gd.Plo
./.deps/gd2copypal.Po
./.deps/gd2time.Po
./.deps/gd2togif.Po
./.deps/gd2topng.Po
./.deps/gd_gd.Plo
./.deps/gd_gd2.Plo
./.deps/gd_gif_in.Plo
./.deps/gd_gif_out.Plo
./.deps/gd_io.Plo
./.deps/gd_io_dp.Plo
./.deps/gd_io_file.Plo
./.deps/gd_io_ss.Plo
./.deps/gd_jpeg.Plo
./.deps/gd_png.Plo
./.deps/gd_security.Plo
./.deps/gd_ss.Plo
./.deps/gd_topal.Plo
./.deps/gd_wbmp.Plo
./.deps/gdcache.Plo
./.deps/gdcmpgif.Po
./.deps/gddemo.Po
./.deps/gdfontg.Plo
./.deps/gdfontl.Plo
./.deps/gdfontmb.Plo
./.deps/gdfonts.Plo
./.deps/gdfontt.Plo
./.deps/gdft.Plo
./.deps/gdfx.Plo
./.deps/gdhelpers.Plo
./.deps/gdkanji.Plo
./.deps/gdparttopng.Po
./.deps/gdtables.Plo
./.deps/gdtest.Po
./.deps/gdtestft.Po
./.deps/gdtopng.Po
./.deps/gdxpm.Plo
./.deps/gifanimtest.Po
./.deps/giftogd2.Po
./.deps/pngtogd.Po
./.deps/pngtogd2.Po
./.deps/testac.Po
./.deps/testtr.Po
./.deps/wbmp.Plo
./.deps/webpng.Po
Looking for incorrect headers in 50 dependency files...
./.deps/gd_gd2.Plo uses /usr/local/include/zconf.h
./.deps/gd_gd2.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
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-gd2-nox-2.0.35-10
(Reading database ... 100586 files and directories currently installed.)
Removing fink-buildlock-gd2-nox-2.0.35-10 ...
Failed: phase compiling: gd2-nox-2.0.35-10 failed
--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users