본문 바로가기
카테고리 없음

Installer Wine Mac

by namobarnunhorcom 2021. 5. 23.
  1. Wine Installer For Mac
  2. Wine Installer Mac
  3. Install Wine Mac High Sierra
  4. Install Wine Macports
  5. Install Wine Mac Big Sur

I wanted to run a Windows machine on my Mac OS X. So obvious choice was using WineHQ. Ideally, it should have been 1/ Download, 2/ Install and 3/ Run. However, it is never that simple, isn’t it!?

macOS Catalina (10.15.1)
iMac (21.5-inch, Late 2102)

  • In October 2019 Apple released the newest version of macOS, called Catalina (10.15). Catalina removes support for 32-bit apps, and WINE (which we previously recommended for Mac users installing OnCall) is only available as a 32-bit app. Due to this policy change by Apple, we are no longer able to offer a WINE bundle for Mac users wishing to install OnCall.
  • Installing RMS Express on Mac (Free Wine option) A NOTE ABOUT MAC OS 10.15 CATALINA: Apple has decided to force 64 bit operation and is blocking unsigned software in Catalina – so Wine is much more challenging in that version.

1. I wanted to use HomeBrew, so I ran this command from https://brew.sh/ and downloaded needed components

No Windows license needed. CrossOver for Mac, Linux and Chrome OS easily opens and installs thousands of Windows programs. Start your free 14-day trial download today!

2. I updated ~/vi .bash_profile and added

3. I downloaded version 5.3 from https://dl.winehq.org/wine/source/5.x/

4. Seems like this is a known bug https://bugs.winehq.org/show_bug.cgi?id=48689 and the fix has been provided here: https://source.winehq.org/git/wine.git/blobdiff/76606eaea034c51a73190aac92e75d8b20e82164..35c223850e1bc9e8f97bfaf403bfabca69db3447:/dlls/ntdll/locale.c

5. Edited wine-5.3/dlls/ntdll/locale.c accordingly (though the line numbers did not match)

6. Then I ran configure again successfully

Took a while, but was successful.

7. I fixed some X11 issues

8.Moment of truth:

9. I had to install more packages that WineHQ UI asks for a got few Mac OS X pop-up:

10. I went to System Preferences and allowed the executable by clicking “Allow Anyway”

11. Finally, it worked.

The Standard Instructions That Did Not Work

1. Downloaded WineHQ pkg for MacOS X from https://dl.winehq.org/wine-builds/macosx/download.html

2. It asked to me have the latest XQuartz installed. So I downloaded XQuartz 2.7.7 dmg from https://www.xquartz.org/releases/XQuartz-2.7.7.html. It installed successfully.

3. I tried reinstalling Wine again and it moved ahead this time. I chose 64-bit support (optional) while installing.

4. However, when I ran it from the Applications folder, I for an error that it needs to be updated and lead me to this page: https://support.apple.com/en-us/HT208436

Making WineHQ Work on MacOS Catalina

1. I wanted to use HomeBrew, so I ran this command from https://brew.sh/.

2. I followed instructions from https://wiki.winehq.org/MacOS/Building and downloaded version 5.3 from https://dl.winehq.org/wine/source/5.x/

3. I found this link and started following instructions: https://apple.stackexchange.com/questions/373851/how-to-get-wine-working-on-catalina. So I updated the command:

4. I wanted to use HomeBrew, so I ran this command from https://brew.sh/.

5. From https://stackoverflow.com/questions/10778905/why-does-my-mac-os-x-10-7-3-have-an-old-version-2-3-of-gnu-bison/30844621#30844621 I realised that Mac has older version and thus upgraded it.

6. I updated ~/vi .bash_profile and added

7. Opened a new window which had the path updated

8. I ran configure again successfully

Took a while, but was successful.

9. I had to fix some X11 links.

10. Moment of truth

Whaaaaaa ……..

11. Seems like this is a known bug https://bugs.winehq.org/show_bug.cgi?id=48689 and the fix has been provided here: https://source.winehq.org/git/wine.git/blobdiff/76606eaea034c51a73190aac92e75d8b20e82164..35c223850e1bc9e8f97bfaf403bfabca69db3447:/dlls/ntdll/locale.c

12. Edited wine-5.3/dlls/ntdll/locale.c accordingly (though the line numbers did not match), deleted locale.o and restarted

Wine Installer For Mac

13. Phew! No Segmentation faults. However, there are more hurdles. After waiting for a while, I got 2 issues.

and via a Mac OS X pop-up:

14. I went to System Preferences and allowed the executable by clicking “Allow Anyway”

Wine Installer Mac

15. Then I installed FreeType using HomeBrew

16. Tried again and had to repeat the step-14 multiple times for various DLLs. I had to export another env variable in ~/.bash_profile

Finally, NotePad++ worked!

A NOTE ABOUT MAC OS 10.15 CATALINA:
Apple has decided to force 64 bit operation and is blocking unsigned software in Catalina – so Wine is much more challenging in that version. Hams are recommended to stay with Mojave for this reason. See here if you are ready for the extra work to make Catalina Wine-friendly again.
NEW: As of Wine version 4.19 or newer, Forms and Templates, such as the ICS-213) are now working! This means Winlink Express (RMS Express) is fully functional!

Install Wine Mac High Sierra

Wine is a program that tricks Windows applications into thinking they are running in a full-blown Windows OS environment. It only loads bare-bones drivers and a Windows-like folder structure into a “Bottle”, so this is NOT a Windows emulator. It runs Windows apps directly in Mac OSX or Linux!

STEP 1: INSTALL HOMEBREW
Run in Terminal app:
ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)' < /dev/null 2> /dev/null
and press enter/return key.
If the screen prompts you to enter a password, please enter your Mac’s user password to continue. When you type the password, it won’t be displayed on screen, but the system would accept it. So just type your password and press ENTER/RETURN key. Then wait for the command to finish.
STEP 2: INSTALL WINE

Installer

Run this command in Terminal:
export WINEARCH=win32
then run this command:
brew install wine-stable

STEP 3: Install Winetricks

  1. Press Command+Space and type Terminal and press enter/return key.
  2. Run this command in Terminal:
    brew install winetricks
  3. Run this to add a GUI for Winetricks

STEP 3: Load DotNET 3.5sp1 and Visual Basic into the Bottle

Open a window in Terminal and enter the command:

winetricks

A new window will appear (if it’s blank, click OK). A window with a long list of optional Windows components and common software that can be added to a Bottle. Click on “Install a Windows DLL or component” and then click OK. Scroll down and check the boxes next to “dotnet35sp1″ and ‘vb6run” then click on the “Apply” button at the bottom of the window.

After a download completes, a number of Windows installer screens will appear… always click yes or I agree, etc., to install the software. If it asks for your name, just enter any first name and click OK. When all installations are complete, you will get a message that says “Winetricks Applied Successfully”.
NOTE: If you got an error message, you will need to run Winetricks again and select “Create a new wineprefix”. In the window that pops up, select Architecture: 32 and name the prefix “Ham” or something like that. Then repeat Step 3 again.

STEP 4: INSTALL RMS EXPRESS (and any other Windows software you like)

Download the latest version of Winlink Express (formerly RMS Express) here. Just look for the latest version of Winlink Express and click on it.

Once it downloads, unzip it and do a “Get Info” on the .exe file by Control-Click on the icon (or highlighting the icon and selecting “Get Info” in the File pull-down menu). Change the “Open with:” pull-down to “Wine” and click on the “Change All…” button so all exe files will launch under Wine. Close the Get Info window.

Now double-click the Winlink Express Installer and if all went well the program will function! There are extra steps (below) for COM Port setup if you want rig control or access to a TNC and there are also more components needed if you plan to use VARA on HF. See below.

OPTIONAL STEP A: COM PORT SETUP

IMPORTANT: First try using COM33 for USB Serial cables for TNCs, etc. IF that doesn’t work, then try this option below:

If COM33 doesn’t work, we can create COM1 port for rig control or TNC access. SKIP THE REST OF THIS STEP IF COM33 ALREADY WORKS!

First we need to find out what our USB/Serial controller cable is named. Install the driver for your cable. Plug the cable in and bring up a terminal (Terminal app can be found in Applications/Utilities).

ls /dev

This command lists the contents of the “dev” directory. Scroll up and look for the name of the USB cable. Some common names are:

tty.SLAB_USBtoUART

tty.usbeserial

tty.ftdi_usbserial

cu.usbserial

Installer Wine Mac

It WILL start with either tty or cu …so if you can’t find them in the long list, try the command:

ls /dev/cu* or ls /dev/tty*

Highlight the name and copy it (we will paste it in the next step)

This command will make a symlink (aka, an alias or shortcut) for COM1 in the dosdevices folder, which points to the USB device – usually ttyUSB0 on linux, for Mac see below:

Copy the name and paste below and use your user login name and bottle name in the bolded text (replacing the brackets):

ln -s /dev/[pasted name] ~/.wine/dosdevices/com1

Just to be clear, the entire bold part of the line above including the brackets will become the name you copied, and there will be a space between the last letter of the name you paste and “~/.wine/dosdevices/com1” Once you hit the ENTER or RETURN key, that should link the device to the new virtual COM port.

Now add the COM port to the windows registry (this will make it appear in pull-down menus in RMS Express and other Windows programs running in that bottle).

sudo nano ~/.wine/system.reg

After “#arch-win32”, add the following lines (using the arrows keys to place the cursor where you want to copy/paste this) , save and exit.

[HardwareDevicemapSerialcomm] 1131331688

Install Wine Macports

“COM1″=”COM1”

NOTE: If you need more than one COM port for different control cables, just repeat the process with COM2, COM3, etc.

To save these changes, hit the CONTROL and X keys, then tap Y and then tap ENTER.

If all went well, your COM port will work now! Please note that some recent changes to the Wine software MAY force your USB-serial device onto COM33 …so if the above steps didn’t work, look for COM33 in the COM Ports pull-down of your software and try that.

OPTIONAL STEP B: GETTING VARA MODE TO WORK IN WINLINK EXPRESS

For VARA support, download these components:

and place them in /Users/[user name]/Documents/Wine/drive_c/windows/system32 and if any exist, replace them. VARA won’t work without these.

TROUBLESHOOTING: If you are still having problems installing RMS Express or getting VARA to launch within the program, check to make sure you didn’t skip a step in the DotNET and Visual Basic Runtime installations. You need all those components to be working first. Also be sure you are running Wine in a folder named “Wine” in your Documents folder for any of the above instructions to work. THIS IS CASE-SENSITIVE!

Install Wine Mac Big Sur

If DotNET won’t install or returns any errors at all, you may be better off using the commercial “Crossover Mac” software ($39) See here

댓글