in reply to Re^25: gmake error on Glib compile
in thread gmake error on Glib compile

Some sort of collation into a single process would be very helpful. Once that's in place many of the steps could be automated given much of it is text munging.

Replies are listed 'Best First'.
Re^27: gmake error on Glib compile
by syphilis (Archbishop) on Sep 07, 2023 at 14:52 UTC
    Some sort of collation into a single process would be very helpful.

    Agreed.
    For simplicity, I would recommend using MSYS2's pkg-config.exe instead of Strawberry's pkg-config.bat.
    I would also recommend using ExtUtils-Depends-0.8000 instead of the latest version 0.8001 which does not create the auto/Glib/Glib.a, auto/Cairo/Cairo.a, etc. import libraries. See https://rt.cpan.org/Public/Bug/Display.html?id=147200.
    It's not mandatory to accept either of those recommendations, but there are issues that will be avoided if those recommendations are followed.

    Thirdly, when building Glib-Object-Introspection, protect yourself against https://rt.cpan.org/Public/Bug/Display.html?id=149570 either by ensuring that $ENV{PATH} terminates with a semi-colon, or by grabbing the Glib-Object-Introspection source from the gitlab repo.

    I think the only issues to then contend with are the cases where EXTRALIBS/LDLOADLIBS are not set correctly in the Makefile, or a static library gets used instead of a dll's import library.

    Cheers,
    Rob