Ok - I've done all of that.
Where did you get libxml-2 from ? I've already got it, but it's a static build I've built myself, and the fact that it's static might cause problems later on. Also, for this exercise, it's probably best that I use the same binaries as you.

I have run 'perl Makefile.PL', and it all went fine for me once the PKG_CONFIG_PATH variable was set correctly.
Of course, MakeMaker claims that the following libraries can't be found:
Note (probably harmless): No library found for -lGlib Note (probably harmless): No library found for -lGtk2 Note (probably harmless): No library found for -lCairo Note (probably harmless): No library found for -lgtk-win32-2.0 Note (probably harmless): No library found for -lgdk-win32-2.0 Note (probably harmless): No library found for -latk-1.0 Note (probably harmless): No library found for -lgio-2.0 Note (probably harmless): No library found for -lgdk_pixbuf-2.0 Note (probably harmless): No library found for -lpangowin32-1.0 Note (probably harmless): No library found for -lgdi32 Note (probably harmless): No library found for -lpangocairo-1.0 Note (probably harmless): No library found for -lpango-1.0 Note (probably harmless): No library found for -lcairo Note (probably harmless): No library found for -lgobject-2.0 Note (probably harmless): No library found for -lgmodule-2.0 Note (probably harmless): No library found for -lgthread-2.0
so 'dmake' soon fails with lots of undefined references. But note that there's no mention of not having found libxml-2.0 and libglade-2.0. Not yet sure what's happening there.

I refuse to install anything into a path that contains white space, so I installed Gtk+ into C:\Gtk+. But I don't yet know if that explains why you get the error, and I don't. My libglade-2.0.pc looks like:
prefix=c:/libglade exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include # so people can do "pkg-config --variable moduledir libglade-2.0" # (which is broken - users can now use the LIBGLADE_MODULE_PATH # environment variable moduledir=${libdir}/libglade/2.0 Name: Libglade Description: a library for dynamically loading GLADE interface files Version: 2.6.4 Requires: gtk+-2.0 libxml-2.0 Libs: -L${libdir} -lglade-2.0 Cflags: -I${includedir}/libglade-2.0
May be you can spot something there that accounts for the failure you're getting, though $prefix doesn't look right to me (C:/libglade doesn't even exist) ... something else to think about.

I'll keep digging. In the meantime, if you can fill me in with that libxml-2 info I asked for above, that might help later on.

Cheers,
Rob

In reply to Re^5: install Gtk2::GladeXML by syphilis
in thread install Gtk2::GladeXML by promachos

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.