SuSe
From Wine-Wiki
Contents |
[edit] SuSe
Just download the latest binary RPM or source tarball/CVS.
Rpm Wine packages are available for Suse here: http://www.winehq.org/site/download.
A change was noted in Apr 06 by M. Meissner: I am not building RPMS for 9.0 anymore (it is out of support). They are still old ones on Sourceforge, but no current ones. wine archive
V. Margolen [Jul 06]: Just recompiled with new version [Wine-0.9.18 RPMs with ntoskrnl for SuSE 10.1] http://www.kievinfo.com/wine-0.9.18-1.2.i586.rpm http://www.kievinfo.com/wine-0.9.18-1.2.src.rpm
update Jan 10: Winehq Bugzilla entry 21439 Compile Wine from source - don't use binaries. They had issues on SuSE (disabled frame pointer). [compiling wine this way just breaks wine, and will probably be fixed soon]
[edit] Obtaining Wine source and SuSe
Marcus Meissner [Jun 07] makes full wine releases and daily snapshots available at http://software.opensuse.org/download/Emulators:/Wine/
[edit] CVS/GIT
[Ed. the European Server may be temporarily down since it was upgraded] A. Ramage: It is easier to install/uninstall software on SuSE using YaST. These scripts may help people use CVS release, using the European server: Those using the American servr should use the correct value for CVSROOT.
When running the below scripts, you will be prompted for a password. The password for getwine is 'cvs'. You need to know your own root password for makewine.
Both scripts should be run from the directory you wish to install the wine source in. For example, I use ~/Download/Software.
getwine.sh export CVSROOT=:pserver:cvs@rhlx01.fht-esslingen.de:/home/wine cvs login cvs update
makewine.sh cd wine ./configure make depend && make su make install
M. Meissner: Btw, feel free to use the Wine packages I provide for SUSE on SourceForge.net. Using these is easier then compiling for yourself :) Wine Archive
[edit] Troubleshooting Building Wine from Source with SuSe
[Dec 05] A user reported a failure in building wine.
ndproc.o version.res -o ddraw.dll.so -L../../dlls -L../../dlls/ole32 -L../../
dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -lole
32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -ldxguid -lu
uid -L/usr/X11R6/lib64 -lXext -lX11 -L../../libs/port -lwine_port
^^^^^^^^^^^^^^^^^^^^
P. Beutner: You point it to the 64bit libraries.Which won't work with wine.
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib64/libXext.so when searching for -lXext
P. Beutner: Thats why it is skipping the found libXext.so.And complains about not finding a suitable one. Im not sure who to blame for this(the configure script or your setup) but you could try to look for the string(/usr/X11R6/lib64), which should be somewhere in the Makefiles and change it to /usr/X11R6/lib32. Or add -L/usr/X11R6/lib32 as an extra cflag. Of course if you could find out why configure chooses the wrong directory at all that would be nice as well ;)
The user reported: (on my box /usr/X11R6/lib means /usr/X11R6/lib32) [he] solved the problem with wine archive
- ./configure --x-libraries=/usr/X11R6/lib
[edit] Troubleshooting Installing Wine with SuSe
[edit] Breakages
These are noted for the benefit of those trying older versions of Wine. You should be using the latest, as bugs are regularly squashed.
May 06
SuSE 9.3 was reported as having problems with fonts. To get around this Bob: I started from the wine source, installed the latest fontforge rpm,
applied Marcus's diff (wout the freetype mod - havent rechecked this to see if this is a root cause) and then built wine using tools/wineinstall.
It worked fine for me.. wine archive
Shortly afterward, another user noted: SuSE released new wine rpms (0.9.13) yesterday. It seams that the font problems which appeared on wine-0.9.12 are solved.
A rare breakage was found by a user: I upgraded my wine version from 0.9.5 to the newest 0.9.12 and I can't get
wine to run. when I start wine my system hangs, an wine binary "wine-preloader" eats up all my reasources. [...] after some detective work he noted: the problem was in the wine 0.9.12 patch file "wine-0.9.12.diff" included in the suse source rpm "wine-0.9.12-SuSELinux91.src.rpm" and I gues applied to the prebuild binary "wine-0.9.12-SuSELinux91.i586.rpm".
The user posted a patch and Marcus the package maintainer was reportedly quick on the job. wine archive
A user reported: When I try installing the wine-20050419-SuSELinux92.i586.rpm , I get repeated several times a series of error messages:
file /usr/share/wine/wine.inf from install of wine-20050419-0.1 conflicts with file from package wine-20040813-7.1
The earlier Wine installation came on the SuSE DVD. How can I update my copy?
Another Wine user pointed out that he had yet to uninstall the previous version of Wine.
Likely to uninstall, he would need to log in as root and use rpm -e $(rpm -qa | grep wine) . Only then he could install the later version.
Further Reading
err:module:import_dll Library ole32.dll (which is needed by L"c:\\windows\\system\\shlwapi.dll") not found [...]
Anyone know what's happened to my wine installation ?
D. Clark: Perhaps you still have some old files from some other Wine installation around. Check for example what Wine binary you are running, and check the dates on the files. And look for old Wine library files. Look in various places like /usr/lib /usr/lib/wine /usr/bin /usr/local/lib etc.
Further Reading
Anon Posted:
err:module:import_dll Library ole32.dll (which is needed by L"C:\\windows\\temp\\IXP007.TMP\\advpack.dll") not found [...]
I checked all the dates and the files and also I have only one file in my system. I am trying to install Internet Explorer 6 in Linux(Fedora7). Due to this problem, I wasn't been able to install IE. Can any one help me why this problem is coming?
Anon Replied: The bigger question is why do you think you need Internet Explorer(IE). This is important to clarify because Wine already has a replacement for IE. You can see if you want.. To see the Wine version for internet explorer, you can type in a terminal 'wine iexplore www.google.com'. If you have gecko installed, it will show google, otherwise it will offer to download the wine package of gecko for wine and then you will see google appear on your desktop. The wine guys have done an amazing job and a lot of the foundation is now in place. These are the parts that are needed by other programs that depend upon a built in Internet explorer.If you want to run Microsoft's version of IE, you can, but it causes problems with wine - dont expect much else to work. However if you are trying to use some software that asks for IE, then you have found a bug in wine and that need to be investigated. Once we know what you are are doing, then we can try and help.
To test software (not Explorer) with wine, you might consider upgrade to the latest version so as to be able to make a good bug report or perhaps see if the bug has been fixed recently - for Fedora, you probably want the testing repository. Lets make a backup first of your existing wine and lets call it Oldwine (if you want it restored you could type mv oldwine .wine or search the net for how to make a copy of the backup). Open a terminal window: Applications, system tools, terminal. type (or paste without the quote marks) 'mv .wine oldwine'. Now lets see about that update. Click add remove software, provide the root password, and then click on the menu 'edit' select edit repositories and the package manage will show a list of options. In the list you will find 'fedora updates testing'. Check this box and close everything. In your terminal window type 'su' and press enter.. provide your password for root. Now you can see a # on each line and we can now update wine... type 'yum update wine'. This will show the latest fedora updates available for wine. If you agree to install type y when prompted. BE SURE to exit from superuser. type 'exit'. Now your prompt should show a $. Type 'winecfg' and setup your sound by choosing Arts and OSS, but with RC1, if you click on test sound, it will close without saving your settings. If that happens, type 'winecfg' to start it up again. Check Arts and OSS and click apply. Now install your software and see how you go.
[edit] Open Suse
[edit] Compiling wine
[With] Opensuse it will probably be the easiest way, if he installs the [..] wine-source, wine-devel packages. That way opensuse will automatically install all dependencies. Then he should be able to compile git, assuming that no new dependencies were introduced recently).
[edit] Troubleshooting running wine
A user noticed [May 06] When I try to start any application on SuSE 9.2 using Wine 0.9.13 I get an error saying: "You must be root to start that application". After downgrading to Wine 0.9.12 again every application works fine. Has anyone else experienced this?
S. Paschukat: I noticed same effect when installing MSJet Setup. Try setting windows version to win98 before starting the app.wine archive
[edit] Printing on SuSE
A user said [Jun 05]: I'm on Suse 9.2 Pro, wine-20041203, and the only printers I have are on the network. I can print fine through any native linux apps, but if I try to print through Wine, it says there are no printers.
M. Duarte: I think that you need CUPS instaled, and if you build wine from sources, you need cups-devel.
The user noted: Ah, I'm seeing that libgnomecups-devel is not installed (I don't see a cups-devel). I will install that and give the recompile a go! :) [...] Installing libgnomecups-devel didn't work; so, I had to "google for" a cups-devel binary. (Really, I don't know why my Suse 9.2 didn't offer it.) So, installing it, and recompiling DID THE TRICK! :) Wine Archive
M. Meissner: cups-devel is only on the SUSE 9.2 DVD ... that might be the reason you did not find it. Btw, feel free to use the Wine packages I provide for SUSE on SourceForge.net. Using these is easier then compiling for yourself :)
[edit] Links
- http://en.opensuse.org/Wine OpenSuse Site

