in reply to [Win32, MinGW] Building extensions that access libfoo's foo-config file

I learned from gtk2 there is one script to rule them all :) pkg-config

perhaps you can persuade the gsl/taglib mamas/papas to embrace it?

ExtUtils::PkgConfig - simplistic interface to pkg-config

PkgConfig - Pure-Perl Core-Only replacement for pkg-config

  • Comment on Re: [Win32, MinGW] Building extensions that access libfoo's foo-config file

Replies are listed 'Best First'.
Re^2: [Win32, MinGW] Building extensions that access libfoo's foo-config file
by syphilis (Archbishop) on Aug 31, 2012 at 08:55 UTC
    ExtUtils::PkgConfig - simplistic interface to pkg-config

    Yes, EU::PC works well once it is installed - it's the gtk2 dependency that deters me from promoting it.

    I take it that PkgConfig.pm replaces *both* EU::PC and plg-config ?

    I'll take a closer look at PkgConfig.pm when I get a chance - though unless module authors start using it, there's not so much incentive to look at it.
    Do any modules use it yet ?

    Math-GSL-0.26 used EU::PC, but then they added the gsl-config stuff in 0.27. They still left the EU::PC stuff in there as a fallback, but managed to break it in the process.

    The lib-config approach is certainly nice where it works - no extra modules or packages to install.
    It's just unfortunate that a native Win32 executable version of the lib-config file doesn't get built on Windows.

    Cheers,
    Rob