Failed to install py26-gtk due to libpng dependency
ak.ml at laposte.net
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/libpng12.la: No such file or directory
> :info:build /opt/local/bin/gsed: can't read /opt/local/lib/libpng12.la: No such file or directory
> :info:build libtool: link: `/opt/local/lib/libpng12.la' is not a valid libtool archive
> :info:build make: *** [gtkunixprint.la] Error 1
> :info:build make: *** [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. https://trac.macports.org/changeset/75190?? (although it seems I've already got the right Portfile on my mac)
Well, it looks like gtkunixprint.la 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/gtkunixprint.la
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/gtk-2.0/gtkunixprint.la 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...
More information about the macports-users