Installing Wine

Questions about Wine on macOS.
Locked
maziiw
Newbie
Newbie
Posts: 1
Joined: Sun Aug 13, 2023 11:47 am

Installing Wine

Post by maziiw »

Hi, i am new to Wine and had it installed on previous mac OS, now using Ventura.
I downloaded it all and going with README. I hope to get help from you, since reading help files fails me.

I went through the beginning of the file:
this works :

Code: Select all

./configure
make
But then either of this creates an error:

Code: Select all

Then either install Wine:

make install

Or run Wine directly from the build directory:

./wine notepad
The error message: make: *** No rule to make target `install'. Stop.

and

zsh: no such file or directory: ./wine.

Instead, I did brew install wine, this seems to have worked, but then I try to run a program - it i sin the folder where wine files are

Code: Select all

./wine setup.exe and it fails
What shall I do?
will30uk
Newbie
Newbie
Posts: 3
Joined: Sat Aug 19, 2023 6:03 pm

Re: Installing Wine

Post by will30uk »

I have compiled wine from source recently with the following steps on an AMD hackintosh

Part 1 - Install and configure homebrew

1. Run in terminal /bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homeb ... install.sh)"

2. Run in terminal brew install --formula bison flex mingw-w64 pkgconfig freetype
3. Run in terminal export PATH="$(brew --prefix bison)/bin:$PATH"

Part 2 - Building and installing wine from source code

You must have homebrew installed and the packages above mentioned installed before proceeding.

1. Dowload and extract https://dl.winehq.org/wine/source/8.x/wine-8.13.tar.xz

2. Open a terminal at the location you extracted wine-8.13.tar.xz

3. Run in terminal ./configure CC="clang" CXX="clang++" --enable-win64 image

4. Check that you see configure: Finished. Do 'make' to compile.

5. Run in terminal make -j16 ( replace number with your processor thread count). This massively speeds up the make process.

6. Run in terminal make install -j16

7. Close all terminal windows

8. Open a terminal window and check you can run wine64 and winebuild globally ( i.e you dont need to be in the wine source folder). If you cant you need to address this before moving on.


If you are having issues provide what version of wine you are building, what url you got this from , and whether building this on a real Mac / mackintosh amd/intel/m1/m2 etc
Last edited by will30uk on Sun Aug 20, 2023 11:07 am, edited 1 time in total.
Locked