[cairo] cairo on windows (with perl)

Scott Gardner ssgardner at gmail.com
Mon Jun 21 16:13:14 PDT 2010

Thanks for the suggestions.  I wasn't thinking pkg-config was my problem.
The first time I tried to install Cairo I got this message when
ExtUtils-PkgConfig was being installed.

   'pkg-config' is not recognized as an internal or external command,
   operable program or batch file.
   *** ExtUtils::PkgConfig requires the pkg-config utility, but it doesn't
   *** seem to be in your PATH.  Is it correctly installed?

I run cygwin on my computer so I downloaded the cygwin version of pkg-config
and that error went away.  Now the problem seems to be that cairo.pc is
nowhere on my disk.

   Package cairo was not found in the pkg-config search path.
   Perhaps you should add the directory containing `cairo.pc'

I already download the binaries and source for cairo from
http://www.gtk.org/download-windows.html, but I wasn't able to find a file
called cairo.pc.

The camelbox distribution seems like it would solve my problem so I might
try that.  For now, I started using GD::Graph instead of Chart::Clicker
(requires Cairo) to create some charts.  This all started because I wanted
to install Chart::Clicker to generate some charts.  Cairo won't install so
Chart::Clicker is not an option.

On Mon, Jun 21, 2010 at 12:45 PM, Tor Lillqvist <tml at iki.fi> wrote:

> > pkconfig is a linux only utility.
> No it isn't. It isn't even a Unix-only utility. You can use pkg-config
> just fine on Windows, too. It even has a feature that pkg-config lacks
> on Unix: it automatically re-defines the "prefix" variable read from a
> .pc file to match the location where the .pc file is found. (I.e. one
> can unpack a developer package with .pc file anywhere without need to
> edit the .pc file.) Otherwise it works much like on Unix. And there is
> even a --msvc-syntax option to turn the -L and -l linker options into
> the corresponding Microsoft syntax.
> You can download pkg-config for Windows (and GLib which it requires)
> from http://www.gtk.org/download-windows.html .
> --tml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100621/16648cbc/attachment.html>

More information about the cairo mailing list