Any how-to for a novice to try to build wine

Questions about Wine on Linux
Post Reply
fargodwe
Level 5
Level 5
Posts: 394
Joined: Mon Oct 02, 2017 7:08 am

Any how-to for a novice to try to build wine

Post by fargodwe » Sat Feb 13, 2021 6:31 pm

I have a unique, to say the least, combination of hardware and firmware. There are 2 things that don't work that I've already had posts and threads in multiple forums, all of which say to wait for a new kernel. Well, that kernel has already been here and doesn't fix the problems.

So, I'd like to try to build wine. I would like the source and the source sound and hooks to video devices if possible.

I am a COMPLETE NOVICE who has some experience with C and assemble from several years ago so to say I wouild be extremely rusty at best is an understatement.

With that in mind, is there a document for the novice to follow to do this and build wine? I was reading the threads here and one was talking about libraries, etc., moving to mingw. A few years ago i used that on a windows machine fdevelop and app that would run on both Windows and Linux. To do so I had to have the app use libusb to set up everything to define the endpoints and send/receive from a device with no native or linux drivers. I also used something that escapes me now that allowed using GTK on Windows and of course linux so the gui's weren't dependant on the OS. That however has been several years now I really can't even tell what the heck I was doing back then - too much time has passed.

Thank you in advance.

invisible kid
Level 3
Level 3
Posts: 60
Joined: Tue Dec 24, 2019 3:23 pm

Re: Any how-to for a novice to try to build wine

Post by invisible kid » Sat Feb 13, 2021 8:01 pm

This might not be the best answer, but might be okay for some folks until the right one comes along.

A few paragraphs here explain the basics:

https://wiki.winehq.org/Wine_User's_Gui ... rom_source

It's a lot like building most packages:

Code: Select all

./configure
make depend
make
(`make install` as root or sudo if you want to install system wide(I do))
( I usually skip `make depend`, haven't had problems yet)

Most people might like to run both 64 bit and 32 bit programs, if so you should probably read up a bit here:

https://wiki.winehq.org/Building_Wine#Shared_WoW64

I know this isn't quite what you were looking for, but might be good jumping point for conversation. The harder parts are like what you spoke about making sure you have all the right tools and libraries such as mingw-w64.

fargodwe
Level 5
Level 5
Posts: 394
Joined: Mon Oct 02, 2017 7:08 am

Re: Any how-to for a novice to try to build wine

Post by fargodwe » Sat Feb 13, 2021 10:44 pm

Thank you! Now I've got some things to look at to see if I can do ok.

Post Reply