David,
I had exactly the same problem. It turns out in my case the problem
is that the new version of ExtUtils::ParseXS is being installed into /
Library/Perl rather than /Library/Perl/Updates and since the @INC
search path is /Library/Perl/Updates, then /System/Library/Perl (where
the old, incompatible version lives) followed by /Library/Perl the Wx
build process finds the wrong one.
I was able to work around the problem (after installing all the
necessary modules to satisfy the dependencies) by running the "perl
Makefile.PL" step from inside the unpacked Wx-0.9701 directory like
this:
PERL5LIB=/Library/Perl /usr/bin/perl Makefile.PL --wx-toolkit=mac
Which allowed the newer, correct version of ExtUtils::ParseXS to be
found. That followed by a normal make and make install worked just
fine for me.
Kyle
On Feb 11 2010 at 07:14, David Abbott wrote:
On Thu, 2010-02-11 at 16:01 +0100, Steffen Mueller wrote:
> Hi David,
>
> David Abbott wrote:
> > 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
>
> No idea what output that is. Is ebuild some kind of source package
manager?
Yes
>
> The xsubpp version is the clue, I think. It's part of
ExtUtils::ParseXS.
> *If* you have ExtUtils::ParseXS 2.22 on both computers, the xsubpp
> versions should be the same. Maybe due to the setup of your vendor
(I
> guess these are system perls), the core library is shadowing the
> upgraded ExtUtils::ParseXS/xsubpp?
>
> You can try to:
> - install ExtUtils::XSpp and ExtUtils::ParseXS from CPAN ("sudo cpan
> ExtUtils::XSpp")
> - determine whether there's another xsubpp/ExtUtils::ParseXS
that's not
> being found by your shell/perl because it's shadowed by the one
you're
> running via "xsubpp -v".
>
> Best regards,
> Steffen
>
Thanks so much this steers me in the correct direction :)
Regards,
David