Subject: Re: Problems with wine
To: Rui Paulo <goteki@pixeloverflow.com>
From: Stephen Nelson <st3phen@paradise.net.nz>
List: port-i386
Date: 01/06/2004 13:26:28
> Try changing your ulimits and if that donesn't work, set BUILDLINK2=no in
> wine at pkgsrc's and rebuild wine.

changing ulimit allows me to run wine, but thats about as far as it goes - 
nothing pops up. If I exec 'wine --debugmsg +all notepad', I get a long 
stream of text, which suddenly stops with:

Get key \\Machine\\Software\\Wine\\Wine\\Config\\x11drv value 
"DesktopDoubleBuffered"="N"
0009: get_key_value() = 0 { type=1, total=4, data={4e,00,00,00} }
0009:Ret  ntdll.NtQueryValueKey() retval=00000000 ret=407aa9fd
0009:Call ntdll.RtlUnicodeToMultiByteSize(4069f6d8,4069f6f4,00000004) 
ret=407aaaf3
0009:Ret  ntdll.RtlUnicodeToMultiByteSize() retval=00000000 ret=407aaaf3
0009:Call 
ntdll.RtlUnicodeToMultiByteN(4069f97c,00000002,00000000,4069f6f4,00000004) 
ret=407aab34
0009:Ret  ntdll.RtlUnicodeToMultiByteN() retval=00000000 ret=407aab34
0009:Call ntdll.RtlNtStatusToDosError(00000000) ret=407aaa36
0009:Ret  ntdll.RtlNtStatusToDosError() retval=00000000 ret=407aaa36
0009:Ret  advapi32.RegQueryValueExA() retval=00000000 ret=40bd3def
0009:Call advapi32.RegCloseKey(00000024) ret=40bd3dbf
0009:Call ntdll.NtClose(00000024) ret=407a9f73
0009: close_handle( handle=0x24 )
0009: close_handle() = 0 { fd=-1 }
0009:Ret  ntdll.NtClose() retval=00000000 ret=407a9f73
0009:Call ntdll.RtlNtStatusToDosError(00000000) ret=407a9f79
0009:Ret  ntdll.RtlNtStatusToDosError() retval=00000000 ret=407a9f79
0009:Ret  advapi32.RegCloseKey() retval=00000000 ret=40bd3dbf

After this, nothing happens, 'top' shows wine using up my processor, and 'Ctrl 
+ C' has no effect.
I have tried running './tools/winecheck' from the source, and it comes up with 
the following errors:

...
025. Checking sound device /dev/dsp...                      CRITICAL (/dev/dsp 
does not exist).
- ADVICE: use MAKEDEV script to create it.
...
028. Checking availability of winedefault.reg entries...    CRITICAL (entry 
"SHAREDMEMLOCATION" not found in system.reg registry file).
- ADVICE: file winedefault.reg, the most basic wine registry environment, 
doesn't seem to have been applied using regedit.
029. Checking availability of windows registry entries...   NOTICE (entry 
"Default Taskbar" not found).
- ADVICE: A Windows registry does not seem to have been added to Wine as this 
typical Windows registry entry does not exist in Wine's registry.  A complete 
original Windows registry entry set will *not* be available with a no-windows 
install. Usually this will present no problem in running applications 
although this can affect newer programs. Feel free to ignore this message in 
case you do use a Windows registry, but have the SaveOnlyUpdatedKeys config 
setting set to N..

help would be greatly appretiated