-----Original Message-----
From: Brian Manning via RT [mailto:bug-Gtk2@rt.cpan.org]
Sent: Monday, November 30, 2015 10:42 AM
To: Turner, Vance
Subject: [rt.cpan.org #109154] Cygwin Failure to compile under CPAN
<URL:
https://rt.cpan.org/Ticket/Display.html?id=109154 >
On Thu Nov 19 14:33:33 2015, Vance.Turner@Staples.com<mailto:Vance.Turner@Staples.com> wrote:
> Cairo was updated earlier in the day, and I will double check its
> issues.
>
> Cygwin 64
>
> cpan[11]> upgrade
>
> Package namespace installed latest in CPAN file
> Gtk2 1.2495 1.2496 XAOC/Gtk2-1.2496.tar.gz
We'll need a lot more information than you've given us if you want us to troubleshoot this.
At a minimum we would need the installed versions of the C libraries (libcairo, libgtk+2, libglib, libpango), what version of Cairo you upgraded from and upgraded to. We'd also need the Windows release, and it looks like you're running some kind of 64-bit Windows. The versions of the Gtk-Perl modules you're using would be nice too.
Thanks,
Brian
> Running install for module 'Gtk2'
> Checksum for
> /home/turva001/.local/share/.cpan/sources/authors/id/X/XA/XAOC/Gtk2-
> 1.2496.tar.gz ok
> Configuring X/XA/XAOC/Gtk2-1.2496.tar.gz with Makefile.PL Including
> generated API documentation...
> Checking if your kit is complete...
> Looks good
> Generating a Unix-style Makefile
> Writing Makefile for Gtk2
> Writing MYMETA.yml and MYMETA.json
> XAOC/Gtk2-1.2496.tar.gz
> /usr/bin/perl Makefile.PL -- OK
> Running make for X/XA/XAOC/Gtk2-1.2496.tar.gz
[snipped]
> rm -f blib/arch/auto/Gtk2/Gtk2.dll
> [ LD blib/arch/auto/Gtk2/Gtk2.dll ]
> xs/GtkPrintContext.o: In function
> `XS_Gtk2__PrintContext_get_cairo_context':
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GtkPrintContext.c:181: undefined reference to
> `cairo_reference'
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GtkPrintContext.c:181:(.text+0xed0): relocation truncated to
> fit: R_X86_64_PC32 against undefined symbol `cairo_reference'
> xs/GdkCairo.o: In function
> `XS_Gtk2__Gdk__Window_get_background_pattern':
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.c:418: undefined reference to
> `cairo_pattern_reference'
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.c:418:(.text+0x90): relocation truncated to fit:
> R_X86_64_PC32 against undefined symbol `cairo_pattern_reference'
> xs/GdkCairo.o: In function
> `XS_Gtk2__Gdk__Window_create_similar_surface':
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.c:395: undefined reference to
> `cairo_surface_reference'
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.c:395:(.text+0x262): relocation truncated to fit:
> R_X86_64_PC32 against undefined symbol `cairo_surface_reference'
> xs/GdkCairo.o: In function `XS_Gtk2__Gdk__Cairo__Context_rectangle':
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.xs:90: undefined reference to `cairo_rectangle'
> /home/turva001/.local/share/.cpan/build/Gtk2-1.2496-
> r_O49k/xs/GdkCairo.xs:90:(.text+0xb64): relocation truncated to fit:
> R_X86_64_PC32 against undefined symbol `cairo_rectangle'
> collect2: error: ld returned 1 exit status
> Makefile:1502: recipe for target 'blib/arch/auto/Gtk2/Gtk2.dll' failed
> make: *** [blib/arch/auto/Gtk2/Gtk2.dll] Error 1
> XAOC/Gtk2-1.2496.tar.gz
> make -- NOT OK