Error when trying to run compiled WINE with rgl.patch

Questions about Wine on Linux
Locked
thee
Newbie
Newbie
Posts: 2
Joined: Tue Jan 29, 2013 12:29 pm

Error when trying to run compiled WINE with rgl.patch

Post by thee »

Hi

So I downloaded Wine sources, unpacked and did:

Code: Select all

cd wine-1.4
patch -p1 < ../rgl.patch
./configure --enable-win64
make
Note, I couldnt download the rgl.patch from the official site since its down, so I used the patch from here and it didnt return any errors when I applied it: http://bugs.winehq.org/show_bug.cgi?id=11674

When Wine is done compiling, and when I try to run WoW I get:

Code: Select all

fixme:heap:HeapSetInformation 0x3c4000 0 0x22fce0 4
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:wininet:CommitUrlCacheEntryInternal entry already in cache - don't know what to do!
fixme:win:EnumDisplayDevicesW ((null),0,0x22e7a0,0x00000000), stub!
err:d3d:InitAdapters Can't load opengl32.dll!
Direct3D9 is not available without OpenGL.
fixme:win:EnumDisplayDevicesW ((null),0,0x22a460,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x22a460,0x00000000), stub!
fixme:dbghelp_dwarf:compute_location Only supporting one breg (rax/328 -> rdi/333)
fixme:dbghelp_dwarf:dwarf2_parse_subprogram_block Unhandled Tag type 0x15 at ctx(0x2274d0,L"kernel32<elf>"), for debug_info(abbrev:0x3ee1948,symt:(nil))
fixme:dbghelp_dwarf:dwarf2_parse_subprogram_block Unhandled Tag type 0xf at ctx(0x2274d0,L"kernel32<elf>"), for debug_info(abbrev:0x3ee1948,symt:(nil))
Anyone knows what I'm doing wrong?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error when trying to run compiled WINE with rgl.patch

Post by dimesio »

What you did was compile pure 64 bit Wine. You also need to compile the necessary 32 bit parts (shared WoW64 setup). http://wiki.winehq.org/Wine64
thee
Newbie
Newbie
Posts: 2
Joined: Tue Jan 29, 2013 12:29 pm

Re: Error when trying to run compiled WINE with rgl.patch

Post by thee »

Thanks for reply, but I'm getting the following error when I try to compile win32

Code: Select all

configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Error when trying to run compiled WINE with rgl.patch

Post by dimesio »

Do what it says; install the 32 bit development libraries. The wiki has instructions for some distros: http://wiki.winehq.org/WineOn64bit. Beyond that, install whatever ./configure complains about, and if you're not sure what packages to install or where to find them, ask your distro.
Locked