py27-pygtk
Joshua Root
jmr at macports.org
Wed Oct 12 17:28:11 UTC 2022
On 2022-10-13 03:58 , Lukas Oberhuber wrote:
> Here is the Portfile:
> https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/blob/dee2dcff05491fd5cd455fe1ab4164633720339b/ports/graphics/gimp2/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
> <https://gist.github.com/lukaso/806cfb5fd90d147b6328a7aa0112a490>
>
> Hopefully you have some ideas! Thanks.
Well here's your problem:
> :debug:configure Executing org.macports.configure (gimp210)
> :debug:configure Environment:
> :debug:configure CC_PRINT_OPTIONS='YES'
> :debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_lukasoberhuber_project_ports_graphics_gimp2/gimp210/work/.CC_PRINT_OPTIONS'
> :debug:configure CPATH='/opt/local/include'
> :debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
> :debug:configure LIBRARY_PATH='/opt/local/lib'
> :debug:configure MACOSX_DEPLOYMENT_TARGET='11.0'
> :debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk'
There should be around 15 more environment variables set. Not just
PKG_CONFIG_PATH and PYTHON but ones set by base like CC, CFLAGS and so on.
I think this is because the configure script is being run as part of the
autoreconf command, not configure proper.
BTW, these two lines both do exactly the same thing, so you can just
remove the second one:
configure.pkg_config_path
${python_framework}/lib/pkgconfig:${prefix}/lib/pkgconfig
configure.env-append
PKG_CONFIG_PATH=${python_framework}/lib/pkgconfig:${prefix}/lib/pkgconfig
And you don't need to specify ${prefix}/lib/pkgconfig in there because
that's already in the default search paths.
- Josh
More information about the macports-users
mailing list