64位linux安装32位wine方法

更新时间:2023-06-29 07:55:53 阅读: 评论:0

Building 32-bit Wine on a 64-bit (x86-64) system
If you just want to u Wine, there is no need to compile it using the instructions here. Just go to the downloads page and click the link for your distribution.
If you want to run 64-bit Windows programs, e Wine64.
If you want to build Wine on a 32-bit system, e Recommended Packages.
目录
1. Building 32-bit Wine on a 64-bit (x86-64) system
1. Ubuntu
2. Debian Testing
3. Debian Unstable (Sid)
1. Troubleshooting
4. Gentoo
5. openSUSE
6. Fedora 16
7. Fedora 17
8. CentOS 5
9. EL6 (RHEL6 and SL6)
Ubuntu
You will need to create a 32-bit chroot. For more information on chroot and Ubuntu, e /community/BasicChroot and /community/DebootstrapChroot
First, install the dchroot and debootstrap packages and create /var/chroot:
sudo apt-get install dchroot debootstrap
sudo mkdir /var/chroot
Add the following to /etc/f, replacing your_urname and the Ubuntu version accordingly:
[preci]
description=Ubuntu Preci
directory=/var/chroot
urs=your_urname
groups=sbuild
root-groups=root
Create a working installation of Ubuntu inside the chroot. Replace "preci" with your Ubuntu version and ubuntu.cs.utah.edu/ubuntu/ with an appropriate mirror from launchpad/ubuntu/+archivemirrors:
sudo debootstrap --variant=buildd --arch i386 preci /var/chroot/ ubuntu.cs.utah.edu/ubuntu/
Make apt-get work from within the chroot:
sudo cp /etc/apt/sources.list /var/chroot/etc/apt/
Enter the chroot:
sudo chroot /var/chroot
Once inside the chroot, install the build dependencies:
apt-get update
apt-get build-dep wine
Download the Wine source tree into your chroot:
apt-get install git
git clone git://source.winehq/git/wine
Compile:
cd wine
./configure
make
To be able to u Wine from outside the chroot, Wine's dependencies must be installed outside the chroot. The easiest way is to exit the chroot and install a prepackaged copy of Wine:
exit
sudo apt-get install wine
After all this you can run a Windows program from outside the chroot using your new build. For example:
/var/chroot/wine/wine notepad
Debian Testing
1. apt-get the following packages:
o ia32-libs (you need version 1.18 at least)
o libc6-dev-i386
企业资产负债表o lib32z1-dev
黄尾鱼怎么钓
o ia32-libs-dev (it has the /usr/lib32/libpng.so, which ems to be required when installing TTF fonts)
刘咏尧o optionally, a bunch of other libraries: libxcursor-dev libfontconfig1-dev libldap2-dev libxslt-dev libgl1-mesa-dev libglu1-xorg-dev libgnutls-dev libxi-dev lib32ncurs5-dev libxrandr-dev libxxf86vm-dev
足球的英语怎么说2. Make symlinks (e below, in the Debian SID ction, for the full list of symlinks):
cd /usr/lib32 ln -s libdbus-1.so.3 libdbus-1.so 
This is required as of 2008/05/20 to prevent Wine warning that HAL cannot be found. See bugs.debian/i?bug=473586
1. Download the wine source and assuming gcc and all needed development packages are installed (e Recommended Packages) you can compile wine using (you shouldn't need --prefix=... or --x-libraries=... with the latest Debian Unstable AMD64):
2. ./configure
经典武侠剧
3. 中国男明星make
make install
4. If the configure command fails with "configure: error: C compiler cannot create executables" and you u gcc-4.1, install "gcc-4.1-multilib" to solve it.
5. Run wine by executing /emul/ia32-linux/usr/bin/wine (you can add the directory to the path or make a script). If wine complains that it can't find libwine.so.1 make sure /emul/ia32-linux/usr/lib is part of the LD_LIBRARY_PATH or run ldconfig -v.
朝花夕拾句子赏析
Debian Unstable (Sid)
The build dependencies in the relead Wine have most of what you need:
sudo apt-get build-dep wine
冰魂雪魄
On Debian you may need to add some more, or run the build-dep command after adding the APT Repository.
To get Direct X working with nvidia, install the 32-bit drivers:
sudo apt-get install nvidia-glx-ia32
To add pulaudio support, install the package lib32asound2-plugins:
sudo aptitude install lib32asound2-plugins
Run configure with:
CC="gcc-4.4 -m32" LDFLAGS="-m32 -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32" ./configure -v
It's likely that you will get some missing library warnings. To fix this, you need to hunt down the 32-bit development files for each missing library. It is not crucial to get rid of all the missing library warnings, but you should try to minimize them.

本文发布于:2023-06-29 07:55:53,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1064947.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:资产   经典   男明星   赏析   负债表   武侠剧   中国   句子
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图