Padre is becoming an open source IDE for perl which is under heavy development. It is written in Perl with wxwidgets for the GUI. Therefore, it is (almost) platform independent and, as far as I know, the only free perl IDE still being actively developed (no, I neither count vi nor emacs as an IDE, even though you can use it as such). So I tried to installed Padre on my macbook pro. The Padre download pages have detailed instructions on that topic, but for me they never worked. So Iíll document my way, maybe someone else doesnít need to spend one complete evening to install an IDE.
First of all we need to upgrade wxwidgets because leopard uses version 2.8.4. and Padre requires at least version 2.8.8. Therefore, download a source tarball from here. After extracting the file, run the following commands after changing into the newly created directory
../configure --prefix=/usr/ --enable-mediactrl --enable-listctrl --with-opengl
Now youíve got an up-to-date version of wxwidgets. The next step is to install some requirements of Wx and Padre. I had to install the following modules before installing Wx because Wx depends on them, but cpan doesnít resolve the dependency for some unknown reason. So you install the following three modules first:
Some tests of File::HomeDir failed, therefore I forced the installation in the cpan shell via
force install File::HomeDir
I could not use the newest version of Wx supplied by cpan, because it failed to compile (some XS bugs) and cpan onyl provides the newest version of a module, you need to download an older version, I chose 0.95. Before, installed this version by hand, give cpan a try and even if it fails, all dependencies are installed. Then extract the tar file and change in the newly created directory to run:
Now I suggest to change you cpan settings so that cpan will stop an installation if an required module does not install.This makes life simpler to track down modules which need to be installed by force. In the last step you need to start cpan witht the wxperl executable which is done by:
wxPerl -MCPAN -eshell
And you can now install Padre. After an successful installation you can start padre via /usr/local/bin/padre. Enjoy it. And here some screenshots of padre 0.66.
Posted by: DP
keep up your work