----- Original Message ----- From: "Gabor Szabo" <szab...@gmail.com>
To: <win32-vanilla@perl.org>
Sent: Wednesday, September 21, 2011 5:32 PM
Subject: Looking for Cairo for Windows (to have Chart::Clicker)


Hi,

I would like to use https://metacpan.org/module/Chart::Clicker but it needs
https://metacpan.org/module/Cairo which in turn needs
http://www.cairographics.org/

Anyone has managed to install that on Strawberry Perl?

Anyone with the right amount of tuits and experience here to
build an Alien::Cairo that would compile on Strawberry Perl?

If you have an x86 build of Strawberry Perl, a quick solution (which will give you Cairo-1.062) is to:

ppm install http://www.sisyphusion.tk/ppm/Cairo.ppd

(The x64 builds of Strawberry Perl don't have the ppm utility - otherwise it should also work there, too.)

However, I gather that's not what you're really looking for.

With the requisite external libraries in place, I can tell you that Cairo-1.062 builds very easily. IIRC, the only issues I had are that EU::MM believes that '-lfoo' means only 'libfoo.a'. That is, it doesn't allow for the fact that the import lib might be called 'libfoo.dll.a'. Since many of the Gtk+ import libraries do contain the '.dll', a workaround for that has to be devised. I simply created copies of the '.dll.a' import libraries with the '.dll' removed from their names - though there may well be a more sophisticated fix.

Cheers,
Rob

Reply via email to