Hi,
I would advise to stick with the 2.8 branch for now.
A script to install wxWidgets using Alien::wxWidgets pasted below.
Assumes you have all dependencies. (install freeglut and freeglut-dev
for the openGL build to work).
Download and extract the Alien::WxWidgets source from
http:/search.cpan.org. Then in the extracted directory su or sudo a
script containing the Perl below.
I think if wxWidgets configure finds gstreamer dependencies, it would
build mediactrl - but I forget. Anyhow, below script is explicit:
use strict;
use warnings;
my $wxversion = '2.8.12';
my $extraflags = '--with-opengl --enable-graphics_ctx --disable-compat26
--enable-mediactrl';
my $command = qq(perl Build.PL --wxWidgets-extraflags=\"$extraflags\"
--wxWidgets-build='yes' --wxWidgets-source='tar.gz'
--wxWidgets-unicode=1 --wxWidgets-build-opengl=1
--wxWidgets-version=$wxversion);
system($command) and die 'Failed during perl Build.PL';
system("perl Build") and die 'Failed during perl Build';
system("perl Build test") and die 'Failed during perl Build test';
system("perl Build install") and die 'Failed during perl Build install';
1;
On 30/06/2011 03:01, Steve Cookson wrote:
Hi Guys,
I've been getting into trouble on the wx-users list for complaining that the
install script does not install wxMediaCtrl by default. And apparently it
does - in 2.9.x. However, I have yet to verify this for myself.
I was about to ask you when this would happen, but I see wxPerl has had
2.9.x compatibility since August last year (I only have 2.8.10).
So, how do I go about upgrading my version? Is there a script somewhere?
Maybe I have to use Alien. I'd appreciate a pointer.
Have a good day.
Regards
Steve