Discussion:
Can't install DMD 2.060 on OS X 10.6.8
Elias Zamaria
2012-09-17 05:49:34 UTC
Permalink
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
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?
Jacob Carlborg
2012-09-17 06:19:14 UTC
Permalink
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
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
Elias Zamaria
2012-09-17 06:49:25 UTC
Permalink
"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
Post by Jacob Carlborg
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
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
"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
2012-09-17 09:37:50 UTC
Permalink
"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
Elias Zamaria
2012-09-18 02:41:48 UTC
Permalink
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
Post by Jacob Carlborg
Post by Elias Zamaria
"Check the Console"? How do I do that? What console are you
referring to?
/Applications/Utilities/Console.app
Post by Elias Zamaria
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.
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
2012-09-18 06:24:52 UTC
Permalink
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
Elias Zamaria
2012-09-18 17:55:53 UTC
Permalink
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?
Post by Jacob Carlborg
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
2012-09-19 06:29:14 UTC
Permalink
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
Loading...