Building biarch (shared WoW64) wine on Ubuntu 13.10 64-bit

Questions about Wine on Linux
Locked
copmill
Newbie
Newbie
Posts: 3
Joined: Wed Feb 12, 2014 7:23 am

Building biarch (shared WoW64) wine on Ubuntu 13.10 64-bit

Post by copmill »

Hi all,

So I've been following the instructions from the wiki (http://wiki.winehq.org/BuildingBiarchWineOnUbuntu) to build biarch (shared WoW64) wine from git on Ubunutu 13.10 64-bit. Everything was going well until I got to installing the 32-bit onto the 64-bit system. After running

Code: Select all

sudo make install
I get the following output:

Code: Select all

make[1]: Entering directory `/home/alex/wine32/libs/port'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/alex/wine32/libs/port'
make[1]: Entering directory `/home/alex/wine32/libs/wine'
version=`(GIT_DIR=/home/alex/wine-git/.git git describe HEAD 2>/dev/null || echo "wine-1.7.12") | sed -n -e '$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $version | cmp -s - version.c) || echo $version >version.c || (rm -f version.c && exit 1)
make[1]: Leaving directory `/home/alex/wine32/libs/wine'
make[1]: Entering directory `/home/alex/wine32/libs/wpp'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/alex/wine32/libs/wpp'
rm -f tools && ln -s /home/alex/wine64/tools tools
make[1]: Entering directory `/home/alex/wine32/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/alex/wine32/include'
make[1]: Entering directory `/home/alex/wine32/dlls/adsiid'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/alex/wine32/dlls/adsiid'
/home/alex/wine32-tools/tools/winebuild/winebuild  -w --def -o dlls/dinput/libdinput.def --export /home/alex/wine-git/dlls/dinput/dinput.spec
make: /home/alex/wine32-tools/tools/winebuild/winebuild: Command not found
make: *** [dlls/dinput/libdinput.def] Error 127
Does anyone have any ideas on how to fix this?

I'd really like to get into Wine development, but I feel prettly lost since I can't even get it to build and install.

copmill
Rappelz_On_Linux
Level 2
Level 2
Posts: 23
Joined: Wed Feb 12, 2014 6:13 am

Re: Building biarch (shared WoW64) wine on Ubuntu 13.10 64-b

Post by Rappelz_On_Linux »

hmm did you
sudo ./configure
then sudo make
followed by sudo make install
copmill
Newbie
Newbie
Posts: 3
Joined: Wed Feb 12, 2014 7:23 am

Re: Building biarch (shared WoW64) wine on Ubuntu 13.10 64-b

Post by copmill »

I only ran the make install with sudo.

The ./configure and make I just ran as my normal user.

Is sudo really necessary for those?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Building biarch (shared WoW64) wine on Ubuntu 13.10 64-b

Post by dimesio »

copmill wrote: Is sudo really necessary for those?
It isn't necessary and shouldn't be used for ./configure or make.
Rappelz_On_Linux
Level 2
Level 2
Posts: 23
Joined: Wed Feb 12, 2014 6:13 am

Re: Building biarch (shared WoW64) wine on Ubuntu 13.10 64-b

Post by Rappelz_On_Linux »

i thought is was.
Well learn something everyday
copmill
Newbie
Newbie
Posts: 3
Joined: Wed Feb 12, 2014 7:23 am

Re: Building biarch (shared WoW64) wine on Ubuntu 13.10 64-b

Post by copmill »

Well a bit of googling led me to the Ubuntu MultiArch documentation: https://help.ubuntu.com/community/MultiArch.

Anyway, I eventually figured out that I was missing the libc6-i386 package. Once I installed this sudo make install ran fine for the 32-bit build.

I haven't actually tried to use the 32-bit wine yet, so I don't know if it works.
Locked