[Monodevelop-devel] Building MonoDevelop on OS X for use on other Macs
Michael Hutchinson
m.j.hutchinson at gmail.com
Wed Feb 23 13:35:44 EST 2011
On Tue, Feb 22, 2011 at 5:24 PM, David Mitchell <dmitchell at logos.com> wrote:
> I dug into this further, and the issue seems to be how the zip file is
> created (I neglected to mention that we've been distributing MonoDevelop
> in zip form; my apologies). Here is the relevant snippet from the Mac
> makefile:
>
> MonoDevelop.app.zip: MonoDevelop.app
> zip -r9uq MonoDevelop.app.zip MonoDevelop.app
>
>
> We zip the file, but we don't pass the -y argument, which would cause
> symlinks to be preserved. Since the app bundle symlinks to Mono, this
> means that whatever I have in Versions/Current/bin/mono is copied into the
> zip file, and if the target machine doesn't have this same version of Mono
> installed, then MonoDevelop fails to run. I believe the Makefile should
> read
>
> MonoDevelop.app.zip: MonoDevelop.app
> zip -r9uyq MonoDevelop.app.zip MonoDevelop.app
>
>
> I'll be pushing this change to the master and 2.4 branches of our fork and
> submitting a pull request shortly.
Ah, yeah, I haven't used the zip target since adding the symlink.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-devel-list
mailing list