Wine 1.1.8 and wine GIT(howto cooperate together?)

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
demontager
Level 2
Level 2
Posts: 27
Joined: Thu Nov 13, 2008 2:09 pm

Wine 1.1.8 and wine GIT(howto cooperate together?)

Post by demontager »

I'm confused and looking for help
For the fist I have Ubuntu x86_64 and I had installed wine 1.1.8 from launchpad and i installed Red Alert 3 when i run it found that no cursor in game, so
In order to lay Red Alert 3 with cursos i have compile wine from here
git clone git://repo.or.cz/wine/hacks.git

then i made symlinks
cd hacks

Code: Select all

mkdir -p `pwd`/lib32
ln -s /usr/lib32/libX11.so.6 `pwd`/lib32/libX11.so
ln -s /usr/lib32/libXext.so.6 `pwd`/lib32/libXext.so
ln -s /usr/lib32/libfreetype.so.6 `pwd`/lib32/libfreetype.so
ln -s /usr/lib32/libfontconfig.so.1 `pwd`/lib32/libfontconfig.so
ln -s /usr/lib32/libGL.so.1 `pwd`/lib32/libGL.so
ln -s /usr/lib32/libGLU.so.1 `pwd`/lib32/libGLU.so
ln -s /usr/lib32/libXrender.so.1 `pwd`/lib32/libXrender.so
ln -s /usr/lib32/libXinerama.so.1 `pwd`/lib32/libXinerama.so
ln -s /usr/lib32/libXi.so.6 `pwd`/lib32/libXi.so
ln -s /usr/lib32/libXrandr.so.2 `pwd`/lib32/libXrandr.so
ln -s /usr/lib32/liblcms.so.1 `pwd`/lib32/liblcms.so
ln -s /usr/lib32/libcrypto.so.0.9.8 `pwd`/lib32/libcrypto.so
ln -s /usr/lib32/libssl.so.0.9.8 `pwd`/lib32/libssl.so
ln -s /usr/lib32/libxml2.so.2 `pwd`/lib32/libxml2.so
ln -s /usr/lib32/libjpeg.so.62 `pwd`/lib32/libjpeg.so
ln -s /usr/lib32/libXcomposite.so.1 `pwd`/lib32/libXcomposite.so
ln -s /usr/lib32/libcups.so.2 `pwd`/lib32/libcups.so
ln -s /usr/lib32/libXcursor.so.1 `pwd`/lib32/libXcursor.so
ln -s /usr/lib32/libsane.so.1 `pwd`/lib32/libsane.so
ln -s /usr/lib32/libhal.so.1 `pwd`/lib32/libhal.so
ln -s /usr/lib32/libpng12.so.0 `pwd`/lib32/libpng.so
ln -s /usr/lib32/libgphoto2.so.2 `pwd`/lib32/libgphoto2.so
ln -s /usr/lib32/libgphoto2_port.so.0 `pwd`/lib32/libgphoto2_port.so
ln -s /usr/lib32/libldap.so.2 `pwd`/lib32/libldap.so
ln -s /usr/lib32/libldap_r.so.2 `pwd`/lib32/libldap_r.so
ln -s /usr/lib32/liblber.so.2 `pwd`/lib32/liblber.so
ln -s /usr/lib32/libxslt.so.1 `pwd`/lib32/libxslt.so
ln -s /usr/lib32/libXxf86vm.so.1 `pwd`/lib32/libXxf86vm.so
then configure with such prefix

Code: Select all

CC="gcc-4.3 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure --prefix=/usr/local/winegit

make depend && make
make install
Then i launched a game
$usr/local/winegit/bin/wine RA3.exe
game started without cursor
then i removed wine installed from launchpad and launched game again, and game started with animated cursor, why? When I back wine from launchpad again, no cursor
How to make this two wines work properly?
Iwant use two wines because I am also need PlayOnLinux, but due to dependencies I should remove it when removing wine
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine 1.1.8 and wine GIT(howto cooperate together?)

Post by vitamin »

demontager wrote:How to make this two wines work properly?
Iwant use two wines because I am also need PlayOnLinux, but due to dependencies I should remove it when removing wine
You can't do all of that. The best solution - don't install self-compiled Wine. Run it directly from the compile directory.
As far as POL goes - it's not part of Wine - don't ask here. Go to their forum/ML.
demontager
Level 2
Level 2
Posts: 27
Joined: Thu Nov 13, 2008 2:09 pm

Post by demontager »

I made compiling without installing, but still no cursor

Code: Select all

CC="gcc-4.3 -m32" LDFLAGS="-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure --prefix=/usr/local/winegit 
then
make
While in Red Alert folder i issued
$/home/pal/hacks/loader/wine RA3.exe
Game starts, but it seems like used system wine, because no cursor in game and terminal reports:

Code: Select all

pal@pal-laptop:~/.wine/drive_c/Program Files/Electronic Arts/Red Alert 3$ /home/pal/hacks/loader/wine RA3.exe
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2008, dlt (d/m/y): 19/10/2008
fixme:system:SetProcessDPIAware stub!
fixme:iphlpapi:NotifyAddrChange (Handle 0x7d7ee9f8, overlapped 0x7d7ee9dc): stub
fixme:shell:DllCanUnloadNow stub
wine: configuration in '/home/pal/.wine' has been updated.
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x2fafe44): Stub!
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 17/02/2008, dlt (d/m/y): 19/10/2008
fixme:thread:SetThreadIdealProcessor (0x124): stub
fixme:thread:SetThreadIdealProcessor (0x128): stub
fixme:thread:SetThreadIdealProcessor (0x160): stub
fixme:thread:SetThreadIdealProcessor (0x1a0): stub
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x2faee60,0x00000000), stub!
fixme:thread:SetThreadIdealProcessor (0x1b4): stub
fixme:thread:SetThreadIdealProcessor (0x1b8): stub
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
fixme:cursor:CURSORICON_LoadFromFile No support for .ani cursors.
maybe also this can help, when i start game in that way receive:

Code: Select all

pal@pal-laptop:~/.wine/drive_c/Program Files/Electronic Arts/Red Alert 3$ /home/pal/hacks/wine RA3.exe
wine client error:b: version mismatch 343/346.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
err:process:start_wineboot failed to start wineboot, err 1359
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

demontager wrote:maybe also this can help, when i start game in that way receive:

Code: Select all

pal@pal-laptop:~/.wine/drive_c/Program Files/Electronic Arts/Red Alert 3$ /home/pal/hacks/wine RA3.exe
wine client error:b: version mismatch 343/346.
Your wineserver binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
err:process:start_wineboot failed to start wineboot, err 1359
This means another instance of Wine already running. You have to exit it first. Run 'wineserver -k' to force it to close.
demontager
Level 2
Level 2
Posts: 27
Joined: Thu Nov 13, 2008 2:09 pm

Post by demontager »

Yes, but from which folder is it correct to run wine? /hacks or /loader
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

demontager wrote:Yes, but from which folder is it correct to run wine? /hacks or /loader
/home/pal/hacks/wine
demontager
Level 2
Level 2
Posts: 27
Joined: Thu Nov 13, 2008 2:09 pm

Post by demontager »

No, something another, i tried wineserver -k and killall wineserver, same result...
Locked