Cool - that did it. Good spotting. I guess the 'xspp' that was in the $path was from another perl installation.
Many thanks for your prompt response and help On Monday 18 April 2011 14:31, Mark Dootson wrote: > Hi, > > Sorry, no immediate solution from me then. > I do get XSpp errors sometimes if I try to re-build in an existing tree. > > I shall take a look at 2.9.1 + Linux x86_64 later in the week if you > don't have an answer by then. > > The only thing to 'try' which should not, but might make a difference is > to ensure your target Perl is first on the path > > e.g. > mkdir /users/stephen/wx_project/build > cd /users/stephen/wx_project/build > svn export > https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk wxPerl > cd wxPerl > export PATH=/users/stephen/wx_project/perl/x86_64/perl/bin:$PATH > perl Makefile.PL > make > > or something similar. > > Regards > > Mark > > > > On 18/04/2011 21:25, Stephen Brickles wrote: > > Latest ExtUtils::XSpp is already installed. > > ExtUtils::XSpp is up to date (0.1601). > > The tree was clean - I did the following: > > > > svn co http://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk > > cd trunk > > /users/stephen/wx_project/perl/x86_64/perl/bin/perl Makefile.PL > > make > > > > Let me know if you need more data. > > > > Stephen > > > > On Monday 18 April 2011 11:47, Mark Dootson wrote: > >> Hi, > >> > >> Make sure you have latest ExtUtils::XSpp from CPAN. > >> > >> Make sure you are building in a clean tree. > >> > >> Regards > >> > >> Mark > >> > >> > >> > >> On 18/04/2011 19:40, Stephen Brickles wrote: > >>> I am trying to build the latest trunk from svn for Wx so I can test out > >>> the new image button code. > >>> However it fails with the following error: > >>> > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/xsubpp > >>> -nolinenumbers -noprototypes -typemap > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/typemap > >>> -typemap typemap Constant.xs> Constant.xsc&& mv > >>> Constant.xscConstant.c > >>> g++ -pthread -c -I. -I. > >>> -I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/site_perl/5.12.3/x86_64-linux/Alien/wxWidgets/gtk_2_9_1_uni/lib/wx/include/gtk2-unicode-2.9 > >>> > >>> -I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/site_perl/5.12.3/x86_64-linux/Alien/wxWidgets/gtk_2_9_1_uni/include/wx-2.9 > >>> -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE > >>> -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"0.98\" -DXS_VERSION=\"0.98\" > >>> -fPIC > >>> "-I/users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/x86_64-linux/CORE" > >>> -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ Constant.c > >>> Constant.c: In function `void XS_Wx_constant(CV*)': > >>> Constant.c:3411: warning: passing `double' for converting 1 of `SV* > >>> Perl_newSViv(IV)' > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl > >>> -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp XS/ItemContainer.xsp> > >>> XS/ItemContainer.xs > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl > >>> -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp > >>> XS/ItemContainerImmutable.xsp> XS/ItemContainerImmutable.xs > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/xsubpp > >>> -nolinenumbers -noprototypes -typemap > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/lib/5.12.3/ExtUtils/typemap > >>> -typemap typemap Controls.xs> Controls.xsc&& mv > >>> Controls.xscControls.c > >>> Error: 'wxPlHeaderCtrlSimple *' not in typemap in > >>> /users/stephen/wx_project/perl/x86_64/perl_5.12.3/bin/perl > >>> -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp > >>> interface/wx/headerctrl.h, line 534 > >>> Warning: duplicate function definition 'SetSelection' detected in > >>> XS/ComboBox.xs, line 176 > >>> make: *** [Controls.c] Error 1 > >>> > >>> Any ideas ? > >>> I already installed the latest Alien code first. > >>> > >>> Thanks, > >>> Stephen. > >>> > >> > >> > >> > > >