Re: GARNOME 2.22.0 Release Candidate (2.21.92) -- "real life"



On Mon, 2008-03-03 at 18:56 -0500, Brad Allison wrote:
> Solved this one as well.  Removed the ~/garnome/bin/pkg-config and let
> it use the fink installed pkg-config instead

This is the wrong fix.

cairo explicitly depends on pkg-config (see LIBDEPS), and usually there
at least has been a valid need to do so. Anyway, you just deliberately
used a systems executable, whereas the GARNOME provided ones are
preferable.

>  (/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 Mon, Mar 3, 2008 at 6:37 PM, Brad Allison <brad allison gmail com>
> 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

Right, so libpng couldn't be found in your PKG_CONFIG_PATH. Most systems
are happy with the stuff set in gar.conf.mk. Since your libpng lives in
a rather strange place, the easiest and IMHO best fix is, to simply
adjust PKG_CONFIG_PATH in gar.conf.mk and append your local dirs there.

  guenther


>         # pkg-config --cflags --libs libpng
>         -I/usr/X11/include/libpng12  -L/usr/X11/lib -lpng12 -lz -lm  

[ useless full quote snipped ]


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]