Hi Guys,

Here is my latest attempt at getting Wx::MediaCtrl on Kubuntu 11.04.

First the good news.  I can get the wxWidgets sample code running.  And I
can get my webcam to stream to me from my webcam, and it records!!!

However, now having got my wxWidgets install going nicely I want to run
Alien to install all the as the basis of my wxPerl installation.

This is is the install for wxWidgets.  There are a lot of dependencies,
which I haven't shown, but these are the key commands:

# Install wxWidgets c++ modules.

wget -r -nd
http://tenet.dl.sourceforge.net/project/wxwindows/2.9.2/wxWidgets-2.9.2.tar.bz2
tar -xjvf wxWidgets-2.9.2.tar.bz2
cd wxWidgets-2.9.2
mkdir build-GTK
cd build-GTK
../configure --with-gtk --enable-debug --enable-mediactrl
--prefix=/var/local/wxtesting-2.9.2/widgets
make
make install
ldconfig

# At this point stop and do some testing

cd /home/image/wxWidgets-2.9.2/build-GTK/samples/mediaplayer/
make
./mediaplayer

So here we have mediaplayer running under c++.

The next bit is the bit that doesn't work:

# Alien widgets
tar -xzvf wxperl-alien-3083.tar.gz
mv trunk wxperl-alien-3083
cd wxperl-alien-3083
export LD_LIBRARY_PATH=/var/local/wxtesting-2.9.2/widgets/lib
export PERL5LIB=/var/local/wxtesting-2.9.2/perl/lib
perl Build.PL --wxWidgets-extraflags="--with-gtk --enable-debug
--enable-mediactrl --prefix=/var/local/wxtesting-2.9.2/widgets"
--wxWidgets-build='no' --wxWidgets-version=2.9.2
--prefix=/var/local/wxtesting-2.9.2/perl
perl Build test

This gives me:

WARNING: the following files are missing in your kit:
        Makefile.PL
        META.yml
Please inform the author.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Alien-wxWidgets' version '0.52'
root@image-Adesktop:~/wxperl-alien-3083# perl Build test
'media' library not found: some functionality will be missing
t/01_load.t .......... ok
t/zy_pod_coverage.t .. skipped: Test::Pod::Coverage 1.00 required for
testing POD coverage
t/zz_pod.t ........... skipped: Test::Pod 1.00 required for testing POD
All tests successful.
Files=3, Tests=1,  1 wallclock secs ( 0.10 usr  0.01 sys +  0.63 cusr  0.16
csys =  0.90 CPU)
Result: PASS

Note the "'media' library not found: some functionality will be missing"
message.

Have I not got my paths right? I suspect not.

If I then do perl Build install I get:

make[2]: Entering directory `/home/image/WxBuild/ext/media'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/image/WxBuild/ext/media'

Which I get in every other stage of the Wx installation.

What do you think guys?

I look forward to your ideas.

Regards

Steve

Reply via email to