Determine dependencies for compile

While trying to compile wine source in Leap 15, gcc kept terminating reporting needed libraries. Over and over again, requiring gcc restarts. Is there a way to determine all the needed libraries prior to starting the process?

Thanks in advance.

Why not:

The spe-file has all needed BuildRequires mentioned…

Thank you for the link. I managed to get past a lot of problems but got the following error…

configure: error: X 32-bit development files not found. Wine will be builtwithout X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.

But YaST doe not show any Xlib/Xfree86 and zypper only shows…

# zypper se XlibLoading repository data...
Reading installed packages...

S | Name                                    | Summary                              | Type   
  | python2-python-xlib                     | Python X11 interface                 | package
  | python3-python-xlib                     | Python X11 interface                 | package
  | ruby2.5-rubygem-mixlib-config           | A class based configuration library  | package
  | ruby2.5-rubygem-mixlib-config-doc       | RDoc documentation for mixlib-config | package
  | ruby2.5-rubygem-mixlib-config-testsuite | Test suite for mixlib-config         | package

Any suggestions?

I installed libxf86-32bit and libX11-devel-32bit and it configured without errors. It’s in the make stage now running for two hours. Fingers crossed.


This subject can now be closed.