| 391 | | Installation of Alien::wxWidgets fails, because configure can't find gtk.h. Simply do: |
| 392 | | |
| 393 | | {{{ $ apt-get install libwxgtk2.8-0 libwxgtk2.8-dev libwxbase2.8-dev libwxbase2.8-0 }}} |
| 394 | | |
| 395 | | and install these other dependencies available from the Ubuntu repository: |
| 396 | | |
| 397 | | {{{ $ apt-get install libmodule-build-perl libextutils-cbuilder-perl libmodule-pluggable-perl g++ }}} |
| 398 | | |
| 399 | | For Ubuntu < 8.10, you'll need to compile wxWidgets from source, so install the -dev package for gtk+ 2.0: |
| 400 | | |
| 401 | | {{{ $ apt-get install libgtk2.0-dev }}} |
| 402 | | |
| 403 | | finally, install the remaining Perl modules via CPAN: |
| 404 | | |
| 405 | | {{{ % sudo cpan ExtUtils::CBuilder Alien::wxWidgets Wx }}} |
| 406 | | |
| 407 | | (NOTE: For Ubuntu < 8.10, be sure to answer "yes" to the following question during the installation of {{{ Alien::wxWidgets }}}) |
| | 391 | First, open a Terminal and run the following command to install some prerequisite packages. Without these dependencies the Alien::wxWidgets CPAN module will most likely fail to install (complaining that "configure can't find gtk.h"). By the time you read this some of these packages may be no longer be dependencies, but if in doubt you'll probably have the most success if you install them all. |
| | 392 | |
| | 393 | {{{ $ sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev libwxbase2.8-dev libwxbase2.8-0 libmodule-build-perl libextutils-cbuilder-perl libmodule-pluggable-perl g++ libgtk2.0-dev libgl1-mesa-dev libglu1-mesa-dev }}} |
| | 394 | |
| | 395 | You can then use the CPAN client to install Padre and its dependencies: |
| | 396 | |
| | 397 | {{{ % sudo cpan ExtUtils::CBuilder Alien::wxWidgets Wx Padre }}} |
| | 398 | |
| | 399 | (NOTE: Although {{{ libextutils-cbuilder-perl }}} is available from the repository, it only contains version 0.18, whereas Padre requires version 0.24 so you need to install ExtUtils::CBuilder from CPAN) |
| | 400 | |
| | 401 | For Ubuntu < 8.10, be sure to answer "yes" to the following question during the installation of {{{ Alien::wxWidgets }}} |