Re: dmd installation question

2016-01-17 Thread Brad Anderson via Digitalmars-d
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar 
wrote:

Hi

[snip]

Upon investigating it appears that the sc.ini file is not 
readable by the user.


If I log in as Administrator then the build works.

What am I doing wrong?

Regards


We've got a wealth of fixes for this now (Rainer and I each 
independently made one).


https://github.com/D-Programming-Language/installer/pull/165
https://github.com/D-Programming-Language/installer/pull/166

Just need someone to review and pick one.


Re: dmd installation question

2016-01-17 Thread Dibyendu Majumdar via Digitalmars-d

On Sunday, 17 January 2016 at 03:27:29 UTC, Mike Parker wrote:
On Saturday, 16 January 2016 at 22:04:58 UTC, Dibyendu Majumdar 
wrote:




It seems that the sc.ini is modified by the installer - and in 
doing so it loses the group "Users" assignment so that no one 
other than the administrator can access it.


I'm unable to reproduce this with the 2.069.2 installer. I 
completely removed my previous installation and installed from 
scratch. All of my projects compile fine. Are you using 2.069.2 
or the beta?


I used 2.069.2.
Are you sure you are attempting to build from a 
non-administrative user? The issue log previously noted does show 
others are getting the same error.


Re: dmd installation question

2016-01-16 Thread Dibyendu Majumdar via Digitalmars-d

On Saturday, 16 January 2016 at 02:10:44 UTC, Brad Anderson wrote:
On Saturday, 16 January 2016 at 02:07:13 UTC, Brad Anderson 
wrote:
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu 
Majumdar wrote:

[...]


Probably this:

https://issues.dlang.org/show_bug.cgi?id=15456

I'm going to try to get around to fixing that and making an 
installer for LDC this weekend.


Reading more carefully it may not be the same bug.


I did not run the uninstaller - it was a first time install. So 
the problem appears to be in the installer.


I downloaded the compressed archive and extracted - this doesn't 
appear to have the problem.


Re: dmd installation question

2016-01-16 Thread Dibyendu Majumdar via Digitalmars-d
On Saturday, 16 January 2016 at 11:53:07 UTC, Dibyendu Majumdar 
wrote:

Probably this:

https://issues.dlang.org/show_bug.cgi?id=15456

I'm going to try to get around to fixing that and making an 
installer for LDC this weekend.


Reading more carefully it may not be the same bug.




It seems that the sc.ini is modified by the installer - and in 
doing so it loses the group "Users" assignment so that no one 
other than the administrator can access it.


Re: dmd installation question

2016-01-16 Thread Mike Parker via Digitalmars-d
On Saturday, 16 January 2016 at 22:04:58 UTC, Dibyendu Majumdar 
wrote:




It seems that the sc.ini is modified by the installer - and in 
doing so it loses the group "Users" assignment so that no one 
other than the administrator can access it.


I'm unable to reproduce this with the 2.069.2 installer. I 
completely removed my previous installation and installed from 
scratch. All of my projects compile fine. Are you using 2.069.2 
or the beta?


Re: dmd installation question

2016-01-15 Thread Brad Anderson via Digitalmars-d
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar 
wrote:

Hi

I have downloaded and installed DMD on a Windows 10 64-bit 
machine. When I try to build my app in Visual Studio - I am 
getting an error:


Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

   config file: C:\D\dmd2\windows\bin\sc.ini
Specify path to file 'object.d' with -I switch

Upon investigating it appears that the sc.ini file is not 
readable by the user.


If I log in as Administrator then the build works.

What am I doing wrong?

Regards


Probably this:

https://issues.dlang.org/show_bug.cgi?id=15456

I'm going to try to get around to fixing that and making an 
installer for LDC this weekend.


dmd installation question

2016-01-15 Thread Dibyendu Majumdar via Digitalmars-d

Hi

I have downloaded and installed DMD on a Windows 10 64-bit 
machine. When I try to build my app in Visual Studio - I am 
getting an error:


Error: cannot find source code for runtime library file 'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

   config file: C:\D\dmd2\windows\bin\sc.ini
Specify path to file 'object.d' with -I switch

Upon investigating it appears that the sc.ini file is not 
readable by the user.


If I log in as Administrator then the build works.

What am I doing wrong?

Regards


Re: dmd installation question

2016-01-15 Thread Dibyendu Majumdar via Digitalmars-d
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar 
wrote:
I have downloaded and installed DMD on a Windows 10 64-bit 
machine. When I try to build my app in Visual Studio - I am 
getting an error:


Error: cannot find source code for runtime library file 
'object.d'
   dmd might not be correctly installed. Run 'dmd -man' for 
installation instructions.

   config file: C:\D\dmd2\windows\bin\sc.ini
Specify path to file 'object.d' with -I switch



I used the Installer by the way.


Re: dmd installation question

2016-01-15 Thread Brad Anderson via Digitalmars-d

On Saturday, 16 January 2016 at 02:07:13 UTC, Brad Anderson wrote:
On Saturday, 16 January 2016 at 01:16:22 UTC, Dibyendu Majumdar 
wrote:

[...]


Probably this:

https://issues.dlang.org/show_bug.cgi?id=15456

I'm going to try to get around to fixing that and making an 
installer for LDC this weekend.


Reading more carefully it may not be the same bug.