September 03, 2014
On Wednesday, 3 September 2014 at 19:02:05 UTC, Sean Kelly wrote:
> On Wednesday, 3 September 2014 at 15:55:47 UTC, Chris wrote:
>>
>> Methinks DVM doesn't get it right. 2.065.zip is available here:
>>
>> ftp://ftp.digitalmars.com/dmd.2.065.0.zip
>>
>> (cf. http://forum.dlang.org/thread/ebvumaoniuukgjbowxbz@forum.dlang.org)
>>
>> But DVM tries to access it via http:
>>
>> Fetching: http://ftp.digitalmars.com/dmd.2.065.zip
>> An unknown error occurred:
>> tango.core.Exception.IOException@/home/doob/development/d/tango/tango/core/Exception.d(59): The resource with URL "http://ftp.digitalmars.com/dmd.2.065.zip" could not be found.
>
> The link for 2.065 on http://dlang.org/changelog.html is broken
> as well.  I don't think this particular issue can be blamed on
> DVM.

I know, but I thought maybe DVM tries different addresses, if one is not working. Anyway it should be on dlang.org/changelog.html.
September 03, 2014
On Wednesday, 3 September 2014 at 19:34:26 UTC, Chris wrote:
>
> I know, but I thought maybe DVM tries different addresses, if one is not working. Anyway it should be on dlang.org/changelog.html.

For what it's worth, if you do "dvm install 2.065.0" it will find
it.  Not sure if DVM should try alternates or not though.
September 04, 2014
On 03/09/14 17:55, Chris wrote:

> Methinks DVM doesn't get it right. 2.065.zip is available here:
>
> ftp://ftp.digitalmars.com/dmd.2.065.0.zip
>
> (cf. http://forum.dlang.org/thread/ebvumaoniuukgjbowxbz@forum.dlang.org)
>
> But DVM tries to access it via http:
>
> Fetching: http://ftp.digitalmars.com/dmd.2.065.zip
> An unknown error occurred:
> tango.core.Exception.IOException@/home/doob/development/d/tango/tango/core/Exception.d(59):
> The resource with URL "http://ftp.digitalmars.com/dmd.2.065.zip" could
> not be found.

DVM will try to fetch the exact version you specify. The version, in this particular case, is 2.065.0. Note the extra zero at the end.

-- 
/Jacob Carlborg
September 04, 2014
On 03/09/14 21:58, Sean Kelly wrote:

> For what it's worth, if you do "dvm install 2.065.0" it will find
> it.  Not sure if DVM should try alternates or not though.

I've seen this mistake several times, missing the extra zero at the end. Perhaps adding a special case for that.

-- 
/Jacob Carlborg
September 04, 2014
On Thursday, 4 September 2014 at 06:06:04 UTC, Jacob Carlborg wrote:
> On 03/09/14 21:58, Sean Kelly wrote:
>
>> For what it's worth, if you do "dvm install 2.065.0" it will find
>> it.  Not sure if DVM should try alternates or not though.
>
> I've seen this mistake several times, missing the extra zero at the end. Perhaps adding a special case for that.

Weird, I did try the zero at the end (as described on the homepage*), yet I got an error. Maybe I typed a comma instead of a "." without realizing it. However, I'm almost sure I didn't type the zero when installing 2.066 and I got the right version.

If you've seen this mistake several times, maybe it would be good to point it out under "Usage". And maybe having/trying more than one mirror would be good too, if it makes sense for DVM.

* https://github.com/jacob-carlborg/dvm
September 04, 2014
On 2014-09-04 10:40, Chris wrote:

> Weird, I did try the zero at the end (as described on the homepage*),
> yet I got an error. Maybe I typed a comma instead of a "." without
> realizing it. However, I'm almost sure I didn't type the zero when
> installing 2.066 and I got the right version.

DVM just takes the argument you give it, in this case 2.066. Then it prepends "dmd." and appends ".zip" forming something like this:

dmd.2.066.zip

Then it prepends "ftp://ftp.digitalmars.com/" to that filename. If there is a file matching that name in the Digital Mars FTP it will work. As you can see, there is no file named "dmd.2.066.zip", so you must have used "2.066.0".

> If you've seen this mistake several times, maybe it would be good to
> point it out under "Usage". And maybe having/trying more than one mirror
> would be good too, if it makes sense for DVM.

There is no mirror, as far as I know.

-- 
/Jacob Carlborg
September 04, 2014
El 03/09/14 a les 08:10, Jacob Carlborg via Digitalmars-d-announce ha escrit:
> I only chose Debian because it's a stable/old system with a high chance of being binary compatible with other distributions.

On Debian 7.6 64-bit I got this error:
----
$ dvm
dvm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by dvm)
----
"libc6" on Debian 7.6 (stable) is v2.13.


On Debian testing:

----
$ dvm install 2.065.0
Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
[========================================>] 50581/49347 KB

Installing: dmd-2.065.0
An unknown error occurred:
tango.core.Exception.IOException@/home/doob/development/d/tango/tango/core/Exception.d(59): /home/jordi/.dvm/bin/dmd-2.065.0 :: No such file or directory
...
----

After manually created this directory and properly install dmd 2.065.0:

----
$ dvm use 2.065.0
$ dmd
bash: dmd: command not found
----

What I'm doing wrong?

Regards,
-- 
Jordi Sayol
September 04, 2014
Sorry, i forget to mention that on Debian testing, my desktop is Mate <http://mate-desktop.org/>

Regards,
-- 
Jordi Sayol
September 04, 2014
On 9/4/2014 3:50 PM, Jordi Sayol via Digitalmars-d-announce wrote:
>
> On Debian testing:
>
> ----
> $ dvm install 2.065.0
> Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
> [========================================>] 50581/49347 KB
>
> Installing: dmd-2.065.0
> An unknown error occurred:
> tango.core.Exception.IOException@/home/doob/development/d/tango/tango/core/Exception.d(59): /home/jordi/.dvm/bin/dmd-2.065.0 :: No such file or directory
> ...
> ----
>
> After manually created this directory and properly install dmd 2.065.0:
>
> ----
> $ dvm use 2.065.0
> $ dmd
> bash: dmd: command not found
> ----
>
> What I'm doing wrong?

dvm install dvm

September 04, 2014
El 04/09/14 a les 22:17, Nick Sabalausky via Digitalmars-d-announce ha escrit:
>> What I'm doing wrong?
> 
> dvm install dvm

On Debian testing (mate desktop) without ~/.dvm dir, dmd still not found:
----
$ dvm install dvm
$ dvm install 2.065.0
Fetching: http://ftp.digitalmars.com/dmd.2.065.0.zip
[========================================>] 50581/49347 KB

Installing: dmd-2.065.0
$ dvm use 2.065.0
$ dmd
bash: dmd: command not found
----

BTW Is there a reason to mandatory copy dvm to ~/.dvm/bin directory?

-- 
Jordi Sayol