View mode: basic / threaded / horizontal-split · Log in · Help
October 16, 2012
Re: D seems interesting, but...
On 2012-10-16 09:04, 1100110 wrote:

> OK. Install dvm using directions on bitbucket.
>
> dvm install -l
> (no output)
> dvm list
> No installed D compilers
>
> Thats it.  No errors, I'll make a issue in a bit.

The -l flag seems to be horrible broken. Can you try "dvm install 2.060".

-- 
/Jacob Carlborg
October 16, 2012
Re: D seems interesting, but...
On Monday, 15 October 2012 at 23:54:54 UTC, 1100110 wrote:
> From what I've seen, LDC and GDC both rename their versions of 
> phobos so that they won't interfere.

This is correct.

David
October 16, 2012
Re: D seems interesting, but...
On Monday, 15 October 2012 at 20:19:22 UTC, Gerry Weaver wrote:
> When running dmd, none of the read (and friends) syscalls 
> happen as far as the kernel is concerned. This would lend some 
> credibility to the lib theory. However, it's quite odd that 
> results are the same for each time dmd is executed. I would 
> expect a random result or even a segfault/abort on different 
> runs.

Shouldn't the application be terminated when a library fails to 
load?
October 19, 2012
Re: D seems interesting, but...
Am Tue, 16 Oct 2012 09:32:25 +0200
schrieb Jacob Carlborg <doob@me.com>:

> On 2012-10-16 09:04, 1100110 wrote:
> 
> > OK. Install dvm using directions on bitbucket.
> >
> > dvm install -l
> > (no output)
> > dvm list
> > No installed D compilers
> >
> > Thats it.  No errors, I'll make a issue in a bit.
> 
> The -l flag seems to be horrible broken. Can you try "dvm install 2.060".

Ok now that everyone is bashing I can jump in, too. I tried a
few commands and they all failed with bugs already listed in
the bug tracker. no kidding. :D

--- "dvm list": An unknown error occurred:
tango.core.Exception.VfsException: FileFolder.open :: path does not exist: /home/marco/.dvm/compilers

--- "dvm -l install":
zsh: segmentation fault  ./dvm-0.4.0-linux-64 -l install

--- "dvm install dmd-2.060":
Fetching: http://ftp.digitalmars.com/dmd.dmd-2.060.zip
An unknown error occurred:
tango.core.Exception.IOException: The resource with URL "http://ftp.digitalmars.com/dmd.dmd-2.060.zip" could not be found.

--- "dvm install 2.060":
Fetching: http://ftp.digitalmars.com/dmd.2.060.zip
[========================================>] 26846/26191 KB

Installing: dmd-2.060
An unknown error occurred:
tango.core.Exception.IOException: /home/marco/.dvm/bin/dmd-2.060 :: No such file or directory

At this point I stopped, because I was too scared.

-- 
Marco
October 19, 2012
Re: D seems interesting, but...
On Monday, 15 October 2012 at 14:29:42 UTC, foobar wrote:

> Java has the correct DRY solution - each class can define a 
> static main method but the compiler only uses the one specified 
> by a compiler switch.
> The above basically asks the programmer to endlessly repeat the 
> same trivial implementation boilerplate that should be written 
> just once _in_ the compiler.

 I remember this. I remember scratching my head and asking why, 
but then realizing that likely 99% of the time it's never called, 
so I started using it to build and do unittests (without Junit).

 Curiously. I'm suddenly reminded of a test suite I made for a 
company for Visual Basic. It was years ago and a nice little test 
suite; I really wish I had a copy.
October 20, 2012
Re: D seems interesting, but...
On 2012-10-19 09:05, Marco Leise wrote:

> Ok now that everyone is bashing I can jump in, too. I tried a
> few commands and they all failed with bugs already listed in
> the bug tracker. no kidding. :D
>
> --- "dvm list": An unknown error occurred:
> tango.core.Exception.VfsException: FileFolder.open :: path does not exist: /home/marco/.dvm/compilers
>
> --- "dvm -l install":
> zsh: segmentation fault  ./dvm-0.4.0-linux-64 -l install
>
> --- "dvm install dmd-2.060":
> Fetching: http://ftp.digitalmars.com/dmd.dmd-2.060.zip
> An unknown error occurred:
> tango.core.Exception.IOException: The resource with URL "http://ftp.digitalmars.com/dmd.dmd-2.060.zip" could not be found.
>
> --- "dvm install 2.060":
> Fetching: http://ftp.digitalmars.com/dmd.2.060.zip
> [========================================>] 26846/26191 KB
>
> Installing: dmd-2.060
> An unknown error occurred:
> tango.core.Exception.IOException: /home/marco/.dvm/bin/dmd-2.060 :: No such file or directory
>
> At this point I stopped, because I was too scared.

Thanks for reporting this.

-- 
/Jacob Carlborg
October 22, 2012
Re: D seems interesting, but...
On 15/10/12 13:39, Jacob Carlborg wrote:
> On 2012-10-15 11:58, Don Clugston wrote:
>
>> I tried that on both Windows and Ubuntu, and couldn't get it to work on
>> either of them. I posted a couple of bug reports eight months ago, and
>> they still haven't been fixed. Not recommended for anyone who is having
>> problems with their installation.
>
> I know it's not a perfect tool and it contains bugs but most things do
> work. I don't know which issues have been reported by you, but it seems
> there's a problem with the "-l" flag. Running "dvm install 2.060"
> usually works. Could you please point out which issues have been
> reported by you.

I don't remember, it's a long time ago. But this was one of them:
https://github.com/jacob-carlborg/dvm/issues/11

Basically it was case of: download, find a bug, find another bug,
think "this has already cost me more time than it could ever save me", 
quit now.

>
> I have very limited time to work with D, as I understand most people
> here has, and I'm currently working on other projects than DVM since
> basically does what I intended it to do when I started the project.
>
> It seems most D installers are broken in one way or another. But the
> success rate with DVM seems to be quite high anyway.
>
October 22, 2012
Re: D seems interesting, but...
On 2012-10-22 17:33, Don Clugston wrote:

> I don't remember, it's a long time ago. But this was one of them:
> https://github.com/jacob-carlborg/dvm/issues/11
>
> Basically it was case of: download, find a bug, find another bug,
> think "this has already cost me more time than it could ever save me",
> quit now.

I'll see if I can create a bug fix release.

-- 
/Jacob Carlborg
Next ›   Last »
4 5 6 7 8
Top | Discussion index | About this forum | D home