Compiling WINE source

Questions about Wine on Linux
Locked
tone
Level 2
Level 2
Posts: 27
Joined: Sat Apr 18, 2020 9:06 pm

Compiling WINE source

Post by tone »

Hi, I have two questions. I downloaded the 440mb wine-dirs and I have the following issue:

Code: Select all

Rob@Rob:~/Desktop/to_install/wine-dirs/wine-source
$ sudo ./configure && -4j make
[sudo] password for Rob: 
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for ld... ld
checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

Can you please tell me what I need to install for gcc for 32bit development libraries?

Also, which branch of wine is wine-dirs? Is it stable, devel or staging?

Thanks very much,
Rob
User avatar
dimesio
Moderator
Moderator
Posts: 13207
Joined: Tue Mar 25, 2008 10:30 pm

Re: Compiling WINE source

Post by dimesio »

"wine-dirs" is not a branch of Wine. Where did you download this from?

As for what packages you need to install, packaging and package naming vary greatly by distro, and you haven't told us what distro you're on. If you're on one of the distros we build packages for, our download repository includes the src.rpm (Fedora) and the dsc, diff.gz, and orig.tar.gz (Debian/Ubuntu) generated by the OBS.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Compiling WINE source

Post by Bob Wya »

dimesio wrote: Wed Dec 23, 2020 7:19 am "wine-dirs" is not a branch of Wine. Where did you download this from?
...
Actually that is what the current WineHQ Wiki instructions say for Building Wine ...

The Git Clone for Wine is directed to the directory:

Code: Select all

~/wine-dirs/wine-source
via:

Code: Select all

git clone git://source.winehq.org/git/wine.git ~/wine-dirs/wine-source
A bit random... 8)

Bob
Locked