Thu May 5 21:23:00 GMT 2011
On 5/5/2011 5:07 PM, RenÃ© Berber wrote:
> On 5/5/2011 3:31 PM, Eli Barzilay wrote:
>> But now I'm trying to set up a Windows 7 build machine, and things get
>> more complicated in a way that I think is related to the above. The
>> first thing that fails (after I start sshd as myself, similarly to the
>> XP box) is running the vcvarsall.bat in the devstudio directory --
>> that fails with a "Cannot determine the location of the VS Common
>> Tools folder", which I tracked down to uses of some `reg' command that
>> fail. The thing is that it works fine when running on a bash shell on
>> the machine, but fails through ssh.
>> Any pointers?
> Environment variables. When you login using ssh you get a different set
> than the ones your Windows login has, including a modified PATH.
env vars are a common issue (see:
http://cygwin.com/ml/cygwin/2010-08/msg00245.html) but in this case I
think it's somewhat different.
On Vista and W7, the sshd process is running in a different "Windows
Station" than the normal login. This *might* mean that the 'reg'
command is accessing a different registry hive that you think it should.
Can you run the 'reg' command manually, from a standard login and from
an sshd session, and see what the results are in each case?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin