May 19, 2011
On 2011-05-18 22:33, Nick Sabalausky wrote:
> "Jacob Carlborg"<doob@me.com>  wrote in message
> news:ir0o9o$1st5$1@digitalmars.com...
>> On 2011-05-18 14:21, Steven Schveighoffer wrote:
>>> On Wed, 18 May 2011 03:15:50 -0400, Nick Sabalausky<a@a.a>  wrote:
>>>
>>>> But the bottom line seems to be: Linux is in a bigger DLL hell than
>>>> windows
>>>> has ever been, and I don't think *anyone* actually knows how to do it.
>>>
>>> This is one of the side effects of having open source software. Since
>>> everything on linux is expected to be open source, it's expected that
>>> you simply recompile everything for your system. In this respect,
>>> Windows has Linux beat hands down. A hardware company that builds a
>>> driver needs only to support one compiled driver that just keeps working
>>> no matter how many times XP is updated.
>>
>> The problem I have with my tool is like the chicken and the egg problem.
>> The tool installs D compilers and you're supposed to use the tool without
>> the requirement of an pre-existing DMD compiler.
>>
>
> I've been thinking it would probably be possible to bootstrap DVM with a
> shell script that would wget some specific DMD, set it up, at least enough
> to build DVM (possibly even automatically building
> DMD/druntime/phobos/tango - which is something we really need a more
> automated way to do anway, especially for "trunk" versions (or whatever the
> Git-lingo for "trunk" is)), and then use that to build DVM.
>
> I may give it a try myself.

In the case I just could have written the tool in shell script in the first place and that's what I want to avoid. I hate shell scripts and it would make it even harder to create a version for Windows.

I think the right approach is to provied pre-compiled binaries. I downloaded Ubuntu 4.10, or something like that. I'll install it in a virtual machine and try it out.

-- 
/Jacob Carlborg
May 31, 2011
On Tue, 17 May 2011 23:15:42 +0200, Jacob Carlborg wrote:

> I just released a new version of DVM, 0.2.0. For installation instructions see: https://bitbucket.org/doob/dvm
> 
> Changelog:
> 
> Version 0.2.0
> 
> New/Change Features
>   * 64bit version now available on Linux * It's now possible to update
>   an already existing DVM installation * Added an option for installing
>   32bit compilers, useful on 64bit
> platforms
>   * Added support for the new structure of the DMD zip, appeared in
> version 1.068 and 2.053
>   * Added a "current" wrapper which points to the current compiler *
>   Added an option for specifying a default compiler * Better compatible
>   between different shells * Added support for installing Tango
>   * Added support for installing 64bit compilers (default on 64bit
> platforms)
>   * The fetch/install command now shows progress when downloading.
> Thanks to jdrewsen.
>   * Added support for the new structure of the DMD zip, appeared in
> version 1.067 and 2.052.
>   * Added a changelog.
> 
> Bugs Fixed
>   * RDMD now has executable permission
>   * Exit if the DVM executable cannot be found * Always remove the temp
>   path
>   * Don't use "exit" in the DVM shell script * Added dmd.conf patch for
>   druntime as well. * Fixed: DMD2 was incorrectly handled. * Bump
>   version number.
> 
> 
> Sorry, still no version for Windows. I've seen another application that does the same but for Ruby, on Windows, so now I know it should be possible at least.

I just installed DVM, and it seems like a very useful tool.  It works pretty well, but I ran into an issue for which I created a bug report:

https://bitbucket.org/doob/dvm/issue/5/invalid-character-in-dvm-env-files

Also, I have some suggestions for features you may want to add in the future.  I'll add enhancement requests for these.

Thanks for making a nice tool!

-Lars
May 31, 2011
On 2011-05-31 12:25, Lars T. Kyllingstad wrote:
> On Tue, 17 May 2011 23:15:42 +0200, Jacob Carlborg wrote:
>
>> I just released a new version of DVM, 0.2.0. For installation
>> instructions see: https://bitbucket.org/doob/dvm
>>
>> Changelog:
>>
>> Version 0.2.0
>>
>> New/Change Features
>>    * 64bit version now available on Linux * It's now possible to update
>>    an already existing DVM installation * Added an option for installing
>>    32bit compilers, useful on 64bit
>> platforms
>>    * Added support for the new structure of the DMD zip, appeared in
>> version 1.068 and 2.053
>>    * Added a "current" wrapper which points to the current compiler *
>>    Added an option for specifying a default compiler * Better compatible
>>    between different shells * Added support for installing Tango
>>    * Added support for installing 64bit compilers (default on 64bit
>> platforms)
>>    * The fetch/install command now shows progress when downloading.
>> Thanks to jdrewsen.
>>    * Added support for the new structure of the DMD zip, appeared in
>> version 1.067 and 2.052.
>>    * Added a changelog.
>>
>> Bugs Fixed
>>    * RDMD now has executable permission
>>    * Exit if the DVM executable cannot be found * Always remove the temp
>>    path
>>    * Don't use "exit" in the DVM shell script * Added dmd.conf patch for
>>    druntime as well. * Fixed: DMD2 was incorrectly handled. * Bump
>>    version number.
>>
>>
>> Sorry, still no version for Windows. I've seen another application that
>> does the same but for Ruby, on Windows, so now I know it should be
>> possible at least.
>
> I just installed DVM, and it seems like a very useful tool.  It works
> pretty well, but I ran into an issue for which I created a bug report:
>
> https://bitbucket.org/doob/dvm/issue/5/invalid-character-in-dvm-env-files
>
> Also, I have some suggestions for features you may want to add in the
> future.  I'll add enhancement requests for these.
>
> Thanks for making a nice tool!
>
> -Lars

I'll have a look, thanks.

-- 
/Jacob Carlborg
1 2 3
Next ›   Last »