If you also installed lib png in a non-standard place, try this:

export
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/non-standard-place/libpng-dir/lib/pkgconfig/

and then run your configure.

You may have to do this for other packages as well.

Paul

On Wed, May 19, 2010 at 11:41 AM, guru prasad <[email protected]> wrote:

> Hello,
> I am newbie so please excuse me if i am asking childish thing. So now
> the point is i have already working GTK  of version 1.2 something. So
> now i tried to upgrade it by installing gtk 2.20.0. So i followed
> needed procedures.
> Installed latest pkg-config, lib png 1.4.x, freetype, fontconfig,
> glib, pango atk,
>
> laterward tried cairo 1.8.8, while configuring i faced following problem
>
> /opt/newgtk/  is my directory for new gtk  tried to keep separate from
> older version
> linux:/opt/newgtk/cairo-1.8.8 # ./configure --prefix=/opt/newgtk/
> .
> .
> .
> .
> .
> .
> .
> checking for cairo's PNG functions feature...
> configure: WARNING: Could not find libpng in the pkg-config search path
> checking whether cairo's PNG functions feature could be enabled... no
> configure: error: recommended PNG functions feature could not be enabled
>
>
> But i have already installed linpng then also why i am facing this problem
> dono
>
> i have libpng 1.4.X but my cairo is 1.8.8  Is there any version
> incompatibility is there between these?
>
> So can a kind soul tell me what my problem is?
>
> Thanks & Regards,
> Guruprasad.
> _______________________________________________
> gtk-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to