For the building of the test libraries to succeed (in the 'perl Makefile.PL' step) you need to set the GI_TYPELIB_PATH environment variable to point to the location of the typelib files:
set GI_TYPELIB_PATH=C:\usr\local\lib\girepository-1.0
I think that libffi-6.lib should define those undefined references. Though, for some reason, I also had to include libffi-6 from my Gtk-3 binaries - and my build links to C:/Gtk+3.6.1/lib/libffi.a ... not to C:/usr/local/libffi-6.lib

If you run 'dmake -v' we'll be able to see exactly which libraries it's trying to link to.

I've found a problem for us wrt Gtk3. That module has Cairo::GObject as a pre-requisite ... and I haven't been able to build that pre-requisite module in such a way that it's compatible with G::O::I.
The blocker is that the Cairo module (which is a prereq for Cairo::GObject) won't build against these binaries that we have in C:/usr/local. And if I use a Cairo::GObject that was built against different Gtk binaries, then the whole thing blows up.
Anyway, I guess we try and cross that bridge later ... or just jump off it.

These Glib based perl modules do all sorts of very cute stuff that make it difficult to hack. They're really designed to be built against a single complete set of Glib based binaries ... and we don't seem to have such a set for Windows. (We get some binaries from here, some others from there...)

Cheers,
Rob

In reply to Re^12: Gtk3 Install Problems by syphilis
in thread Gtk3 Install Problems by drdon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.