Trouble compiling Wine on OpenSuse 64-bit

Questions about Wine on Linux
Locked
drtillberg
Newbie
Newbie
Posts: 2
Joined: Thu Sep 13, 2012 10:24 pm

Trouble compiling Wine on OpenSuse 64-bit

Post by drtillberg » Fri Sep 14, 2012 11:23 pm

Need to compile Wine to do a regression test to isolate a bug. Stuck on "make." Missing -32bit libraries (I think) and I can't figure out either what I need or how to get it. Have gone through the checklists. Suggestions?

The following command:
./configure --x-libraries=/usr/X11R6/lib
finishes with these errors; I've loaded packages and created symbolic links, to no avail.

configure: libGLU 32-bit development files not found, GLU won't be supported.
configure: libOSMesa 32-bit development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
configure: OpenCL 32-bit development files not found, OpenCL won't be supported.
configure: libdbus 32-bit development files not found, no dynamic device support.
configure: libsane 32-bit development files not found, scanners won't be supported.
configure: libv4l 32-bit development files not found.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libmpg123 32-bit development files not found (or too old), mp3 codec won't be supported.
configure: libopenal 32-bit development files not found (or too old), OpenAL won't be supported.

configure: WARNING: OpenSSL 32-bit development files not found, SSL won't be supported.

configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.

configure: WARNING: libpng 32-bit development files not found, PNG won't be supported.

configure: Finished. Do 'make' to compile Wine.




Make terminates as follows:

../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./winex11.drv.spec bitblt.o brush.o clipboard.o desktop.o event.o graphics.o ime.o init.o keyboard.o mouse.o opengl.o palette.o pen.o scroll.o settings.o systray.o window.o wintab.o x11drv_main.o xdnd.o xim.o xinerama.o xrandr.o xrender.o xvidmode.o version.res -o winex11.drv.so -lcomctl32 -lole32 -lshell32 -luuid -luser32 -lgdi32 -ladvapi32 -limm32 -Wb,-dcomctl32 -Wb,-dole32 -Wb,-dshell32 ../../libs/port/libwine_port.a -L/usr/X11R6/lib -lSM -lICE -lXext -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../libSM.so when searching for -lSM
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lSM
collect2: error: ld returned 1 exit status
winegcc: gcc failed
make[1]: *** [winex11.drv.so] Error 2
make[1]: Leaving directory `/home/doug/TARBuilds/wine-git/dlls/winex11.drv'
make: *** [dlls/winex11.drv] Error 2

vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Trouble compiling Wine on OpenSuse 64-bit

Post by vitamin » Sat Sep 15, 2012 7:41 am

drtillberg wrote:./configure --x-libraries=/usr/X11R6/lib
This is not correct. You don't need this option for Open SuSE. Simple './configure' will do.

drtillberg
Newbie
Newbie
Posts: 2
Joined: Thu Sep 13, 2012 10:24 pm

Re: Trouble compiling Wine on OpenSuse 64-bit

Post by drtillberg » Sun Sep 16, 2012 11:18 am

Thanks. The answer was right in the log. I needed libSM -devel -32bit. Worked.

Locked