None of my business, I know, but heres a question: why go through reinventing the wheel? Mark has done the hard part. Why not take advantage of that and get on with writing code?
Jeff On Thu, 2012-01-19 at 21:38 -0200, Steve Cookson wrote: > Hi Alexander, > > 1) Alien does use the currently installed version of Wx, but you have to > tell it where it is. There are a lot of emails on this list telling you how > to do it eg: > > http://www.nntp.perl.org/group/perl.wxperl.users/2011/01/msg7803.html > > Many of them are from Mark Dootson to me, trying to help me to understand. > > There are more from Mark here: > > http://www.nntp.perl.org/group/perl.wxperl.users/2011/06.html > > Have you created yourself a script rather than running from the command > line. It'll make it all much easier. > > In fact Mark's installation uses Perl itself to install. You'll find > examples in the above posts. > > 2) I recall that ExtUtils has changed a few times in the last year and that > the changes are required for the most recent Wx from cpan. > > I suggest you make sure that you have the most recent version of the > ExtUtils::ParseXS, I don't recall the syntax. > > Good luck and keep posting. I'll keep watching. > > Regards > > Steve > > > -----Original Message----- > From: ademmler [mailto:[email protected]] > Sent: 19 January 2012 14:01 > To: [email protected] > Subject: Wx installation fails > > Hi folks, > > I am trying to install Wx fresh from scratch. > My base is macports + wxWdigets + perl 5.12. > Than I go to cpan and install Wx. > > 1. Why does Alien::Wx does not uses the allready install WxWidgets? > 2. Why does Wx crahses while install - see below. > > thx Alexander > > # ------------------------------------------------------------------- # > Running install for module 'Wx' > Running make for M/MD/MDOOTSON/Wx-0.9903.tar.gz > Has already been unwrapped into directory > /Users/ademmler/.cpan/build/Wx-0.9903-ofU3Uj > > CPAN.pm: Going to build M/MD/MDOOTSON/Wx-0.9903.tar.gz > > /opt/local/bin/perl /opt/local/lib/perl5/5.12.3/ExtUtils/xsubpp > -noprototypes -nolinenumbers -typemap > /opt/local/lib/perl5/5.12.3/ExtUtils/typemap -typemap ../../typemap -typemap > typemap RichText.xs > RichText.xsc && mv RichText.xsc RichText.c > Undefined subroutine &ExtUtils::ParseXS::errors called at > /opt/local/lib/perl5/5.12.3/ExtUtils/xsubpp line 41. > make[2]: *** [RichText.c] Error 255 > make[1]: *** [subdirs] Error 2 > make: *** [subdirs] Error 2 > MDOOTSON/Wx-0.9903.tar.gz > /usr/bin/make -- NOT OK > Running make test > Can't test without successful make > Running make install > Make had returned bad status, install seems impossible > Failed during this command: > MDOOTSON/Wx-0.9903.tar.gz : make NO > > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________
