How to install ExtUtils :: PkgConfig in Perl on Windows?

I have tried cpan and cpanp shell and I keep getting:

ExtUtils::PkgConfig requires the pkg-config utility, but it doesn't seem to be in your PATH. Is it correctly installed? 

What is pkg-config utility and how to install it?

Updates:

  • OS: Windows
  • This module is a prerequisite for the File :: Extractor module.
+4
source share
5 answers

see here: http://gtk2-perl.sourceforge.net/win32/howto_build_gtk2perl_win32.html I found this googling page for ExtUtils :: PkgConfig and "PPM" (Actvestates Perl Package Manager).

+6
source

http://pkgconfig.freedesktop.org/wiki/

pkg-config is a helper tool used to compile applications and libraries. Depending on your OS, you can get a binary distribution (e.g. apt-get on Ubuntu), otherwise you can get the source code from your website.

+3
source

pkg-config is used to compile applications and libraries. It is really used to insert the correct command line arguments.

It is installed on most new releases of Linux, but is fairly common if it does not exist initially, so it should not be too hard to find.

Here's how to install it on ubuntu:

  sudo apt-get install pkg-config 

Here is the wikipedia page:

http://en.wikipedia.org/wiki/Pkg-config

+3
source

I found the Windows binaries for the pkg-config utility here: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/

(The link was found here: http://www.go-evolution.org/Building_Evolution_on_Windows )

Update: direct download link from gtk.org : pkg-config-0.23-2.zip

Thanks for the pointers!

+3
source

The best source for Windows binaries for pkg-config is the gtk site

0
source

Source: https://habr.com/ru/post/1276985/


All Articles