Hi Steve,

Sorry for confusion - I just meant download the Alien::wxWidgets source from CPAN.

So - download the Alien::wxWidgets source from search.cpan.org.

http://search.cpan.org/CPAN/authors/id/M/MB/MBARBON/Alien-wxWidgets-0.51.tar.gz

Extract the source and in the extract folder and do the following:

perl Build.PL --wxWidgets-extraflags="--enable-graphics_ctx --disable-compat26 --enable-mediactrl --with-libjpeg=builtin --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin --with-zlib=builtin --with-expat=builtin --with-libxpm=builtin" --wxWidgets-build='yes' --wxWidgets-source='tar.gz' --wxWidgets-unicode=1 --wxWidgets-build-opengl=1 --wxWidgets-version=2.8.11

perl Build
perl Build test
sudo perl Build install

Then build your Wx from SVN.

What the above will force is a build of wxWidgets purely for use by Wx rather than Wx relying on installed wxWidgets.

Regards

Mark


On 14/01/2011 20:09, steve.cook...@sca-uk.com wrote:
  Whoops, missed wxp off dist list.
  Hi Mark,

  Thanks for this.

  On Fri 14/01/11 09:13 , Mark Dootson mark.doot...@znix.com sent:
  MD>  If you want Wx::MediaCtrl, (amongst other things ) ensure the runtime

  MD>  and dev libs for gstreamer and freeglut are installed on Ubuntu,

  gstreamer already has all the files it had from 10.4, but I've added one
  more -dev to be on the safe side.

  freeglut was not installed on the 10.4 machine.  I've installed
freeglut3 and freeglut3-dev

  MD>  build Alien::wxWidgets with something like:

  MD>  perl Build.PL --wxWidgets-extraflags="--enable-graphics_ctx
  MD>  --disable-compat26 --enable-mediactrl --with-libjpeg=builtin
  MD>  --with-libpng=builtin --with-regex=builtin --with-libtiff=builtin
  MD>  --with-zlib=builtin --with-expat=builtin --with-libxpm=builtin"
  MD>  --wxWidgets-build='yes' --wxWidgets-source='tar.gz'
  MD>  --wxWidgets-unicode=1 --wxWidgets-build-opengl=1
--wxWidgets-version=2.8.11

  I haven't used Alien before, I've just used:

mkdir wxPerl

cd wxPerl

svn co https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk [1]


cd trunk

perl Makefile.PL

make

make test

make install
  or cpan.

  Ok, Mark, sorry, at this point I've got stuck,

  I installed Alien with:

  apt-get install alien

  But I'm not sure now what directory to run it in.

  Thanks for your input.

  Steve


Links:
------
[1] https://wxperl.svn.sourceforge.net/svnroot/wxperl/wxPerl/trunk


Reply via email to