On Thu, 2010-02-11 at 13:59 +0100, Steffen Mueller wrote:
> Hi David,
> 
> David Abbott wrote:
> > Attempting to fix a bug and looking for help.
> > On Perl 5.10.1 Wx-0.97 installs fine.
> > On Perl 5.8.8 Wx-0.97 fails with;
> > /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -noprototypes
> > -nolinenumbers  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap
> > -typemap ../../typemap -typemap typemap  RichText.xs > RichText.xsc &&
> > mv RichText.xsc RichText.c
> > Error: Function definition too short 'INCLUDE_COMMAND: $^X
> > -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp
> > XS/RichTextCtrl.xsp' in RichText.xs, line 65
> 
> I'm pretty sure your ExtUtils::ParseXS is too old. Wx requires a minimum 
> version of ExtUtils::XSpp which in turn requires a minimum version of 
> EU::ParseXS. You might have  missed one of the warnings from 
> Makefile.PL/Build.PL.
> 
> Best regards,
> Steffen
> 

Hi Steffen,

The only difference I can see is between Perl versions;

Perl 5.8.8 box (fails)
[ebuild   R   ] dev-lang/perl-5.8.8-r8  USE="berkdb doc gdbm -build
-debug -ithreads -perlsuid" 0 kB [0]
[ebuild   R   ] perl-core/ExtUtils-ParseXS-2.22.02  0 kB [0]
[ebuild   R   ] dev-perl/ExtUtils-XSpp-0.08  USE="-test" 0 kB [0]
[ebuild  N    ] dev-perl/wxperl-0.97-r1  0 kB [1]

xsubpp -v
xsubpp version 1.9508

Perl 5.10.1 box (ok)
[ebuild   R   ] dev-lang/perl-5.10.1  USE="berkdb gdbm -build -debug
-doc -ithreads" 0 kB
[ebuild   R   ] perl-core/ExtUtils-ParseXS-2.22.02  0 kB
[ebuild   R   ] dev-perl/ExtUtils-XSpp-0.08  USE="-test" 0 kB
[ebuild   R   ] dev-perl/wxperl-0.97  0 kB

xsubpp -v
xsubpp version 2.2202

thanks again

Reply via email to