| | 298 | If 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 | |
| | 304 | and on Mac: |
| | 305 | |
| | 306 | {{{ |
| | 307 | $ wxPerl -MWx -le'print "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()' |
| | 308 | }}} |
| | 309 | |
| | 310 | We use Wx 0.87 and wxWidgets 2.8.8 so you probably should have those (or newer) too. |
| | 311 | |
| | 312 | When installing Alien::wxWidgets it will ask if you want to compile wxWidgets. |
| | 313 | '''Do you want to fetch and build wxWidgets from sources?''' |
| | 314 | If you don't have any installed or if you have an old version (< 2.8.8) then you should answer yes. |
| | 315 | It will try to download the source code of wxWidgets which is big and the download often fails. |
| | 316 | |
| | 317 | To get around that you can download the file manually and put it in the extracted directory of |
| | 318 | Alien::wxWidgets. |
| | 319 | |
| | 320 | Something 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 | }}} |