Front page | perl.wxperl.users |
Postings from January 2013
wxPerl Installation
Thread Next
From:
Steve Cookson
Date:
January 5, 2013 17:44
Subject:
wxPerl Installation
Message ID:
CA+aVP6idyAKtY4z67q3MpL+hbw5kxKnzitBAG_H80iXMfnNcRA@mail.gmail.com
Hi Guys,
It's very exciting that the Wiki is up and running again. I can't
believe I haven't had a sign-on all these years. I thought I did, but
when I went in, I couldn't log on. Anyhow, Johan has kindly sent me a
new one. I've made a couple of small changes already, but it would be
really nice if there was a really simple install section for new
users. I feel the bar is a bit high for any Linux user who just wants
to try it out.
It's a long time since I had a serious wxPerl install problem, but I
recall in the early days it was quite problematic. However, I still
see installation queries around. Generally Windows seems easier than
Linux. Is there anyone out there still having problems? We should
fix these right away.
The ways I used were:
On Windows:
- ActiveState PPM gui - very very easy, but not always the most recent
version, but everything is installed including wxMediaCtrl and
dependencies.
- I had thought there was a windows installer, foobar.exe or
foobar.msi or something, but I can't see that now.
On Linux:
- apt-get install libwx-perl (I'm not sure what version this will
give, but it seemed to give me MediaCtrl at least, I'm also not sure
which version it gave me, however should be great for new users).
- cpan -i Wx (I believe this works but unless you install the
dependencies in http://wiki.wxperl.nl/w/index.php/Ubuntu_LTS_12_Notes,
you won't get MediaCtrl or OpenGL. I don't know why this is. Most
cpan modules I install, I get numerous install messages saying
"pre-pending install dependencies" or something, so I don't understand
why cpan does not do this for MediaCtrl or OpenGL)..
Now, I'm on Kubuntu 12.04 LTS, my wxWidgets is customised for
MediaCtrl and RichTextCtrl and my installation script uses svn to
compile Wx with MediaCtrl, RichTextCtrl. Although I tried to install
OpenGL, it never actually worked. As I don't use it, I've not put any
effort into finding out why.
My script, which runs to 73 lines, covers installing:
- the basics: make, gcc, g++ and svn,
- the print framework dependencies like gnomeprintui and cups,
- the gstreamer environment for MediaCtrl on Linux (about 11 packages)
- other dependencies which I don't pretend to understand, like
libgconf2-dev and libgtk2.0-dev
- Alien-wxWidgets
- wxPerl
I would value your comments, but really, it seems to me that a new
user should be able to install the capability play a video or print a
richtext document with just the command cpan -i Wx or cpan -i Wx::Demo
(which should install Wx as a dependency). Is there any reason why it
doesn't do this?
How do you install wxPerl? Is it a smooth process for you?
Regards
Steve
Thread Next
-
wxPerl Installation
by Steve Cookson