Failed to install py26-gtk due to libpng dependency

André Kaplan at
Fri Mar 4 02:26:47 PST 2011

> Le 3 mars 2011 à 23:46, life choose a écrit :
>   Never installed py26-gtk before, need install now because it's gimp/gimp2's dependency.

> :info:build grep: /opt/local/lib/ No such file or directory
> :info:build /opt/local/bin/gsed: can't read /opt/local/lib/ No such file or directory
> :info:build libtool: link: `/opt/local/lib/' is not a valid libtool archive
> :info:build make[2]: *** [] Error 1
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make: *** [all] Error 2
>   What exactly I might be missing here? Is there a way to manually apply the Portfile patches at e.g. (although it seems I've already got the right Portfile on my mac)

Well, it looks like is the file causing the error.

$ port provides /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/ is provided by: py26-gtk

Is py26-gtk already installed on your system?
If yes, I'd recommend you to (force) uninstall py26-gtk and then to install it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list