Padre on OSX DMG – Now on Leopard, Snow Leopard, and Lion
July 28, 2011 by Tom 11 Comments
Please use the 0.88 DMG.
Below is the old 0.86 post for reference.
Thanks to Mark @ Cava for giving me the perl build line needed to produce Padre packages that work on the latest three OSX versions.
You can now grab the latest OSX Padre packages (0.86) with a few plugins embedded, at:
wildperl.com/wp-content/uploads/Padre/0.86/padre-osx-uni-0-86-0.dmg
I plan to post a complete ‘how go build and package Padre on OSX’ post (and/or wiki page on Padre trac) as soon as I update my padre-brew.pl tool for Lion.
If you’re interested, I now build perl with this command:
perlbrew install 5.14.1 -ders -Dusethreads -Duseithreads -Accflags="-arch i386" -Accflags="-B/Developer/SDKs/MacOSX10.6.sdk/usr/include/gcc" -Accflags="-B/Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc" -Accflags="-isystem/Developer/SDKs/MacOSX10.6.sdk/usr/include" -Accflags="-F/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks" -Accflags="-mmacosx-version-min=10.5" -Aldflags="-arch i386 -Wl,-search_paths_first" -Aldflags="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk" -Aldflags="-mmacosx-version-min=10.5" -Alddlflags="-arch i386 -Wl,-search_paths_first" -Alddlflags="-Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk" -Alddlflags="-mmacosx-version-min=10.5" -Duseshrplib
And I configure and build Alien::wxWidgets and Wx::Scintilla with the following build:
CFLAGS='-arch i386' CXXFLAGS='-arch i386' CPPFLAGS='-arch i386' LDFLAGS='-arch i386' OBJCFLAGS='-arch i386' OBJCXXFLAGS='-arch i386' perl ./Build --wxWidgets-extraflags=" --with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk --with-macosx-version-min=10.5 " --wxWidgets-build='yes' --wxWidgets-source='tar.bz2' --wxWidgets-version=2.8.12
If you have bugs, please file them in track: padre.perlide.org/trac/wiki/osxbugs
All errors are my own.
Thanks!
Filed under osx, perl Tagged with osx, padre
About Tom
I work in a healthcare technology startup. These days, I attempt to code in Perl, and this blog is about the Wild Perl we write, startup life, and many other things.
11 Responses to Padre on OSX DMG – Now on Leopard, Snow Leopard, and Lion
Wow – this is fantastic! :)
So, it started up fine, but crashed silently as soon as I saved a file.
Weirdly, I could Save As, but not Save.
Who wants to read the crash report/system log?
[Please note also that Command-S for "Save" should be universal in Mac apps. For a moment I thought I was saving, but I wasn't!]
Hi John,
There are OSX bugs, for sure! Some menu items not having keyboard shortcuts is known (padre.perlide.org/trac/ticket/1256) but the save crash is new. Please open a ticket and, most importantly, tell us what platform you’re using.
Tickets can be opened here: padre.perlide.org/trac/wiki/osxbugs
If you can, please use the *keyword* osx (one of the ticket slots).
Thanks! Tom
Hi John,
What version of OSX were you using?
Thanks!
Hi, I’m on 10.6.7
I will put the bug into the wiki right away.
Great! I just got the problem reproduced on my end as well, so can look into it as soon as possible.
And by the way, I didn’t bother to say which version of OS X is there’s a very detailed crash report, 41 KB in all, found in /users/$USERNAME/Library/Logs/DiagnosticReports in case that’s any use to other people putting in bug reports.
You’re not making it easy to submit a ticket! I can’t self-register, and I’m all alone on the IRC channel.
Someone email me a username and password maybe?
I replied in IRC, and I didn’t realize there were many hurdles to opening a ticket (I’m new to Padre development). I’m happy to take the dump by email (ping me on IRC and I can PM you) if that’s better for you, or in any form you like.
Works on Lion on a MacBook Pro 13″ 2011.
Thanks fort the feedback! Check back for new packages (0.90 just released – will post osx package shortly).