http://www.perlmonks.org?node_id=671606


in reply to RFC: Setting up a minGW compiling envronment for Perl 5.10

Gtk2 want's cairo installed first. Cairo can't even find cairo-perl.h and cairo-perl-private.h... which are located in it's own build directory. :(

Adding $ENV{GTK_BASEPATH}."\lib\cairo.a" to the end of <code>EXTRALIBS and LDLOADLIBS and added -I$ENV{GTK_BASEPATH}."\lib"  to <code>INC in the Makefile solves most of these issues. Now it cant find auto.h... which is absent from my libraries, so I'm missing a library set somewhere... Ah, bloody line brakes it's actuall </p>cairo-perl-auto.h which is in a sub directory of the biuld directory. Added that to the INC string and it compiles, and tests, and installs!