develooper Front page | perl.wxperl.users | Postings from April 2012

Re: Error installing Alien::wxWidgets with CPAN

Thread Previous | Thread Next
From:
Mark Dootson
Date:
April 12, 2012 14:08
Subject:
Re: Error installing Alien::wxWidgets with CPAN
Message ID:
4F874420.30001@znix.com
Hi,

On 12/04/2012 20:48, Brian Jones wrote:
> Sounds good.  My only follow up question then is how to go about setting up the CPAN install to build the wxWidgets DLLs in the configuration and version that I want them to be?  I changed those variables and it immediately started to pull down 2.8.12, but I'm using 2.9.2 in the project I'm working on.

For a CPAN install you cannot do this until WXDIR / WXWIN handling is 
fixed in the next CPAN release.

You can, of course, build Alien::wxWidgets outside of cpan from the 0.57 
source.

For example,

perl Build.PL --wxWidgets-build=1 --wxWidgets-source=tar.bz2 
--wxWidgets-unicode=1 --wxWidgets-build-opengl=1 
--wxWidgets-graphicscontext=1 --wxWidgets-mslu=0 
--wxWidgets-version=2.9.3 --wxWidgets-extraflags="USE_QA=1"

perl Build
perl Build test
perl Build install

I'll release an updated 0.58 of Alien::wxWidgets as soon as I can 
complete testing a fix.

For general info, on Windows use WXDIR/WXWIN (when it is working) to 
specify a pre-built wxWidgets. On other platforms put the required 
wx-config first on your path.


Regards

Mark



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About