RE: How to add a new module to Wx

2010-04-22 Thread Steve Cookson
Hi Mattia, Thanks very much for that. It worked perfectly. I don't know whether it's because I'm on Kubuntu, or just that my directory structure is different, but the steps I used were: $ sudo -s $ [password] $ svn co https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk # Upper case

Re: How to add a new module to Wx

2010-04-21 Thread Mattia Barbon
Steve Cookson wrote: Hi, Mark Dootson said: What does aptitude show g++ | grep State: give you? Hi Mark, Good point, I noticed that but I wan't sure it was important. This is what I get. State: not installed. I've now installed it (but I don't understand how it's been working up

RE: How to add a new module to Wx

2010-04-20 Thread Steve Cookson
I don't have full access to everything on Windows, so I need to continue my testing on Linux. OK, now I'm on Linux and I've tried to install from CPAN, I have some errors and 97.01 won't install. Sorry about the length of the dump, but there are some errors at the beginning and at the end. The

RE: How to add a new module to Wx

2010-04-16 Thread Steve Cookson
Hi Mark and Mattia, First, a big thank you to both of you, Mark for the wrapping and Mattia for surreptitiously updating it into the RichText demo. I had similar difficulties to Alexander with updating the wxPerl, and so I uninstalled Perl 5.8 and installed 5.10 and then reinstalled wx. I

RE: How to add a new module to Wx

2010-04-14 Thread Steve Cookson
Hi Mark, Thanks again for this. I'm happy to test the revisions you very kindly made. But I'm not clear how to start. I've been happily coding in wxPerl for the last year or so and using Perl as the glue to call other applications, like SWI-Prolog (which is amazing, if you haven't tried it)

Re: How to add a new module to Wx

2010-04-14 Thread Mark Dootson
Hi, If you have a working Perl + compiler combination, then the standard stuff should work :- Download tarball or svn for Alien-wxWidgets: In the source: perl Build.PL perl Build perl Build test perl Build install Download tarball or svn for Wx In the source: perl Makefile.PL perl make

RE: How to add a new module to Wx

2010-04-14 Thread Steve Cookson
Hi Mark, Thanks for this. I'll probably take the second option. I'll let you know when I have it working. Do you think it will work on Linux too? Should I know what Alien is? It seems like some sort of framework for installing wxPerl. I looked at the doc on CPAN, but I wasn't much clearer.

Re: How to add a new module to Wx

2010-04-13 Thread Mark Dootson
Hi, I thought I'd chip in with a populated template for Steve to test. However, basic testing here brought up a problem. wxRichTextPrinting has no wxRTTI information (there's no IMPLEMENT_CLASS macro) so the wxPerl code ( wxPli_object_2_sv ) throws warnings. The attached patch wraps

Re: How to add a new module to Wx

2010-04-13 Thread Mattia Barbon
Mark Dootson wrote: Hi, I thought I'd chip in with a populated template for Steve to test. However, basic testing here brought up a problem. wxRichTextPrinting has no wxRTTI information (there's no IMPLEMENT_CLASS macro) so the wxPerl code ( wxPli_object_2_sv ) throws warnings. The

Re: How to add a new module to Wx

2010-04-10 Thread Mattia Barbon
Steve Cookson wrote: Hi, I'm not sure whether I should be sending this to the group or directly to Mattia Better to the group (it will be in the archives, and there are other people beside me that have some experience in wrapping wxWidgets classes). but I'm trying to understand how to