Hi,

I tried this on a clean Leopard system perl.
It fails as you report.

The problem is that the original xsubpp is left in the @INC before the new one.

Anyhow, I'm unsure how to fix this, but my full steps to getting Wx to work are as follows. Note I would advise that you use a different Perl, but as you asked how to get the system one working

sudo cpan Test::Base
sudo cpan Test::Differences
sudo cpan ExtUtils::MakeMaker
sudo cpan ExtUtils::CBuilder
sudo cpan ExtUtils::ParseXS
sudo cpan ExtUtils::XSpp
sudo cpan Alien::wxWidgets

answer yes when asked if you want to build from sources
answer yes for unicode
answer 2.8.11 for version
answer tar.gz for extension type.

Make coffee

svn export https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk wxsvn

cd wxsvn

export PERL5LIB=/Library/Perl

perl Makefile.PL
make
make test
sudo make install

export PERL5LIB=

sudo cpan Wx::Demo


wxperl_demo.pl

enjoy



On 04/02/2011 17:30, François Robert wrote:

On Feb 04, 2011, at 10:25, Mark Dootson wrote:

Hi,

so

perl -MExtUtils::XSpp -e'print qq($ExtUtils::XSpp::VERSION\n);'

gives you 0.15

?

Regards

Mark

Yes indeed...

Reply via email to