Re: Recommended way of building on OSX
- From: Terence Ferraro <terencejferraro gmail com>
- To: Daniel Kasak <d j kasak dk gmail com>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: Recommended way of building on OSX
- Date: Sat, 14 Mar 2015 19:48:08 -0400
There are automated binary patches that can be used on vmware to create OSX images. We've used XCode + ActiveState Perl + Perl Dev Kit (provides perlapp). We've found that perlapp works fine on Windows with e.g. Strawberry Perl, but on OSX seemed to achieve stability with the actual ActiveState version. You'll need to distribute the shared libraries, just as you would with Windows. I've found just bundling everything that gets built/included under /usr/local/ is easy and effective.
You'll use something like this to actually create the installer image:
hdiutil create install_temp.dmg -ov -volname "Install" -fs HFS+ -srcfolder /Users/foo/Binaries/
hdiutil convert install_temp.dmg -format UDZO -o Install.dmg
I've found it's easier to get the user to run a single perl script after the image is mounted that then places, unzips, etc everything to the places it needs to go. There is a more "Mac"-ish way of doing this that can be researched. I found that it was much more trouble than it's worth..
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]