Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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 dvm This is included in the command above?
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
No I think I've only tested the beta.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
On 2011-07-18 06:51, Mike Parker wrote: 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/dvm The project page still says Currently no Windows version under the Limitations heading. Good point, fixed. -- /Jacob Carlborg
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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/dvm Cool! This is a great tool, very useful. -Lars
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
On 2011-07-18 11:31, Lars T. Kyllingstad wrote: 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/dvm Cool! This is a great tool, very useful. -Lars Thanks. -- /Jacob Carlborg
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
On 7/17/2011 6:41 PM, Nick Sabalausky wrote: Johann MacDonaghjohann.macdonagh...@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.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
Johann MacDonagh johann.macdonagh...@spam.gmail.com wrote in message news:j02dmi$1t2c$1...@digitalmars.com... On 7/17/2011 6:41 PM, Nick Sabalausky wrote: Johann MacDonaghjohann.macdonagh...@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. 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. 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/
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
Jacob Carlborg d...@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.
Re: DVM - D Version Manager 0.3.0 (including support for Windows)
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/dvm The project page still says Currently no Windows version under the Limitations heading.