Bug 8682 – Can't install DMD 2.060 on OS X 10.6.8

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P2
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Mac OS X
Creation time
2012-09-17T19:40:34Z
Last change time
2020-03-21T03:56:38Z
Assigned to
No Owner
Creator
Elias Zamaria

Comments

Comment #0 by mikez302 — 2012-09-17T19:40:34Z
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 by mikez302 — 2012-10-11T17:09:59Z
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 by doob — 2012-10-11T23:23:40Z
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 by doob — 2012-10-23T02:14:17Z
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 by mikez302 — 2012-10-23T18:33:52Z
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 by doob — 2012-10-23T23:29:21Z
(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 by doob — 2013-10-11T11:33:00Z
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.