Changes between Version 46 and Version 47 of Download


Ignore:
Timestamp:
Nov 24, 2008, 10:23:11 PM (6 years ago)
Author:
szabgab
Comment:

instructions for wxWidgtes installation

Legend:

Unmodified
Added
Removed
Modified
  • Download

    v46 v47  
    296296== wxWidgets and wxPerl == 
    297297 
     298If you have trouble you can check which version of wxWidgets you have: 
     299 
     300{{{ 
     301$ perl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()' 
     302}}} 
     303 
     304and on Mac:  
     305 
     306{{{ 
     307$ wxPerl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()' 
     308}}} 
     309 
     310We use Wx 0.87 and wxWidgets 2.8.8 so you probably should have those (or newer) too. 
     311 
     312When installing Alien::wxWidgets it will ask if you want to compile wxWidgets.  
     313'''Do you want to fetch and build wxWidgets from sources?''' 
     314If you don't have any installed or if you have an old version (< 2.8.8) then you should answer yes. 
     315It will try to download the source code of wxWidgets which is big and the download often fails. 
     316 
     317To get around that you can download the file manually and put it in the extracted directory of 
     318Alien::wxWidgets. 
     319 
     320Something like this: 
     321 
     322{{{ 
     323 $ cd /tmp 
     324 $ wget http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.8.tar.gz 
     325 $ cpan 
     326 cpan> look Alien::wxWidgets 
     327 $ cp /tmp/wxWidgets-2.8.8.tar.gz . 
     328 $ perl Makefile.PL 
     329 $ make 
     330 $ make test 
     331 $ make install 
     332 $ exit 
     333 cpan>quit 
     334 $ 
     335}}} 
    298336[http://www.nntp.perl.org/group/perl.wxperl.users/2008/07/msg5992.html wxPerl on Linux distributions] 
    299337