Solved this one as well.  Removed the ~/garnome/bin/pkg-config and let it
use the fink installed pkg-config instead (/opt/local/bin/pkg-config instead
of ~/garnome/bin/pkg-config"   That enabled it to see all the libpng files I
have installed already (installed with fink).

On to the next bug....

Next bug is that it dies on missing glitz.   so I "fink install glitz" to
get around it...

On to the next bug....

-b


On Mon, Mar 3, 2008 at 6:37 PM, Brad Allison <[EMAIL PROTECTED]> wrote:

> Here's what I find most bizarre about this bug... it says "Could not find
> libpng in the pkg-config search path" and yet when I run "pkg-config -cflags
> -libs libpng" it works fine from the command line...  But it's failing on
> the make paranoid install:
>
>
> checking for cairo's PNG backend...
> configure: WARNING: Could not find libpng in the pkg-config search path
> checking whether cairo's PNG backend could be enabled... no
> configure: error: requested PNG backend could not be enabled
> make[4]: *** [configure-work/main.d/cairo-1.4.14/configure] Error 1
> make[3]: *** [../../freedesktop/cairo/cookies/main.d/install] Error 2
> make[2]: *** [../../platform/gtk+/cookies/main.d/install] Error 2
> make[1]: *** [../../bindings/pygtk/cookies/main.d/install] Error 2
> make: *** [paranoid-install] Error 2
>
>
> # pkg-config --cflags --libs libpng
> -I/usr/X11/include/libpng12  -L/usr/X11/lib -lpng12 -lz -lm
>
> -b
>
>
> On Mon, Mar 3, 2008 at 6:22 PM, Brad Allison <[EMAIL PROTECTED]>
> wrote:
>
> > The error:
> >
> >  ==> Building freedesktop/cairo as a dependency
> > [===== NOW BUILDING:    cairo-1.4.14    =====]
> >     [fetch] complete for cairo.
> >     [checksum] complete for cairo.
> >     [extract] complete for cairo.
> >     [patch] complete for cairo.
> >     [fixup] complete for cairo.
> >  ==> Running configure in work/main.d/cairo-1.4.14
> > checking for a BSD-compatible install... /usr/bin/install -c
> > checking whether build environment is sane... yes
> > checking for gawk... no
> > checking for mawk... no
> > checking for nawk... no
> > checking for awk... awk
> > checking whether make sets $(MAKE)... yes
> > checking for find... /usr/bin/find
> > checking for xargs... /usr/bin/xargs
> > checking for gcc... cc
> > checking for C compiler default output file name... rm: a.out.dSYM: is a
> > directory
> > a.out
> > checking whether the C compiler works... yes
> > checking whether we are cross compiling... no
> > checking for suffix of executables...
> > checking for suffix of object files... o
> > checking whether we are using the GNU C compiler... yes
> > checking whether cc accepts -g... yes
> > checking for cc option to accept ISO C89... none needed
> > checking for style of include used by make... GNU
> > checking dependency style of cc... gcc3
> > checking how to run the C preprocessor... cc -E
> > checking build system type... i386-apple-darwin9.2.0
> > checking host system type... i386-apple-darwin9.2.0
> > checking for a sed that does not truncate output... /usr/bin/sed
> > checking for grep that handles long lines and -e... /usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for ld used by cc...
> > /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> > checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
> > GNU ld... no
> > checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to
> > reload object files... -r
> > checking for BSD-compatible nm... /usr/bin/nm -p
> > checking whether ln -s works... yes
> > checking how to recognize dependent libraries... pass_all
> > checking for ANSI C header files... rm: conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > yes
> > checking for sys/types.h... yes
> > checking for sys/stat.h... yes
> > checking for stdlib.h... yes
> > checking for string.h... yes
> > checking for memory.h... yes
> > checking for strings.h... yes
> > checking for inttypes.h... yes
> > checking for stdint.h... yes
> > checking for unistd.h... yes
> > checking dlfcn.h usability... yes
> > checking dlfcn.h presence... yes
> > checking for dlfcn.h... yes
> > checking whether we are using the GNU C++ compiler... yes
> > checking whether g++ accepts -g... yes
> > checking dependency style of g++... gcc3
> > checking how to run the C++ preprocessor... g++ -E
> > checking for g77... no
> > checking for xlf... no
> > checking for f77... no
> > checking for frt... no
> > checking for pgf77... no
> > checking for cf77... no
> > checking for fort77... no
> > checking for fl32... no
> > checking for af77... no
> > checking for xlf90... no
> > checking for f90... no
> > checking for pgf90... no
> > checking for pghpf... no
> > checking for epcf90... no
> > checking for gfortran... no
> > checking for g95... no
> > checking for xlf95... no
> > checking for f95... no
> > checking for fort... no
> > checking for ifort... no
> > checking for ifc... no
> > checking for efc... no
> > checking for pgf95... no
> > checking for lf95... no
> > checking for ftn... no
> > checking whether we are using the GNU Fortran 77 compiler... no
> > checking whether  accepts -g... no
> > checking the maximum length of command line arguments... 196608
> > checking command to parse /usr/bin/nm -p output from cc object... rm:
> > conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > ok
> > checking for objdir... .libs
> > checking for ar... ar
> > checking for ranlib... ranlib
> > checking for strip... strip
> > rm: conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > checking if cc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM:
> > is a directory
> > no
> > checking for cc option to produce PIC... -fno-common
> > checking if cc PIC flag -fno-common works... rm: conftest.dSYM: is a
> > directory
> > yes
> > checking if cc static flag -static works... rm: conftest.dSYM: is a
> > directory
> > no
> > checking if cc supports -c -o file.o... rm: conftest.dSYM: is a
> > directory
> > yes
> > checking whether the cc linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
> > yes
> > checking dynamic linker characteristics... darwin9.2.0 dyld
> > checking how to hardcode library paths into programs... immediate
> > checking whether stripping libraries is possible... yes
> > checking if libtool supports shared libraries... yes
> > checking whether to build shared libraries... yes
> > checking whether to build static libraries... no
> > configure: creating libtool
> > appending configuration tag "CXX" to libtool
> > rm: conftest.dSYM: is a directory
> > rm: conftest.dSYM: is a directory
> > checking for ld used by g++...
> > /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
> > checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is
> > GNU ld... no
> > checking whether the g++ linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
> > yes
> > checking for g++ option to produce PIC... -fno-common
> > checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a
> > directory
> > yes
> > checking if g++ static flag -static works... rm: conftest.dSYM: is a
> > directory
> > no
> > checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a
> > directory
> > yes
> > checking whether the g++ linker
> > (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
> > yes
> > checking dynamic linker characteristics... darwin9.2.0 dyld
> > checking how to hardcode library paths into programs... immediate
> > appending configuration tag "F77" to libtool
> > checking for ANSI C header files... (cached) yes
> > checking for inline... inline
> > checking whether byte ordering is bigendian... no
> > checking whether float word ordering is bigendian... no
> > checking for vasnprintf... no
> > checking for compress in -lz... yes
> > checking zlib.h usability... yes
> > checking zlib.h presence... yes
> > checking for zlib.h... yes
> > checking for pkg-config... /Users/jackal/garnome/bin/pkg-config
> > checking pkg-config is at least version 0.9.0... yes
> > checking for X... libraries /usr/X11/lib, headers /usr/X11/include
> > checking for cairo's Xlib backend...
> > checking for xlib... no
> > no
> > checking whether -R must be followed by a space... no
> > checking for gethostbyname... yes
> > checking for connect... yes
> > checking for remove... yes
> > checking for shmat... yes
> > checking for IceConnectionNumber in -lICE... yes
> > checking whether cairo's Xlib backend could be enabled... yes
> > configure: creating src/cairo-xlib.pc
> > checking for cairo's Xlib Xrender backend...
> > checking for xlib_xrender... yes
> > checking whether cairo's Xlib Xrender backend could be enabled... yes
> > configure: creating src/cairo-xlib-xrender.pc
> > checking for native Win32... no
> > checking windows.h usability... no
> > checking windows.h presence... no
> > checking for windows.h... no
> > checking for cairo's Microsoft Windows backend...
> > checking whether cairo's Microsoft Windows backend could be enabled...
> > no (requires a Win32 platform)
> > checking for cairo's Microsoft Windows font backend...
> > checking whether cairo's Microsoft Windows font backend could be
> > enabled... no (requires a Win32 platform)
> > checking for cairo's PNG backend...
> > configure: WARNING: Could not find libpng in the pkg-config search path
> > checking whether cairo's PNG backend could be enabled... no
> > configure: error: requested PNG backend could not be enabled
> > make[4]: *** [configure-work/main.d/cairo-1.4.14/configure] Error 1
> > make[3]: *** [../../freedesktop/cairo/cookies/main.d/install] Error 2
> > make[2]: *** [../../platform/gtk+/cookies/main.d/install] Error 2
> > make[1]: *** [../../bindings/pygtk/cookies/main.d/install] Error 2
> > make: *** [paranoid-install] Error 2
> >
> >
> > The config log:
> >
> > See attached.  ( ./freedesktop/cairo/work/main.d/cairo-1.4.14/config.log
> > )
> >
> >
> > pnglibs installed via fink:
> >
> > sh-3.2# fink list | grep libpng
> >  i     libpng-shlibs    1.0.12-7    PNG image format handling library
> > (old version)
> >  i     libpng3    1:1.2.18-1    PNG image format handling library
> >  i     libpng3-shlibs    1:1.2.18-1    Shared libraries for libpng3
> > package
> >  i     system-pkgconfig-libpng    1.2.8-1    [virtual pkgconfig package
> > representing libpng]
> >  i     system-pkgconfig-libpng12    1.2.8-1    [virtual pkgconfig
> > package representing libpng12]
> >
> >
> > The OS:
> >
> > MacOSX 10.5.2
> >
> > MacBook-Pro:garnome-2.21.92 jackal$ uname -a
> > Darwin MacBook-Pro.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb  5
> > 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386
> >
> > The Compiler:
> >
> > MacBook-Pro:garnome-2.21.92 jackal$ which gcc
> > /usr/bin/gcc
> >
> > MacBook-Pro:garnome-2.21.92 jackal$ gcc -v
> > Using built-in specs.
> > Target: i686-apple-darwin9
> > Configured with: /var/tmp/gcc/gcc-5465~16/src/configure
> > --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
> > --enable-languages=c,objc,c++,obj-c++
> > --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
> > --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
> > --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic
> > --host=i686-apple-darwin9 --target=i686-apple-darwin9
> > Thread model: posix
> > gcc version 4.0.1 (Apple Inc. build 5465)
> >
> > MacBook-Pro:garnome-2.21.92 jackal$ which make
> > /opt/local/bin/make
> >
> > MacBook-Pro:garnome-2.21.92 jackal$ make -v
> > GNU Make 3.81
> > Copyright (C) 2006  Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions.
> > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> > PARTICULAR PURPOSE.
> >
> > This program built for i386-apple-darwin9.2.0
> >
> >
> >  The Fix:
> >
> > UNKNOWN.
> >
>
>
-- 
garnome-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/garnome-list

Reply via email to