py27-pygtk
Lukas Oberhuber
lukaso at gmail.com
Wed Oct 12 16:58:04 UTC 2022
On Wed, 12 Oct 2022 at 17:29, Joshua Root <jmr at macports.org> wrote:
> Lukas Oberhuber wrote:
>
> > I've tried many variants of
> >
> > depends_lib-append port:pygtk-2.0.pc:py27-pygtk
> > with and without the .pc file and with and without directories before
> them.
>
> That should be just:
>
> depends_lib-append port:py27-pygtk
>
> But as long as the correct port is already installed, that won't change
> the behaviour of pkg-config.
>
I've tried that version as well. No dice
>
> > But every time on build I get
> >
> > checking for pygtk-codegen-2.0... no
> > checking for pygtk defs... Package pygtk-2.0 was not found in the
> > pkg-config search path.
> > Perhaps you should add the directory containing `pygtk-2.0.pc'
> > to the PKG_CONFIG_PATH environment variable
> > No package 'pygtk-2.0' found
>
> Checking assumptions, try this outside of the port:
>
> PKG_CONFIG_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
> pkg-config --exists --print-errors pygtk-2.0
>
This returned nothing but succeeded.
>
> In general when asking for help debugging a port, it's very helpful to
> share the Portfile and logs in a gist or something.
>
Sorry about that.
Here is the Portfile:
https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/blob/dee2dcff05491fd5cd455fe1ab4164633720339b/ports/graphics/gimp2/Portfile
Here is a gist of the logs:
https://gist.github.com/lukaso/806cfb5fd90d147b6328a7aa0112a490
Hopefully you have some ideas! Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20221012/444c3c70/attachment.htm>
More information about the macports-users
mailing list