在 ubuntu 12.04 64bit 上从源代码构建 wine 32bit

ale*_*sko 6 64-bit wine 32-bit 12.04

我正在尝试从源头构建葡萄酒。apt-get build-dep wine 安装了一些依赖包。运行configure脚本时,出现如下错误:

checking for X... no
configure: error: X 32-bit development files not found. Wine will be built
without 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.
Run Code Online (Sandbox Code Playgroud)

12.04 64位上哪里可以找到Xlib/Xfree86的32位开发包?

mwe*_*elt 1

如果您想添加自定义补丁,您可能需要自己编译 wine。目前,例如《魔兽世界》和《暗黑破坏神 3》启动器/下载器所依赖的补丁尚未进入官方 wine 存储库。

不幸的是,ubuntu 要么不再提供相应的 32 位开发文件,要么它们目前无法与其 64 位挂件共存。

请参阅https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/944321


小智 -1

您可以使用 下载源代码apt-get source wine1.*。然后cd到该文件夹​​,应用包,并使用dpgk再次打包所有内容,这使得它也可以编译。然后你把它变成 a.deb并安装。

像这样的东西:

sudo apt-get build-dep wine1.3
apt-get source wine1.3
cd wine1.3-*
patch -p1 < foo.patch
dpkg-buildpackage -rfakeroot
cd ..
sudo dpkg -i wine1.3*.deb
Run Code Online (Sandbox Code Playgroud)