ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ppm
ppm
Re: Wx.pm as ppm from ActiveState?
by Mark Dootson other posts by this author
Oct 8 2009 7:28PM messages near this date
view in the new Beta List Site
Re: Wx.pm as ppm from ActiveState? | PPM broken ?
Hi,

Sorry - no experience with msys shell. If memory serves correctly, 
discussions on wxperl list in the past suggested it is not possible.

I normally build in a native cmd shell with

mingw32-make -f makefile.gcc

prerequisites - edit config.gcc to your requirements and apply relevant 
patch(es) from Alien::wxWidgets dist.

If you want wxGraphicsContext support you'll need an MS Platform SDK 
installed (server 2003 as a minumum I think) You may also need some 
editing of the gdiplus headers. (last time I checked, the mingw folks 
hadn't decided on a satisfactory (legal) way to package these.).
What is the point of wxGraphicsContext - on MSWin you get drawing based 
on gdiplus (alpha channel support for device context drawing etc) and on 
GTK you get cairo. So, if you're developing a cross platform app that 
uses any significant drawing functions - you need it.

Never tried a static build - I imagine this may prevent you building 
additional Wx xs modules (Wx::TreeListCtrl, Wx::ActiveX etc).

I do use a monolithic build - which reduces number of required dlls to 4
(mingw-runtime, monolithic, stc, gl)

--prefix is Module::Build equivalent of PREFIX argument to Makefile.PL - 
so optional.

Regards

Mark


Sisyphus wrote:
>  
>  ----- Original Message ----- From: "Mark Dootson" <mark.dootson@[...].com>
>  
> > or if you have a pre-built wxWidgets
> >
> > environment - set WXDIR=C:\Path\to\wxWidgets
> > perl Build.PL
> >     --wxWidgets-build=0
> >     --wxWidgets-unicode=1
> >     --wxWidgets-mslu=1
> >     --wxWidgets-portable=1
> >     --prefix /your/path/to/prefix
>  
>  If I'm pre-building wxWidgets in the msys shell, what arguments do I 
>  need to give './configure' for this to work ?
>  
>  Presumably '--enable-unicode' would be one argument, but what's the 
>  corresponding arg regarding mslu ('--enable-mslu' perhaps) ?
>  I'm also wondering what the '--prefix' stuff is about.
>  And is it ok to build a static lib, or must I build dll's ?
>  
>  The source that I have is wxMSW-2.8.10.zip. It builds fine in the msys 
>  shell, but the Alien-wxWidgets-0.44 'perl Build' process cannot find the 
>  library (though $ENV{WXDIR} is set correctly) and I haven't yet worked 
>  out how to deal with this.
>  
>  It's unlikely that ActiveState will be using the MSYS shell to build 
>  wxWidgets for their PPM - so, to that extent, this post is irrelevant, 
>  if not OT.
>  
>  Cheers,
>  Rob

_______________________________________________
PPM mailing list
PPM@[...].com
http://listserv.ActiveState.com/mailman/listinfo/ppm
Thread:
Gabor Szabo
Jan Dubois
Mark Dootson
Sisyphus
Mark Dootson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved