digitalmars.D.announce - DVM - D Version Manager 0.3.0 (including support for Windows)
- Jacob Carlborg (25/25) Jul 17 2011 I just released a new version of DVM, 0.3.0. Now with support for
- Johann MacDonagh (7/10) Jul 17 2011 Awesome news. However, I wasn't able to install without admin. Trying to...
- Nick Sabalausky (11/21) Jul 17 2011 Damn, that's my fault. I thought the try/catch I used would handle that,...
- Johann MacDonagh (5/10) Jul 18 2011 No prompt at all, and it was in the console window.
- Nick Sabalausky (15/27) Jul 18 2011 Thanks. There's a point where it checks the registry to see if DMD alrea...
- Andrej Mitrovic (3/3) Jul 18 2011 Interesting.. I've tested it on win7 with admin rights but with UAC
- Nick Sabalausky (4/7) Jul 19 2011 Including v0.3.0? (The part that was messing up wasn't in any of the ear...
- Andrej Mitrovic (1/1) Jul 19 2011 No I think I've only tested the beta.
- Johann MacDonagh (4/5) Jul 19 2011 Yeah, the beta didn't complain either, only this new version. Also, it
- Nick Sabalausky (8/11) Jul 19 2011 If anyone wants to use the fixed version (before the pull request gets
- Andrej Mitrovic (6/6) Aug 01 2011 I know this is maybe obvious for linux geeks, but your shell command
- Daniel Gibson (2/8) Aug 01 2011 This is included in the command above?
- Andrej Mitrovic (2/2) Aug 01 2011 Wow! Indeed it is. I really don't know what to say. It didn't work
- Nick Sabalausky (9/33) Jul 17 2011 And also by removing the DVM stuff that was auto-added to .bashrc (if an...
- Jacob Carlborg (4/43) Jul 17 2011 That's correct.
- Mike Parker (3/6) Jul 17 2011 The project page still says "Currently no Windows version" under the
- Jacob Carlborg (4/10) Jul 17 2011 Good point, fixed.
- Lars T. Kyllingstad (3/6) Jul 18 2011 Cool! This is a great tool, very useful.
- Jacob Carlborg (4/10) Jul 18 2011 Thanks.
I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvm Changelog: Version 0.3.0 New/Change Features * Added an option for installing the latest compiler * Better compatibility between different shell implementations * Added Windows support. Thanks to Nick Sabalausky * Added a "list" command for listing installed compilers * Added a "uninstall" command for uninstalling compilers Bugs Fixed * Can't link using DMD 1.068. * Issue 2: The '.dvm/bin/dmd-{ver}' scripts don't work on Ubuntu 10.04 * Issue 7: No error on invalid command * Issue 13: Tmp dir should be deleted before running DVM binary (not just after) * Issue 5: Invalid character in .dvm/env files * Issue 12: "dvm -h" and "dvm --help" print nothing Upgrading from 0.2.0 to 0.3.0: It might be necessary to do a complete clean installation by removing ~/.dvm. This is in particular if you had any problems with the previous shell scripts not working. -- /Jacob Carlborg
Jul 17 2011
On 7/17/2011 4:10 PM, Jacob Carlborg wrote:I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmAwesome news. However, I wasn't able to install without admin. Trying to install as a regular using on Win 7 x64 told me: An error occurred: Registry Key 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment': Couldn't open key: Access is denied. As admin it installed successfully.
Jul 17 2011
"Johann MacDonagh" <johann.macdonagh.no spam.gmail.com> wrote in message news:ivvhtr$2j94$1 digitalmars.com...On 7/17/2011 4:10 PM, Jacob Carlborg wrote:Damn, that's my fault. I thought the try/catch I used would handle that, and I didn't have a restricted account to test with. I guess Windows isn't nice enough to give me a simple exception for that and just bails instead (Or maybe I just caught the wrong exception). I'll fix and submit a pull request. Couple questions: - Did you get that after it prompted you for a "yes/no", or did it not get that far? - Was that message displayed in the cmd prompt or in a dialog box?I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmAwesome news. However, I wasn't able to install without admin. Trying to install as a regular using on Win 7 x64 told me: An error occurred: Registry Key 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment': Couldn't open key: Access is denied. As admin it installed successfully.
Jul 17 2011
On 7/17/2011 6:41 PM, Nick Sabalausky wrote:"Johann MacDonagh"<johann.macdonagh.no spam.gmail.com> wrote in message news:ivvhtr$2j94$1 digitalmars.com... - Did you get that after it prompted you for a "yes/no", or did it not get that far? - Was that message displayed in the cmd prompt or in a dialog box?No prompt at all, and it was in the console window. You can always create a restricted account for yourself to test it out. It will fire if you try dvm-installer.exe install dvm on a machine that already has dvm installed.
Jul 18 2011
"Johann MacDonagh" <johann.macdonagh.no spam.gmail.com> wrote in message news:j02dmi$1t2c$1 digitalmars.com...On 7/17/2011 6:41 PM, Nick Sabalausky wrote:Thanks. There's a point where it checks the registry to see if DMD already exists in the system PATH (and will prompt the user for further action if it's there, because it would get in the way of DVM's "default compiler" feature). Turns out I forgot to use read-only access (instead of read/write) to open the key for that check."Johann MacDonagh"<johann.macdonagh.no spam.gmail.com> wrote in message news:ivvhtr$2j94$1 digitalmars.com... - Did you get that after it prompted you for a "yes/no", or did it not get that far? - Was that message displayed in the cmd prompt or in a dialog box?No prompt at all, and it was in the console window.You can always create a restricted account for yourself to test it out.Yea, clearly I should have done that ;)It will fire if you try dvm-installer.exe install dvm on a machine that already has dvm installed.Turns out the problem occurs when trying to install DVM on any limited Windows user account, regardless of an existing DVM or DMD, and regardless of XP/Win7 or 32bit/64bit. Pretty bad since DVM currently only installs per-user. /facepalm I've fixed it and submitted a pull request (and this time I tested it with limited user accounts on both XP and Vista): https://bitbucket.org/doob/dvm/pull-request/2/
Jul 18 2011
Interesting.. I've tested it on win7 with admin rights but with UAC set to max, and it didn't complain, so I assumed it would work without admin rights too.
Jul 18 2011
"Andrej Mitrovic" <andrej.mitrovich gmail.com> wrote in message news:mailman.1759.1311050894.14074.digitalmars-d-announce puremagic.com...Interesting.. I've tested it on win7 with admin rights but with UAC set to max, and it didn't complain, so I assumed it would work without admin rights too.Including v0.3.0? (The part that was messing up wasn't in any of the earlier Windows betas of DVM.)
Jul 19 2011
No I think I've only tested the beta.
Jul 19 2011
On 7/19/2011 5:52 AM, Andrej Mitrovic wrote:No I think I've only tested the beta.Yeah, the beta didn't complain either, only this new version. Also, it won't trigger UAC (because we're not asking to elevate), it just fails to open.
Jul 19 2011
"Nick Sabalausky" <a a.a> wrote in message news:j0327g$1ci$1 digitalmars.com...I've fixed it and submitted a pull request (and this time I tested it with limited user accounts on both XP and Vista): https://bitbucket.org/doob/dvm/pull-request/2/If anyone wants to use the fixed version (before the pull request gets merged and a new release issued), I've uploaded a precompiled binary: http://www.semitwist.com/download/app/dvm-0.3.0_FIXED-win.exe (I'm trying to put it up here too: https://bitbucket.org/Abscissa256/dvm/downloads But it's taking absolutely forever...)
Jul 19 2011
I know this is maybe obvious for linux geeks, but your shell command won't work like this: wget -O dvm https://bitbucket.org/doob/dvm/downloads/dvm-0.3.0-linux-32 && chmod +x dvm && ./dvm install dvm Because you have to call this before executing dvm: chmod +x dvm
Aug 01 2011
Am 01.08.2011 22:53, schrieb Andrej Mitrovic:I know this is maybe obvious for linux geeks, but your shell command won't work like this: wget -O dvm https://bitbucket.org/doob/dvm/downloads/dvm-0.3.0-linux-32 && chmod +x dvm&& ./dvm install dvm Because you have to call this before executing dvm: chmod +x dvmThis is included in the command above?
Aug 01 2011
Wow! Indeed it is. I really don't know what to say. It didn't work when I tried it, but it does if I manually call chmod. Hillarious.
Aug 01 2011
"Jacob Carlborg" <doob me.com> wrote in message news:ivvftq$2fvd$1 digitalmars.com...I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvm Changelog: Version 0.3.0 New/Change Features * Added an option for installing the latest compiler * Better compatibility between different shell implementations * Added Windows support. Thanks to Nick Sabalausky * Added a "list" command for listing installed compilers * Added a "uninstall" command for uninstalling compilers Bugs Fixed * Can't link using DMD 1.068. * Issue 2: The '.dvm/bin/dmd-{ver}' scripts don't work on Ubuntu 10.04 * Issue 7: No error on invalid command * Issue 13: Tmp dir should be deleted before running DVM binary (not just after) * Issue 5: Invalid character in .dvm/env files * Issue 12: "dvm -h" and "dvm --help" print nothing Upgrading from 0.2.0 to 0.3.0: It might be necessary to do a complete clean installation by removing ~/.dvm.And also by removing the DVM stuff that was auto-added to .bashrc (if any).This is in particular if you had any problems with the previous shell scripts not working.If you haven't had such problems, then you should be good without wiping ~/.dvm. The most likely problem was with invoking a specific version of DMD directly via "dvm-{version}", so that should be a good test. (At least that was my experience on Kubuntu 10.04, YMMV.) This issue shouldn't affect people who used the Windows betas since Windows already uses completely different scripts with completely different syntax.
Jul 17 2011
On 2011-07-18 00:34, Nick Sabalausky wrote:"Jacob Carlborg"<doob me.com> wrote in message news:ivvftq$2fvd$1 digitalmars.com...That's correct. -- /Jacob CarlborgI just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvm Changelog: Version 0.3.0 New/Change Features * Added an option for installing the latest compiler * Better compatibility between different shell implementations * Added Windows support. Thanks to Nick Sabalausky * Added a "list" command for listing installed compilers * Added a "uninstall" command for uninstalling compilers Bugs Fixed * Can't link using DMD 1.068. * Issue 2: The '.dvm/bin/dmd-{ver}' scripts don't work on Ubuntu 10.04 * Issue 7: No error on invalid command * Issue 13: Tmp dir should be deleted before running DVM binary (not just after) * Issue 5: Invalid character in .dvm/env files * Issue 12: "dvm -h" and "dvm --help" print nothing Upgrading from 0.2.0 to 0.3.0: It might be necessary to do a complete clean installation by removing ~/.dvm.And also by removing the DVM stuff that was auto-added to .bashrc (if any).This is in particular if you had any problems with the previous shell scripts not working.If you haven't had such problems, then you should be good without wiping ~/.dvm. The most likely problem was with invoking a specific version of DMD directly via "dvm-{version}", so that should be a good test. (At least that was my experience on Kubuntu 10.04, YMMV.) This issue shouldn't affect people who used the Windows betas since Windows already uses completely different scripts with completely different syntax.
Jul 17 2011
On 7/18/2011 5:10 AM, Jacob Carlborg wrote:I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmThe project page still says "Currently no Windows version" under the "Limitations" heading.
Jul 17 2011
On 2011-07-18 06:51, Mike Parker wrote:On 7/18/2011 5:10 AM, Jacob Carlborg wrote:Good point, fixed. -- /Jacob CarlborgI just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmThe project page still says "Currently no Windows version" under the "Limitations" heading.
Jul 17 2011
On Sun, 17 Jul 2011 22:10:39 +0200, Jacob Carlborg wrote:I just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmCool! This is a great tool, very useful. -Lars
Jul 18 2011
On 2011-07-18 11:31, Lars T. Kyllingstad wrote:On Sun, 17 Jul 2011 22:10:39 +0200, Jacob Carlborg wrote:Thanks. -- /Jacob CarlborgI just released a new version of DVM, 0.3.0. Now with support for Windows :), thanks to Nick Sabalausky. For installation instructions see: https://bitbucket.org/doob/dvmCool! This is a great tool, very useful. -Lars
Jul 18 2011