View mode: basic / threaded / horizontal-split · Log in · Help
September 17, 2012
Can't install DMD 2.060 on OS X 10.6.8
I am planning to try D for the first time in my life. I have a 
MacBook Pro running OS X 10.6.8 (Snow Leopard).

I went on the D downloads page and clicked on the link for the 
dmd 2.060 installer for OS X. I opened it and double clicked on 
the "DMD2.pkg" file within it. The installer came up with some 
text including a line that read "This package is intended for Mac 
OS X Leopard (10.5) only.". I tried to find a version for OS X 
10.6 but I couldn't, so I ignored the warning and clicked 
"Continue".

I clicked through the agreements and questions, and then when it 
finished, the installer gave this message:

> The installation failed. The Installer encountered an error 
> that caused the installation to fail. Contact the software 
> manufacturer for assistance.

Why did this happen? What am I supposed to do about it?
September 17, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
On 2012-09-17 07:49, Elias Zamaria wrote:
> I am planning to try D for the first time in my life. I have a MacBook
> Pro running OS X 10.6.8 (Snow Leopard).
>
> I went on the D downloads page and clicked on the link for the dmd 2.060
> installer for OS X. I opened it and double clicked on the "DMD2.pkg"
> file within it. The installer came up with some text including a line
> that read "This package is intended for Mac OS X Leopard (10.5) only.".
> I tried to find a version for OS X 10.6 but I couldn't, so I ignored the
> warning and clicked "Continue".

It's supposed to work even if it says "This package is intended for Mac 
OS X Leopard (10.5) only.".

> I clicked through the agreements and questions, and then when it
> finished, the installer gave this message:
>
>> The installation failed. The Installer encountered an error that
>> caused the installation to fail. Contact the software manufacturer for
>> assistance.
>
> Why did this happen? What am I supposed to do about it?

Hmm, can you check the Console and see if it says anything about the 
installation.

Instead of this installer I would recommend installing DMD using DVM:

"DVM allows you to easily download and install D compilers and manage 
different versions of the compilers."

It's also cross-platform.

https://bitbucket.org/doob/dvm

-- 
/Jacob Carlborg
September 17, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
"Check the Console"? How do I do that? What console are you 
referring to?

Also, why is this installer on the official-looking download page 
if it doesn't work? Should whoever is in control of the page put 
this other thing there instead? I have no idea how I was supposed 
to know about DVM.

On Monday, 17 September 2012 at 06:18:25 UTC, Jacob Carlborg 
wrote:
> On 2012-09-17 07:49, Elias Zamaria wrote:
>> I am planning to try D for the first time in my life. I have a 
>> MacBook
>> Pro running OS X 10.6.8 (Snow Leopard).
>>
>> I went on the D downloads page and clicked on the link for the 
>> dmd 2.060
>> installer for OS X. I opened it and double clicked on the 
>> "DMD2.pkg"
>> file within it. The installer came up with some text including 
>> a line
>> that read "This package is intended for Mac OS X Leopard 
>> (10.5) only.".
>> I tried to find a version for OS X 10.6 but I couldn't, so I 
>> ignored the
>> warning and clicked "Continue".
>
> It's supposed to work even if it says "This package is intended 
> for Mac OS X Leopard (10.5) only.".
>
>> I clicked through the agreements and questions, and then when 
>> it
>> finished, the installer gave this message:
>>
>>> The installation failed. The Installer encountered an error 
>>> that
>>> caused the installation to fail. Contact the software 
>>> manufacturer for
>>> assistance.
>>
>> Why did this happen? What am I supposed to do about it?
>
> Hmm, can you check the Console and see if it says anything 
> about the installation.
>
> Instead of this installer I would recommend installing DMD 
> using DVM:
>
> "DVM allows you to easily download and install D compilers and 
> manage different versions of the compilers."
>
> It's also cross-platform.
>
> https://bitbucket.org/doob/dvm
September 17, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
On 2012-09-17 08:49, Elias Zamaria wrote:
> "Check the Console"? How do I do that? What console are you referring to?

/Applications/Utilities/Console.app

> Also, why is this installer on the official-looking download page if it
> doesn't work? Should whoever is in control of the page put this other
> thing there instead? I have no idea how I was supposed to know about DVM.

Of course the installer is supposed to work. You can report the issue here:

http://d.puremagic.com/issues/

Make sure you select "installer" as the component and "Mac OS X" as the OS.

DVM isn't an official installer. But I wouldn't mind it being on the 
same page.

-- 
/Jacob Carlborg
September 18, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
I reported it, along with the console details, on the bug 
tracker. You can see it at 
http://d.puremagic.com/issues/show_bug.cgi?id=8682. I think it is 
kind of strange that I need to install a 3rd party app just to be 
able to install the compiler, especially considering that no one 
else seems to be having this issue and it does not seem to be 
mentioned anywhere on the download page or in the documentation, 
so I think it is a legitimate bug in the installer, and I will 
wait for a while and see if I get any more helpful response on 
the bug tracker.

On Monday, 17 September 2012 at 09:37:02 UTC, Jacob Carlborg 
wrote:
> On 2012-09-17 08:49, Elias Zamaria wrote:
>> "Check the Console"? How do I do that? What console are you 
>> referring to?
>
> /Applications/Utilities/Console.app
>
>> Also, why is this installer on the official-looking download 
>> page if it
>> doesn't work? Should whoever is in control of the page put 
>> this other
>> thing there instead? I have no idea how I was supposed to know 
>> about DVM.
>
> Of course the installer is supposed to work. You can report the 
> issue here:
>
> http://d.puremagic.com/issues/
>
> Make sure you select "installer" as the component and "Mac OS 
> X" as the OS.
>
> DVM isn't an official installer. But I wouldn't mind it being 
> on the same page.
September 18, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
On 2012-09-18 04:41, Elias Zamaria wrote:
> I reported it, along with the console details, on the bug tracker. You
> can see it at http://d.puremagic.com/issues/show_bug.cgi?id=8682. I
> think it is kind of strange that I need to install a 3rd party app just
> to be able to install the compiler, especially considering that no one
> else seems to be having this issue and it does not seem to be mentioned
> anywhere on the download page or in the documentation, so I think it is
> a legitimate bug in the installer, and I will wait for a while and see
> if I get any more helpful response on the bug tracker.

You don't need DVM to install the compiler, I just think it's a 
convenient way. Especially since you can install multiple versions of 
the compiler.

In fact, you don't have to install anything at all. You can just 
download the zip, extract it and use the compiler where it is.

About the installer. It looks you don't have permission to install the 
compiler. It installs the compiler in /usr/share (I think), which means 
you need to have permission to run "sudo".

-- 
/Jacob Carlborg
September 18, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
How can I get permission to run "sudo". I thought that "sudo" was 
the command required to get permission to run other things. Is 
there a catch-22? In any case, why am I having this problem, and 
why don't I see any hint that anyone else is experiencing it?

> You don't need DVM to install the compiler, I just think it's a 
> convenient way. Especially since you can install multiple 
> versions of the compiler.
>
> In fact, you don't have to install anything at all. You can 
> just download the zip, extract it and use the compiler where it 
> is.
>
> About the installer. It looks you don't have permission to 
> install the compiler. It installs the compiler in /usr/share (I 
> think), which means you need to have permission to run "sudo".
September 19, 2012
Re: Can't install DMD 2.060 on OS X 10.6.8
On 2012-09-18 19:55, Elias Zamaria wrote:
> How can I get permission to run "sudo". I thought that "sudo" was the
> command required to get permission to run other things. Is there a
> catch-22? In any case, why am I having this problem, and why don't I see
> any hint that anyone else is experiencing it?

I just tried the installer on 10.6.3 and I got the same error. I'm 
wondering if it has anything to do with that the installer is, most 
likely, created on a newer version of Mac OS X.

-- 
/Jacob Carlborg
Top | Discussion index | About this forum | D home