Ticket #5137 (closed enhancement: fixed)

Opened 2 years ago

Last modified 19 months ago

Support Perl 5.10

Reported by: jeff Owned by: datallah
Milestone: 2.5.0 Component: winpidgin (gtk)
Version: 2.4.0 Keywords:
Cc:

Description

BuildingWinPidgin says to install Perl 5.8. The latest version on http://www.activestate.com/Products/activeperl/ is 5.10.0. Compiling Pidgin with ActivePerl? 5.10.0 installed results in this error:

                 from module.h:12,
                 from BuddyList.xs:1:
../../../../../win32-dev/perl58/CORE/win32iop.h:226:1: warning: "fileno" redefin
ed
In file included from ../../../../../win32-dev/perl58/CORE/win32.h:74,
                 from ../../../../../win32-dev/perl58/CORE/win32thread.h:4,
                 from ../../../../../win32-dev/perl58/CORE/perl.h:2055,
                 from module.h:12,
                 from BuddyList.xs:1:
C:/cygwin/home/_/win32-dev/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../includ
e/stdio.h:402:1: warning: this is the location of the previous definition
BuddyList.c: In function `boot_Purple__BuddyList':
BuddyList.c:1896: error: `PL_unitcheckav' undeclared (first use in this function
)
BuddyList.c:1896: error: (Each undeclared identifier is reported only once
BuddyList.c:1896: error: for each function it appears in.)
make[4]: *** [BuddyList.o] Error 1
make[4]: Leaving directory `/home/_/pidgin/libpurple/plugins/perl/common'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/_/pidgin/libpurple/plugins/perl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/_/pidgin/libpurple/plugins'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/_/pidgin/libpurple'
make: *** [all] Error 2

Also seen here: http://www.nabble.com/Compile-time-error-when-trying-to-build-on-win32-td14475898.html

Change History

Changed 23 months ago by datallah

  • owner set to datallah
  • component changed from libpurple to winpidgin (gtk)

Changed 21 months ago by vizzz

Broken even on linux, on my debian lenny perl has been upgraded to 5.10 and the same error appear.

Changed 19 months ago by datallah@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 2.5.0

(In [a578934a35307604b6eeef4b6b4b07a17901afcb]):
Update the Perl plugin loader to work with Perl 5.10. I don't think this will break compiling with older versions (note that Perl micro versions are not binary compatible). Update the win32 build to use (and require and upgrade to Perl 5.10). Fixes #5137

Note: See TracTickets for help on using tickets.