D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8682 - Can't install DMD 2.060 on OS X 10.6.8
Summary: Can't install DMD 2.060 on OS X 10.6.8
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: installer (show other issues)
Version: D2
Hardware: x86_64 Mac OS X
: P2 critical
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 19:40 UTC by Elias Zamaria
Modified: 2020-03-21 03:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Elias Zamaria 2012-09-17 19:40:34 UTC
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.

Someone on the forums suggested running the Console app when trying to install D. I tried that and got these messages:

> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-api.pkg
> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-bin.pkg
> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-gui.pkg
> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-kext.pkg
> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-profiles.pkg
> 9/17/12 7:33:35 PM  Installer[19715]    PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-startup.pkg
> 9/17/12 7:33:54 PM  installd[19720] Starting
> 9/17/12 7:33:54 PM  installd[19720] uid=501, euid=501
> 9/17/12 7:33:54 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-api.pkg
> 9/17/12 7:33:55 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-bin.pkg
> 9/17/12 7:33:55 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-gui.pkg
> 9/17/12 7:33:55 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-kext.pkg
> 9/17/12 7:33:55 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-profiles.pkg
> 9/17/12 7:33:55 PM  installd[19720] PackageKit: *** Missing bundle identifier: /Library/Receipts/vpnclient-startup.pkg
> 9/17/12 7:33:57 PM  com.apple.installd.user[19720]  Permission denied
> 9/17/12 7:33:57 PM  Installer[19715]    The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Comment 1 Elias Zamaria 2012-10-11 17:09:59 UTC
I asked about this bug on Stack Overflow but I haven't gotten any answers yet. The question can be seen at http://stackoverflow.com/q/12832241/28324
Comment 2 Jacob Carlborg 2012-10-11 23:23:40 UTC
I haven't bothered with these installer since I have DVM which I think is much better. But since I created that installer I probably should take a look at it.
Comment 3 Jacob Carlborg 2012-10-23 02:14:17 UTC
Could you try this installer:

https://dl.dropbox.com/u/18386187/dmd-2.060-osx-installer.zip

I built it on Mac OS X 10.6.3.
Comment 4 Elias Zamaria 2012-10-23 18:33:52 UTC
Jacob, I tried the installer and it seemed to work fine. I was able to compile and run a D program. It seemed to put the dmd compiler in my /usr/bin directory. It did not put rdmd there. Running "dmd" or "/usr/bin/dmd" worked fine but "rdmd" and "/usr/bin/rdmd" did not work.

Thank you. I am glad to have something that works. Out of curiosity, what did you do?
Comment 5 Jacob Carlborg 2012-10-23 23:29:21 UTC
(In reply to comment #4)
> Jacob, I tried the installer and it seemed to work fine. I was able to compile
> and run a D program. It seemed to put the dmd compiler in my /usr/bin
> directory. It did not put rdmd there. Running "dmd" or "/usr/bin/dmd" worked
> fine but "rdmd" and "/usr/bin/rdmd" did not work.

I guess that rdmd wasn't available when the installer was created.

> Thank you. I am glad to have something that works. Out of curiosity, what did
> you do?

I just built the installer on Mac OS X 10.6. I would guess that means the installers created on Mac OS X 10.7 or later aren't backwards compatible, or  there's a missing flag or similar.
Comment 6 Jacob Carlborg 2013-10-11 11:33:00 UTC
I'm pretty sure this is fixed in this commit: https://github.com/D-Programming-Language/installer/commit/947929b30456bb925ef021d16341a2f272a5a2ed. I haven't verified that it's fixed.