Text-Trac

 view release on metacpan or  search on metacpan

t/expected/padre_download_osx_noclass_noid_nospan.html  view on Meta::CPAN

<p>
[[PageOutline(1-5, Table of Contents, floated)]]
= DMG Betas =
</p>
<p>
As a beta release, Padre is available as a packaged Application for OsX.
</p>
<p>
See this page for the latest DMG: <a  href="http://wildperl.com/padreonosx/">http://wildperl.com/padreonosx/</a>
</p>
<p>
This is a beta and we could really use your help. We need more OSX testers, and any help you can give us, even saying it runs fine for you, is important.
</p>
<p>
Open tickets can be found here: <a  href="/wiki/osxbugs">osxbugs</a>, and <a  href="http://widget.mibbit.com/?server=irc.perl.org&channel=%23padre">hop on to IRC</a> as the best way to report any issues and give feedback.
</p>
<h1>Installation from source</h1>
<p>
There are several methods of installing Padre from source. As such, they require some familiarity with command-line usage of OsX.
</p>
<p>
**System Perl vs User Perl:** Padre requires a 32bit version of Perl and wxWidgets 2.8.12. These are not the default on OsX. Additionally, the default &quot;system&quot; perl on OsX may be altered or changed in the course of software updates from App...
</p>
<p>
**Xcode:** On OsX most of the common development utilities that are referenced by perl (gcc, make, etc) are provided by installing Xcode. The instruction sets below assume that you have installed these or reasonable substitutes on your system, that t...
</p>
<p>
**Wx Tests:** There will be a point where you are compiling Wx. The tests for Wx involve generating many window primitives. These tests will fail if they are run inside of a gnu-screen or ssh session. (The error message might be a bit strange: statin...
</p>
<h2>Option 1 - Installation with Citrus Perl</h2>
<p>
Cirtus Perl is a portable distribution of perl that has pre-built Wx binaries and integration. A shortened form of installation instructions is below. Refer to the installation instructions on the download page below if you want full details.
</p>
<p>
- Download Citrus Perl from <a  href="http://www.citrusperl.com/platform/macosx.html">http://www.citrusperl.com/platform/macosx.html</a>
- Unpack Citrus Perl into your favorite dev location:
<tt>#!sh
</p>
<blockquote>
<p>
  cd ~/dev
  tar xzvf ~/Downloads/citrusperl-standard-51402-20903-osx-i32-014.tar.gz
</p>
</blockquote>
<p>
<tt>
- This has created a &quot;</tt>CitrusPerl<tt>&quot; directory that has a fully isolated install of perl, including Wx. You can also use CPAN to add to this perl without polluting your system's install of perl with additional modules. (Also meaning t...
- Configure Cirtus Perl to work in its new location
</tt>#!sh
</p>
<blockquote>
<p>
  ./CitrusPerl/bin/relocateperl
  ./CitrusPerl/bin/citrusvars.sh
</p>
</blockquote>
<p>
<tt>
- At this point you can put Citrus Perl in your path. Set it ahead of other entries by putting the line below as the last line in your </tt>.bash_profile<tt>. That will make any command line invocation of </tt>perl<tt> or </tt>cpan<tt> use Citrus Per...
</tt>#!sh
</p>
<blockquote>
<p>
  export PATH=/Users/joe/dev/CitrusPerl/bin:$PATH
</p>
</blockquote>
<p>
<tt>
- Reload your </tt>.bash_profile<tt> to use the new path
</tt>#!sh
</p>
<blockquote>
<p>
  source ~/.bash_profile
</p>
</blockquote>
<p>
<tt>
- To install Padre, use </tt>cpan<tt> and run the command </tt>install Padre<tt>. This will build all required dependencies along the way, so it will take some time.
</tt>#!sh
</p>
<blockquote>
<p>
  cpan
  &gt; install Padre
  &gt; exit
</p>
</blockquote>
<p>
<tt>
- Padre should now be in your path and usable on the command line
</tt>#!sh
</p>
<blockquote>
<p>
  padre
</p>
</blockquote>
<p>
<tt>
</p>
  padre
  cpan
  source ~/.bash_profile
  export PATH=/Users/joe/dev/CitrusPerl/bin:$PATH
  ./CitrusPerl/bin/relocateperl
<h2>Option 2 - Installation with Mac Ports</h2>
<p>
Mac Ports is a project to provide many GNU and Open Source utilities to OsX. It packages and installs them in <tt>/opt/local</tt>.
</p>
<p>
- Mac Ports can be downloaded and installed as a package from <a  href="http://www.macports.org/install.php">http://www.macports.org/install.php</a> and configured:
<tt>#!sh
</p>
<blockquote>
<p>
 sudo port -f selfupdate
</p>
</blockquote>
<p>
<tt>
- Remember to follow the instructions to put Mac Ports first in your path so the Ports version of perl will execute when called on the command line:
</tt>#!sh
</p>
<blockquote>
<p>
  export PATH=/opt/local/bin:/opt/local/sbin:$PATH
</p>
</blockquote>
<p>
<tt>
- Install Perl and Wx (This will include many dependencies and take some time to compile and complete.)
</tt>#!sh
</p>
<blockquote>
<p>
 sudo port install perl5 +threads
 sudo port install wxWidgets
</p>
</blockquote>
<p>
<tt>
- Install Padre via CPAN
</tt>#!sh
</p>
<blockquote>
<p>
  sudo /opt/local/bin/cpan
  &gt; install Padre
</p>
</blockquote>
<p>
<tt>
- Padre should now be in your path and usable on the command line
</tt>#!sh
</p>
<blockquote>
<p>
  padre
</p>
</blockquote>
<p>
<tt>
</p>
  padre
  sudo /opt/local/bin/cpan



( run in 2.965 seconds using v1.01-cache-2.11-cpan-364913b4093 )