public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Mapping of Windows registry not complete
@ 2011-11-26 12:12 Julien Nabet
  2011-11-27 10:38 ` Christian Franke
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Nabet @ 2011-11-26 12:12 UTC (permalink / raw)
  To: cygwin

Hello,

I'm trying to compile Libreoffice  on Windows with Cygwin. For this, I 
had to install some softs including Microsoft Visual C++ Express 8.
When I launched configuration part of Libreoffice (so just before 
compiling), I noticed that some config elements weren't found.
By taking a look about the cause of this, I saw that Windows registry 
mapped by Cygwin located in /proc/registry wasn't complete.
For example I've got :
/proc/registry/HKLM/Software/Microsoft/VC8 (since I'm right now on 
Linux, the path is not exactly this one but that's the idea) but nothing 
in it whereas I can see with regedit there are keys and subkeys.
I took a look to /proc/registry32, it was the same.

I use Windows Vista 32 (dual boot with Debian testing) and Cygwin 1.7. I 
had cleaned previous Cygwin install by deleting the cygwin program 
folder and cleaned the registry (with ccleaner).

Of course, I saw the tool "regtool" and proposed a patch to LibreOffice 
to use it. But I'd like to understand why the mapping isn't complete.

Regards,

Julien.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mapping of Windows registry not complete
  2011-11-26 12:12 Mapping of Windows registry not complete Julien Nabet
@ 2011-11-27 10:38 ` Christian Franke
  2011-11-27 19:12   ` Julien
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Franke @ 2011-11-27 10:38 UTC (permalink / raw)
  To: cygwin

Julien Nabet wrote:
> Hello,
>
> I'm trying to compile Libreoffice  on Windows with Cygwin. For this, I 
> had to install some softs including Microsoft Visual C++ Express 8.
> When I launched configuration part of Libreoffice (so just before 
> compiling), I noticed that some config elements weren't found.
> By taking a look about the cause of this, I saw that Windows registry 
> mapped by Cygwin located in /proc/registry wasn't complete.
> For example I've got :
> /proc/registry/HKLM/Software/Microsoft/VC8 (since I'm right now on 
> Linux, the path is not exactly this one but that's the idea) but 
> nothing in it whereas I can see with regedit there are keys and subkeys.

This key?
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/8.0

I could not reproduce this. Please provide output of:

$ uname -rs
$ cd /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft
$ stat VisualStudio/8.0
$ ls -la VisualStudio/8.0

If 'ls' output is actually empty, retry with Cygwin shell running as 
administrator.
(ls /proc/registry/HKEY_LOCAL_MACHINE/SAM/SAM should work then).

Please note that the Express editions of Visual Studio put some subkeys 
to a different location:
/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VCExpress/...
A configuration script expecting Express edition might not work with a 
regular edition and vice versa.

Regards,
Christian


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Re: Mapping of Windows registry not complete
  2011-11-27 10:38 ` Christian Franke
@ 2011-11-27 19:12   ` Julien
  2011-11-28 20:31     ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: Julien @ 2011-11-27 19:12 UTC (permalink / raw)
  To: Christian Franke; +Cc: cygwin

Le -10/01/-28163 20:59, Christian Franke a écrit :
> Julien Nabet wrote:
>> Hello,
>>
>> I'm trying to compile Libreoffice  on Windows with Cygwin. For this, 
>> I had to install some softs including Microsoft Visual C++ Express 8.
>> When I launched configuration part of Libreoffice (so just before 
>> compiling), I noticed that some config elements weren't found.
>> By taking a look about the cause of this, I saw that Windows registry 
>> mapped by Cygwin located in /proc/registry wasn't complete.
>> For example I've got :
>> /proc/registry/HKLM/Software/Microsoft/VC8 (since I'm right now on 
>> Linux, the path is not exactly this one but that's the idea) but 
>> nothing in it whereas I can see with regedit there are keys and subkeys.
>
> This key?
> /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/8.0
>
> I could not reproduce this. Please provide output of:
>
> $ uname -rs
> $ cd /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft
> $ stat VisualStudio/8.0
> $ ls -la VisualStudio/8.0
>
> If 'ls' output is actually empty, retry with Cygwin shell running as 
> administrator.
> (ls /proc/registry/HKEY_LOCAL_MACHINE/SAM/SAM should work then).
>
> Please note that the Express editions of Visual Studio put some 
> subkeys to a different location:
> /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VCExpress/...
> A configuration script expecting Express edition might not work with a 
> regular edition and vice versa.
In fact, I can't test any more since I uninstall Cygwin (registry 
cleaning + cygwin directory) and can't succeed in reinstall it again.
Each time I try, I've got a Windows error blue screen (BSoD).
Of course, I know there could be interaction with other softs, so i 
deactivated Avast for example and use no software meanwhile (I thought 
it could be the fact to use Firefox during install for example) but no way.
I appreciate your help but now I don't want to waste some time to guess 
the cause of this BSoD so I return to Linux.

Thank you for having answered.
>
> Regards,
> Christian
Regards,
Julien

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mapping of Windows registry not complete
  2011-11-27 19:12   ` Julien
@ 2011-11-28 20:31     ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2011-11-28 20:31 UTC (permalink / raw)
  To: cygwin

On 11/27/2011 12:52 PM, Julien wrote:
> Le -10/01/-28163 20:59, Christian Franke a écrit :
>> Julien Nabet wrote:
>>> Hello,
>>>
>>> I'm trying to compile Libreoffice on Windows with Cygwin. For this, I had
>>> to install some softs including Microsoft Visual C++ Express 8.
>>> When I launched configuration part of Libreoffice (so just before
>>> compiling), I noticed that some config elements weren't found.
>>> By taking a look about the cause of this, I saw that Windows registry
>>> mapped by Cygwin located in /proc/registry wasn't complete.
>>> For example I've got :
>>> /proc/registry/HKLM/Software/Microsoft/VC8 (since I'm right now on Linux,
>>> the path is not exactly this one but that's the idea) but nothing in it
>>> whereas I can see with regedit there are keys and subkeys.
>>
>> This key?
>> /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VisualStudio/8.0
>>
>> I could not reproduce this. Please provide output of:
>>
>> $ uname -rs
>> $ cd /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft
>> $ stat VisualStudio/8.0
>> $ ls -la VisualStudio/8.0
>>
>> If 'ls' output is actually empty, retry with Cygwin shell running as
>> administrator.
>> (ls /proc/registry/HKEY_LOCAL_MACHINE/SAM/SAM should work then).
>>
>> Please note that the Express editions of Visual Studio put some subkeys to
>> a different location:
>> /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/VCExpress/...
>> A configuration script expecting Express edition might not work with a
>> regular edition and vice versa.
> In fact, I can't test any more since I uninstall Cygwin (registry cleaning +
> cygwin directory) and can't succeed in reinstall it again.
> Each time I try, I've got a Windows error blue screen (BSoD).
> Of course, I know there could be interaction with other softs, so i
> deactivated Avast for example and use no software meanwhile (I thought it
> could be the fact to use Firefox during install for example) but no way.
> I appreciate your help but now I don't want to waste some time to guess the
> cause of this BSoD so I return to Linux.
>
> Thank you for having answered.

A BSoD is caused by bad drivers or some other kernel problem.  You can
check the first line of the report for the DLL/SYS file that it bombed
in to see if that gives you a clue as to the source of the problem.
Otherwise, try updating Windows or back out any recently added hardware.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-28 18:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-26 12:12 Mapping of Windows registry not complete Julien Nabet
2011-11-27 10:38 ` Christian Franke
2011-11-27 19:12   ` Julien
2011-11-28 20:31     ` Larry Hall (Cygwin)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).