Thread overview | |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 22, 2012 Mac OS installer | ||||
---|---|---|---|---|
| ||||
I was recently involved in a stack overflow question about mac os: http://stackoverflow.com/questions/12832241/cant-install-dmd-2-060-on-os-x-10-6-8/12897850 I gave my usual answer of "just use the zip" which solved the problem there, but perhaps there's something we can do to improve the installer so people who do use it can have an easier time. I don't know anything about the Mac though, so there's nothing more I can do except punt it to someone else... so here I am. |
October 22, 2012 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On 2012-10-22 15:45, Adam D. Ruppe wrote: > I was recently involved in a stack overflow question about mac os: > > http://stackoverflow.com/questions/12832241/cant-install-dmd-2-060-on-os-x-10-6-8/12897850 > > > I gave my usual answer of "just use the zip" which solved the problem > there, but perhaps there's something we can do to improve the installer > so people who do use it can have an easier time. > > I don't know anything about the Mac though, so there's nothing more I > can do except punt it to someone else... so here I am. http://d.puremagic.com/issues/show_bug.cgi?id=8682 -- /Jacob Carlborg |
October 23, 2012 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On 2012-10-22 15:45, Adam D. Ruppe wrote: > I was recently involved in a stack overflow question about mac os: > > http://stackoverflow.com/questions/12832241/cant-install-dmd-2-060-on-os-x-10-6-8/12897850 > > > I gave my usual answer of "just use the zip" which solved the problem > there, but perhaps there's something we can do to improve the installer > so people who do use it can have an easier time. > > I don't know anything about the Mac though, so there's nothing more I > can do except punt it to someone else... so here I am. Could you try this installer (or relay the information to stackoverflow): https://dl.dropbox.com/u/18386187/dmd-2.060-osx-installer.zip I built it on Mac OS X 10.6.3. -- /Jacob Carlborg |
October 23, 2012 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | On Tuesday, 23 October 2012 at 09:15:37 UTC, Jacob Carlborg wrote:
> Could you try this installer (or relay the information to stackoverflow):
Thanks! I don't have a mac so can't test myself, but I forwarded it to the SO person.
|
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | I am trying to upgrade to DMD 2.061. What am I supposed to do? I tried running the installer but I got the same error I got the last time (see http://forum.dlang.org/thread/yrcyfaalimocuovsvgqo@forum.dlang.org or http://forum.dlang.org/thread/bug-8682-3@http.d.puremagic.com/issues/). Jacob, do I need you to custom-make a non-broken installer like you did for 2.060? Is that something I can realistically do myself if I don't know much about D or OS X installers? Why isn't something like this on the download page? I downloaded the zip (http://downloads.dlang.org.s3-website-us-east-1.amazonaws.com/releases/2013/dmd.2.061.zip . Is this the right one?) but I don't know what to do with it. I am guessing some stuff should go in /usr/bin and some other stuff should go in /usr/share but I don't know what. Can anyone help me with this? |
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Elias Zamaria | On Tuesday, 8 January 2013 at 04:00:25 UTC, Elias Zamaria wrote: > Can anyone help me with this? Do you have Xcode installed? If so, do you have "Command Line Tools" installed? Otherwise, you'll need to install Xcode (free from app store), then: Open Xcode -> Preferences -> Downloads -> Components -> Command Line Tools related thread: http://forum.dlang.org/thread/nxawipcegdmbkqkalkhv@forum.dlang.org |
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joshua Niehus | On 2013-01-08 05:57, Joshua Niehus wrote: > On Tuesday, 8 January 2013 at 04:00:25 UTC, Elias Zamaria wrote: >> Can anyone help me with this? > > Do you have Xcode installed? > If so, do you have "Command Line Tools" installed? > Otherwise, you'll need to install Xcode (free from app store), then: > Open Xcode -> Preferences -> Downloads -> Components -> Command Line Tools He's running Mac OS X 10.6 with a pretty old version of Xcode, i.e. before App Store. This version of Xcode installs the command line tools when Xcode itself is installed. -- /Jacob Carlborg |
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Elias Zamaria | On 2013-01-08 05:00, Elias Zamaria wrote: > I am trying to upgrade to DMD 2.061. What am I supposed to do? I tried > running the installer but I got the same error I got the last time (see > http://forum.dlang.org/thread/yrcyfaalimocuovsvgqo@forum.dlang.org or > http://forum.dlang.org/thread/bug-8682-3@http.d.puremagic.com/issues/). We need to fix that somehow. I have an idea that might fix this. > Jacob, do I need you to custom-make a non-broken installer like you did > for 2.060? Is that something I can realistically do myself if I don't > know much about D or OS X installers? Why isn't something like this on > the download page? Yes, it's fairly easy to do. Download the zip as you did and run these commands: https://github.com/D-Programming-Language/installer/blob/master/osx/Makefile#L32 The commands between line 33 and 42. You have to replace the $1 and $2 with 2.061 and 2. > I downloaded the zip > (http://downloads.dlang.org.s3-website-us-east-1.amazonaws.com/releases/2013/dmd.2.061.zip > . Is this the right one?) but I don't know what to do with it. I am > guessing some stuff should go in /usr/bin and some other stuff should go > in /usr/share but I don't know what. > > Can anyone help me with this? The installer installs the compiler into /usr/share/dmd if I recall correctly. It then creates symlinks to /usr/bin. You need to replace the following: /usr/share/dmd/bin /usr/share/dmd/lib /usr/share/dmd/src With the same folders from the zip. I do really recommend DVM instead, even if it's not an official way to install DMD. It's easy and allows you to have multiple compilers installed: https://github.com/jacob-carlborg/dvm -- /Jacob Carlborg |
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Adam D. Ruppe | On Monday, 22 October 2012 at 13:45:10 UTC, Adam D. Ruppe wrote:
> I was recently involved in a stack overflow question about mac os:
>
> http://stackoverflow.com/questions/12832241/cant-install-dmd-2-060-on-os-x-10-6-8/12897850
>
> I gave my usual answer of "just use the zip" which solved the problem there, but perhaps there's something we can do to improve the installer so people who do use it can have an easier time.
>
> I don't know anything about the Mac though, so there's nothing more I can do except punt it to someone else... so here I am.
there is a homebrew recipe.
brew install dmd
|
January 08, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mengu Attachments:
| On Tue, 2013-01-08 at 13:33 +0100, Mengu wrote: […] > there is a homebrew recipe. > > brew install dmd Has anyone got a port into MacPorts? -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: russel@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder |
Copyright © 1999-2021 by the D Language Foundation