delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/20/21:22:59

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: mwoehlke <mwoehlke AT tibco DOT com>
Subject: Re: When ssh'd in, cannot run MS compiler /Zi debug option.
Date: Thu, 20 Jul 2006 20:22:28 -0500
Lines: 62
Message-ID: <e9pa8k$26v$1@sea.gmane.org>
References: <loom DOT 20060719T053158-768 AT post DOT gmane DOT org> <e9lskk$j37$1 AT sea DOT gmane DOT org> <loom DOT 20060721T021555-260 AT post DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.4 (X11/20060516)
In-Reply-To: <loom.20060721T021555-260@post.gmane.org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Mark Charney wrote:
> mwoehlke <mwoehlke <at> tibco.com> writes:
>>>      Fatal Error C1902: Program database manager mismatch; please 
>>>      check your installation.
> ...
> 
>> Actually, you might want to read 
>> <http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=357051&SiteID=1>.
>>
>> This seems to be a problem with cl.exe, NOT Cygwin (and yes, I have the 
>> exact same problem). At the very least, Interix's SSH has the same 
>> issue. There is supposed to be a hotfix, the name of which is mentioned 
>> in another thread linked via the above thread, but you have to go 
>> through Microsoft support to get it .
>>
>> (If you do get it, I would really appreciate a copy .)
> 
> Thanks. Actually, I'm one of the posters on that thread that that thread links
> to.

Ah, didn't check the names. :-)

>  I received the hotfix Tuesday (and it does *not* work for me.  (Spent all
> day on the phone!) I've got an open case w/ Microsoft and they don't really
> understand the issue yet, as far as I can tell. Cygwin baffles them. Now that I
> know that i need to add some rights to the sshd_server account for public key
> auth, I think I might have a hope of getting help from MS, but not sure yet.

Ok, well please keep us updated; thanks!
(All the same, would you mind passing a copy of that hotfix this way? 
Maybe I'll get lucky...)

> Using password authentication does work, and is a sufficent workaround. I'm
> still trying to figure out what  Corinna was referring to with this:
>>     add the user account sshd_server resp. SYSTEM to
>>     the list of users which can access the "Program database", whatever
>>     that is.

Right... I didn't quite understand that either, although it sounds like 
Corinna making a WAG about the pdb program (I'm not reassured by 
"whatever that is" :-)). Possibly MS would be more helpful here. 
Although given how unclear the original suggestion was, it's probably 
correct ;-).

For those fortunate enough to be uneducated (i.e. fortunate enough to 
not have to use MS compilers): A "program database" is a .pdb file 
generated alongside a .exe that contains the debugging information (line 
numbers and such). MS, in their "infinite wisdom" decided there should 
be a completely separate tool to generate the critter, which seems to be 
problematic at best. Of course, these are the same folks that built 
identically-named, completely *separate* compilers for 32-bit and 
64-bit. No nice '-m32'/'-m64' flags here!

So, the problem is that something about the pdb tool breaks when using 
password-less login under ssh (whether or not it's Cygwin ssh).

Anyway, my workaround has just been to not use ssh for now.

-- 
Matthew
"We're all mad here. I'm mad. You're mad... You must be, or you wouldn't 
have come here." -- The Cheshire Cat


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019