wiki:DownloadMacOSX

Version 3 (modified by bowtie, 3 years ago) (diff)

--

Experiments

There is an experimental DMG package that is crashing and needs your help. See this blog entry http://wildperl.com/2011/07/padre-on-osx-dmg-now-on-leopard-snow-leopard-and-lion/ and see the the open tickets: osxbugs

Mac OS X Installation Instructions

On OS X, you cannot use the system's 'perl' executable, you have to use the 'wxPerl' executable (see this thread regarding wxPerl invocation).

Installation using pkgsrc should also work.

Installation from CPAN

The most straightforward method is to install everything from source. This will ignore any existing wxWidgets installation.

  1. $ wxPerl -MCPAN -eshell
  2. [cpan] $ install Alien::wxWidgets [choose install from source, which is NOT the default]
  3. Go do something else while it compiles wxWidgets.
  4. [cpan] $ install Wx
  5. [cpan] $ install Padre

Padre has a LOT of prerequisites. You're likely to run into some problems with tests failing. IPC::Run3 was a particular problem due to its prerequisites, but a later individual install worked fine. Just make your way through them all, and 'force notest install $module' as needed. Once you've got padre installed you start it by running /usr/local/bin/padre.

Taking the lazy way

If you're lazy and enjoy taking risks... the easiest way to install on OSX may be (there will be some test failures - which you'll have to force install, including Padre itself, due to wxPerl issues):

cpan Alien::wxWidgets
wxPerl -MCPAN -eshell
 $ install Padre

and then replace the /usr/local/bin/padre script with the updated version at http://padre.perlide.org/trac/browser/trunk/Padre/script/padre

If you are risk averse and like playing in your own sandbox, then it is recommended that you download and compile the current release of Perl from source (http://cpan.org/src/README.html). Note: you'll need to run ./Configure with -Dusethreads. After which you won't need to use wxPerl, but can do the standard make, make test, make install of Padre via cpan.

After installing Alien::wxWidget there are new versions of wx-config and wxrc somewhere in your Perl Library Path, (mine went under site_perl/darwin-thread-multi-2level/Alien/wxWidgets/mac_2_8_10_uni/bin), which need to be first in your PATH, otherwise Wx might build against the wrong Library. As an alternative you can set an environment variable WX_CONFIG which has to point to the new wx-config executable. See the Wx docs for more info.

Another caveat: don't build inside of a gnu-screen or ssh session, otherwise Wx's tests will fail with a strange errormessage, stating that it can't create the clipboard because of permission problems.


OS X 10.4 has wxPerl 0.22, 10.5 has a more recent version (0.6x for some x)

Aside from building from source, you can also install newer versions of Wx on OS X using a package manager:

Fink

fink install wxmac28

Mac Ports

port install wxWidgets

installing _and_ upgrading wxWidgets and wxPerl

If you have trouble you can check which version of wxWidgets you have:

$ perl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()'

and on Mac:

$ wxPerl -MWx -le'print  "Wx Version: $Wx::VERSION " . Wx::wxVERSION_STRING()'

We use Wx 0.87 and wxWidgets 2.8.8 so you probably should have those (or newer) too.

When installing Alien::wxWidgets it will ask if you want to compile wxWidgets. Do you want to fetch and build wxWidgets from sources? If you don't have any installed or if you have an old version (< 2.8.8) then you should answer yes. It will try to download the source code of wxWidgets which is big and the download often fails.

To get around that you can download the file manually and put it in the extracted directory of Alien::wxWidgets.

Something like this:

 $ cd /tmp
 $ wget http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.8.tar.gz
 $ cpan
 cpan> look Alien::wxWidgets
 $ cp /tmp/wxWidgets-2.8.8.tar.gz .
 $ perl Makefile.PL
 $ make
 $ make test
 $ make install
 $ exit
 cpan>quit
 $

wxPerl on Linux distributions


Tickets

OSX open defects

Ticket Type Version Summary Owner Reporter Created
#486 defect trunk Undo after auto-complete matching bracket doesn't undo the closing bracket Sewi 5 years
#688 defect trunk Drag and drop not working on windows any more szabgab 5 years
#897 defect trunk wrong mouse cursor for text input fields zenogantner 5 years
#907 defect trunk remote (sshfs) file is shown as read-only in status bar zenogantner 5 years
#1030 defect trunk strange irregular crashes zenogantner 4 years
#1039 defect trunk Padre::Plugin::Vi "Esc" does not switch to command mode when activating vi plugin (Padre restart required) zenogantner 4 years
#1041 defect trunk [Syntax::Highlight::Perl6] failed tests when installing version 0.88 from CPAN zenogantner 4 years
#1096 defect trunk Padre freeze Sewi 4 years
#1101 defect trunk "Select All" menu entry does not show keyboard shortcut zenogantner 4 years
#1130 defect trunk Space->Tab conversion is very slow zenogantner 4 years
#1131 defect trunk Using Ctrl-3 ("Quick Menu Access") leads to GTK warnings and eventually crashes zenogantner 4 years
#1157 defect trunk dev does not write tracing information to .padre/debug.log zenogantner 4 years
#1159 defect trunk Ctrl+L (cut line) doesn't trigger the changed-* Sewi 4 years
#816 defect 0.53 Lexical variable renaming doesn't support <<"HEREDOCS" adamk 5 years
#827 defect 0.55 Fix the web site generation code szabgab szabgab 5 years
#836 defect 0.55 Nothing after splash screen on OpenSolaris stom 5 years
#890 defect 0.58 "Introduce Temporary Variable" need to be fixed jagd 5 years
#937 defect 0.60 Variable renaming: No declaration found if variable is declared in parentheses zenogantner 4 years
#1135 defect 0.64 Padre hangs on NFS shared files BiloxiGeek 4 years
#1024 defect 0.72 "Change variable style" does not always work properly zenogantner 4 years
#1040 defect 0.74 Padre::Plugin::Vi Crash on activating and de-activating plugin zenogantner 4 years
#1043 defect 0.74 odd behavior of regex Find zenogantner 4 years
#1066 defect 0.74 problems with Japanese encodings on Windows zenogantner 4 years
#1105 defect 0.80 opening non-existing file - strange warning message szabgab 4 years
#1106 defect 0.80 Perl/Create Projects Tagfile cause Padre to freeze szabgab 4 years
#1133 defect 0.82pre ./dev can not be run on the branch jagd 4 years
#810 defect 0.82 File monitoring issue yakudzo 5 years
#1152 defect 0.82 Padre is not displaying DOS-ASCII ANSI encoded text files with Hebrew correctly Carmageddon 4 years
#1158 defect 0.83 Ctrl-Alt-F injects "ACK" szabgab 4 years
#1225 defect 0.84 Internal window does not fill the full application szabgab 3 years
#1229 defect 0.84 Functions Window does not show all functions or slowdown if source contains UTF-8 petr 3 years
#1230 defect 0.84 Pasting via CRTL-V in Find Pastes the text into the editor waxhead 3 years
#1262 defect 0.84 The combo keys for type a backslash (\) on OS X with french keyboard raises the contextual menu Sniper 3 years
#1394 defect 0.84 Unexpected program termination when selecting menu items fenway 3 years
#1169 defect 0.85 Regex Editor does not understand \Q szabgab 4 years
#1188 defect 0.85 Mouse wheel scrolling should be faster Sewi 4 years
#1192 defect 0.85 "Fold all" does not fold all szabgab 4 years
#1275 defect 0.86 [osx] wxPerl not needed on OSX tome tome 3 years
#1302 defect 0.88 Deparse feature and Moose zenogantner 3 years
#1290 defect 0.89 Cooking up your own colours for controls and backgrounds is Rude! submersible_toaster 3 years
#1300 defect 0.89 Tabs are all confused Alias bowtie 3 years
#1315 defect 0.90 Context menu: keyboard alternatives do not work dolmen 3 years
#1325 defect 0.90 Backreference substitution not working in Replace dialog FrDarryl 3 years
#1328 defect 0.90 Padre infinite loops when launched without a filename to open gyles19 3 years
#1333 defect 0.90 More understandable Settings : Auto Complete Brackets ktaragorn 3 years
#1335 defect 0.90 Double Click Behaviour : Perl sigils and namespace delimiters etc ktaragorn 3 years
#1336 defect 0.90 UI Layout - Lock/Unlock Behaviour ktaragorn 3 years
#1345 defect 0.90 actionqueue=internal.dump_padre is writing to a closed filehandle. gyles19 3 years
#1312 defect 0.91 Mouse (Ubuntu) Copy Paste X-Clipboard bowtie 3 years
#1327 defect 0.91 Padre trunk crashes on Ubuntu 10.04 zenogantner 3 years
#1339 defect 0.91 preferences: theme preview ignores bold elements zenogantner 3 years
#1346 defect 0.91 patch/diff dialog should be resizable zenogantner 3 years
#1349 defect 0.91 renaming variable names inside regular expressions does not work zenogantner 3 years
#1351 defect 0.91 Java and C# function list: do not ignore method declarations after line comments zenogantner 3 years
#1355 defect 0.91 Padre should either remember per-tab search terms, or support search for the last search term zenogantner 3 years
#1372 defect 0.92 Setting indent option zaps main menu ronsavage 3 years
#1373 defect 0.92 Double tabs are inseted per tab key ronsavage 3 years
#1376 defect 0.92 hex <-> decimal conversion locks Padre on large selection zenogantner 3 years
#1378 defect 0.92 Creating an editor theme file while Padre is running, and then selecting the last Editor Theme in the drop-down box, causes Padre to crash run4flat 3 years
#1380 defect 0.92 Padres silently does not run script szabgab 3 years
#1507 defect 0.92 Debugger causing Padre crash - MacOSx bowtie ron 13 months
#1402 defect 0.94 UI blocks through status menu tooltip repaint daxim 3 years
#1413 defect 0.94 Broken commenting in HTML and CSS in 0.94 sugar 3 years
#1423 defect 0.94 Padre crashes on keybind / Padre закрывается при попытке задать гарячие клавиши Negor Negor 2 years
#1424 defect 0.94 fileparse(): need a valid pathname at Padre/Task/Diff.pm line 119 thread 5 Sewi 2 years
#503 defect 0.95 Action Toolbar vanishes in fullscreen mode. submersible_toaster 5 years
#752 defect 0.95 Document and end-user-simplify the perltags and autocomplete featureset tsee 5 years
#792 defect 0.95 Threaded script output is in the wrong order szabgab 5 years
#1414 defect 0.95 Padre::Plugin::ReDevel various issues mj41 bowtie 3 years
#1418 defect 0.95 Plugin manager crashes when opened as user "root" zenogantner 3 years
#1421 defect 0.95 config.yml -> autocomplete_always: 1 bowtie 3 years
#1425 defect 0.95 Attempt to free unreferenced scalar: SV 0x1fe72c0, Perl interpreter: 0x1d71010 at Padre/lib/Padre/Wx/Role/Conduit.pm line 127. adamk Sewi 2 years
#1426 defect 0.95 Crash on closing tabs Sewi 2 years
#1400 defect 0.96 code folding icon hides break-point icon daxim 3 years
#1437 defect 0.96 100% CPU when idling adamk danboo 2 years
#1440 defect 0.96 Padre Document change encoding (broken) bowtie 2 years
#1445 defect 0.96 Crash Padre::Document::Perl::Syntax SHok 2 years
#1451 defect 0.96 cant activate plugins as root user xoanon 2 years
#1453 defect 0.96 Scrolling in main window broken on windows nglenn 2 years
#1454 defect 0.96 Crash when default_projects_directory contains wide characters mikhirev 2 years
#1455 defect 0.96 Wide characters removed from config values when running with LC_ALL=C mikhirev 2 years
#1462 defect 0.96 hitting the escape key closes the output panel SvenDowideit 23 months
#1470 defect 0.96 The debugger fails to find the file being stepped into SvenDowideit SvenDowideit 22 months
#1473 defect 0.96 change in indent does not update until padre is closed and opened davehorner 21 months
#1478 defect 0.96 Ubuntu 12.10 and unity kharec 21 months
#1479 defect 0.96 Preferences shortcut peco 21 months
#1481 defect 0.96 Command Line window menu item shown without experimental feature enabled tome, bennie akoya 20 months
#1484 defect 0.96 find all appears to do nothing SvenDowideit 20 months
#1489 defect 0.96 Not responsive adamk BingFarz 19 months
#1491 defect 0.96 Outline Entries Not Displayed on OSX sjm 19 months
#1492 defect 0.96 Shortcut keys from edit menu stop working on OS X fcustodio 19 months
#1493 defect 0.96 build failed on OS X mountain lion robprentice 18 months
#1431 defect 0.97 Open URL does not validate URL scheme; fails silently. bennie 2 years
#1436 defect 0.97 Display of sessions in "Open Session" has possible off-by-one error? bennie 2 years
#1501 defect 0.98 Installation failure on Windows XP CraigTreptow 17 months
#1502 defect 0.98 Padre release 0.98 and svn rev 19736 crash when setting default_project_directory to anything other than /home/user?/projects myra 17 months
#1505 defect 0.98 Padre on fink dualG5 16 months
#1506 defect 0.98 0.98 is broken vsespb 15 months
#1495 defect 0.99 Install Padre with Citrus Perl on Mac OS Lion - t/15_locale.t........Failed 5/7 Tanscia 18 months
#1509 defect 0.99 Keyboard edit shortcuts ( Copy/Paste/Undo/Redo etc.) not working on Mac OSX Plecto 12 months
#1513 defect 0.99 Unable to use debugger in script that uses Lingua::Wordnet Perl module bowtie, szabgab Plecto 7 months
#1511 defect 1.00 Project Skeleton Generation not working in Win32 itcharlie 9 months
#1512 defect 1.00 Locale is applied to Perl code when installing Padre chorny 8 months
#89 defect 0.15 shell script on OS X Schwern szabgab 6 years
#225 defect 0.25 Padre::Plugin::Vi No Difference Between the Cursors Of Normal Mode and Insert Mode shlomif 6 years
#226 defect 0.25 Padre::Plugin::Vi t/T/f/F don't work shlomif 6 years
#227 defect 0.25 Padre::Plugin::Vi Not all movements work with "d" shlomif 6 years
#473 defect 0.40 outline view should remember which subtree is opened jquelin 5 years
#499 defect 0.43 Padre automatic indentation not working on Mac OS X garu 5 years
#515 defect 0.45 offsite reports of Jonathan Scott Duff szabgab 5 years
#537 defect 0.45 extract subroutine should put the new subroutine in a better place rhebus 5 years
#641 defect 0.47 Escape doesn't search or search/replace dialog when focused on editor adamk 5 years
#645 defect 0.47 Lexically rename variable changes the screen position dramatically (and shouldn't have to) adamk 5 years
#695 defect 0.48 Padre not loading perl6 modules in cwd. richardh 5 years