| 37 | | then the installation will die at some point during the Wx compilation phase. In that case, Alien::wxWidgets will think that you have v 2.6 (even after you install 2.8), so you must remove it before moving forward with the install. (I tried simply force-installing Alien::wxWidgets and it didn't work, for reasons not clear to me.) Here's what you should do: |
| | 37 | then the installation will die at some point during the Wx compilation phase. In that case, Alien::wxWidgets will think that you have v 2.6 (even after you install 2.8), so you must remove it before moving forward with the install. To check if Alien::wxWidgets is incorrect, run this at your command line: |
| | 38 | {{{#!sh |
| | 39 | perl -MAlien::wxWidgets -e 'print Alien::wxWidgets->version, "\n"' |
| | 40 | }}} |
| | 41 | If the output says 2.006### then Alien::wxWidgets needs to be fixed. If it says 2.008###, then this is not a problem. |
| 39 | | * install the wx-2.8 libraries through apt-get, as listed above |
| 40 | | * install App::pmuninstall via CPAN, i.e. |
| 41 | | {{{#!sh |
| 42 | | cpan App::pmuninstall |
| 43 | | # or if you're more modern: |
| 44 | | cpanm App::pmuninstall |
| 45 | | }}} |
| 46 | | * uninstall Alien::wxWidgets: |
| 47 | | {{{#!sh |
| 48 | | pm-uninstall Alien::wxWidgets |
| 49 | | }}} |
| 50 | | * reinstall Wx, as discussed above. |
| | 43 | Before doing any of the following steps, ensure that you have the wx-2.8 dev libs installed via apt-get, as detailed above. The steps that I have tried to fix this problem, in increasing levels of severity, are as follows. After you try each one, you can test if Alien::wxWidgets is properly configured by running the one-liner shown above and checking that the output says 2.008###. |
| | 44 | |
| | 45 | * Force-install Alien::wxWidgets. (This didn't work for me for some reason.) |
| | 46 | * Install App::pmuninstall via CPAN and use it to remove Alien::wxWidgets. Then reinstall Alien::wxWidgets. |
| | 47 | * Remove the Alien::wxWidgets files by hand, then re-install Alien::wxWidgets from cpan. If you are using local::lib, you will find these in ~/perl5/lib/perl5/Alien and ~/perl5/lib/perl5/i686-linux-gnu-thread-multi/Alien. If you are installing these into your system perl, you will find these under similar folders at /usr/local/lib/perl5/..., I believe. |