D2000 debian 11 arm64 aarch64 wine-ce编译安装,运行win32程序 笔记 【失败】

下载源码

yeqiang@debian:~/Downloads$ git clone https://gitee.com/wine-ce/wine-ce

Cloning into 'wine-ce'...

remote: Enumerating objects: 102, done.

remote: Counting objects: 100% (89/89), done.

remote: Compressing objects: 100% (83/83), done.

remote: Total 102 (delta 54), reused 1 (delta 1), pack-reused 13

Receiving objects: 100% (102/102), 32.75 KiB | 568.00 KiB/s, done.

Resolving deltas: 100% (57/57), done.

yeqiang@debian:~/Downloads$ cd wine-ce
git submodule init
git submodule update

Submodule 'box64' (https://gitee.com/wine-ce/box64.git) registered for path 'box64'

Submodule 'qemu' (https://gitee.com/wine-ce/qemu.git) registered for path 'qemu'

Submodule 'wine' (https://gitee.com/wine-ce/wine.git) registered for path 'wine'

Cloning into '/home/yeqiang/下载/wine-ce/box64'...

Cloning into '/home/yeqiang/下载/wine-ce/qemu'...

Cloning into '/home/yeqiang/下载/wine-ce/wine'...

Submodule path 'box64': checked out '4d37e2eed52b0516779913c048e9958bf4daec01'

Submodule path 'qemu': checked out 'ea38bdbb23eadb8e47ff4f82b72c3617ea8d7894'

Submodule path 'wine': checked out 'e2ade40a6e695c66b4abc7c88adad731ceb1839b'

Build Deb Package 构建Deb包(失败)

复制代码
sudo apt install devscripts equivs
sudo mk-build-deps --install
dpkg-buildpackage --sanitize-env -us -uc -b -rfakeroot

报错

Build Binary Files 构建二进制文件

Install Build Tools

安装构建工具

复制代码
sudo apt install clang lld meson ninja-build gcc cmake flex bison libc6-dev-amd64-cross libc6-dev-arm64-cross libgcc-12-dev-amd64-cross libgcc-12-dev-arm64-cross libasound2-dev libpulse-dev libdbus-1-dev libfontconfig-dev libfreetype6-dev libgnutls28-dev libtiff-dev libgl-dev libegl-dev libunwind-dev libxml2-dev libxslt1-dev libfaudio-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libmpg123-dev libosmesa6-dev libsdl2-dev libudev-dev libvkd3d-dev libvulkan-dev libcapi20-dev liblcms2-dev libcups2-dev libgphoto2-dev libsane-dev libgsm1-dev libkrb5-dev libldap2-dev samba-dev ocl-icd-opencl-dev libpcap-dev libusb-1.0-0-dev libv4l-dev libpcsclite-dev libxcomposite-dev libglib2.0-dev libnet1-dev libxkbcommon-dev libxkbregistry-dev libwayland-dev python3-pip

改为

sudo apt install clang lld meson ninja-build gcc cmake flex bison libc6-dev-amd64-cross libc6-dev-arm64-cross libgcc-10-dev-amd64-cross libgcc-10-dev-arm64-cross libasound2-dev libpulse-dev libdbus-1-dev libfontconfig-dev libfreetype6-dev libgnutls28-dev libtiff-dev libgl-dev libegl-dev libunwind-dev libxml2-dev libxslt1-dev libfaudio-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libmpg123-dev libosmesa6-dev libsdl2-dev libudev-dev libvkd3d-dev libvulkan-dev libcapi20-dev liblcms2-dev libcups2-dev libgphoto2-dev libsane-dev libgsm1-dev libkrb5-dev libldap2-dev samba-dev ocl-icd-opencl-dev libpcap-dev libusb-1.0-0-dev libv4l-dev libpcsclite-dev libxcomposite-dev libglib2.0-dev libnet1-dev libxkbcommon-dev libxkbregistry-dev libwayland-dev python3-pip

成功

Running build_all.sh

bash build_all.sh

报错了,权限不足?

sudo bash build_all.sh

依旧报错

前面有报错

=======================================

操作系统切换到ubuntu,尝试下载deb安装

安装依赖报错

去掉这几个找不到的软件包

sudo apt install fonts-liberation fonts-wine glib-networking libpulse0 gstreamer1.0-plugins-good gstreamer1.0-x libaa1 libaom3 libasound2-plugins libcaca0 libcairo-gobject2 libcodec2-dev libdv4 libgdk-pixbuf-2.0-0 libgomp1 libgpm2 libiec61883-0 libjack-jackd2-0 libmp3lame0 libncurses6 libncursesw6 libnuma1 libodbc2 libproxy1v5 libraw1394-11 librsvg2-2 librsvg2-common libsamplerate0 libshine3 libshout3 libslang2 libsnappy1v5 libsoup2.4-1 libsoxr0 libspeex1 libspeexdsp1 libtag1v5 libtag1v5-vanilla libtwolame0 libva-drm2 libva-x11-2 libva2 libvdpau1 libvkd3d1 libvpx7 libwavpack1 libwebpmux3 libx265-199 libxdamage1 libxvidcore4 libzvbi-common libzvbi0 mesa-va-drivers mesa-vdpau-drivers va-driver-all vdpau-driver-all

安装deb失败,得解决这两个依赖问题

手动安装 https://ubuntu.pkgs.org/

wget http://ports.ubuntu.com/pool/universe/d/dav1d/libdav1d6_1.0.0-2_arm64.deb
sudo apt install -f ./libdav1d6_1.0.0-2_arm64.deb
wget  	http://ports.ubuntu.com/pool/universe/v/vkd3d/libvkd3d-shader1_1.2-15_arm64.deb
sudo apt install -f ./libvkd3d-shader1_1.2-15_arm64.deb 
wget http://ports.ubuntu.com/pool/universe/v/vkd3d/vkd3d-compiler_1.2-15_arm64.deb
sudo apt install -f ./vkd3d-compiler_1.2-15_arm64.deb 

再次安装wine-ce.deb

成功了

测试

这编译环境版本也太新了。。。

再次尝试源码编译

source.list

deb http://ports.ubuntu.com jammy-backports main multiverse restricted universe
deb http://ports.ubuntu.com jammy-proposed main multiverse restricted universe
deb http://ports.ubuntu.com jammy-security main multiverse restricted universe
deb http://ports.ubuntu.com jammy-updates main multiverse restricted universe
deb http://ports.ubuntu.com jammy main multiverse restricted universe

sudo apt install clang lld meson ninja-build gcc cmake flex bison libc6-dev-amd64-cross libc6-dev-arm64-cross libgcc-12-dev-amd64-cross libgcc-12-dev-arm64-cross libasound2-dev libpulse-dev libdbus-1-dev libfontconfig-dev libfreetype6-dev libgnutls28-dev libtiff-dev libgl-dev libegl-dev libunwind-dev libxml2-dev libxslt1-dev libfaudio-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libmpg123-dev libosmesa6-dev libsdl2-dev libudev-dev libvkd3d-dev libvulkan-dev libcapi20-dev liblcms2-dev libcups2-dev libgphoto2-dev libsane-dev libgsm1-dev libkrb5-dev libldap2-dev samba-dev ocl-icd-opencl-dev libpcap-dev libusb-1.0-0-dev libv4l-dev libpcsclite-dev libxcomposite-dev libglib2.0-dev libnet1-dev libxkbcommon-dev libxkbregistry-dev libwayland-dev python3-pip

cd wine-ce
bash build_all.sh

哦嚯

box64程序已经编译出来了

采用root用户,重新来一边,成功了

安装目录内容

测试自带的notepad失败

尝试安装dxvk解决问题 参考[SOLVED] Wine Virtual Setup Exception / Newbie Corner / Arch Linux Forums

sudo apt install mingw-w64 glslang-tools
git clone https://gitee.com/wine-ce/dxvk.git
cd dxvk
sudo sh build_dxvk.sh

故障依旧

相关推荐
IT果果日记21 分钟前
ubuntu 安装 conda
linux·ubuntu·conda
Python私教23 分钟前
ubuntu搭建k8s环境详细教程
linux·ubuntu·kubernetes
梓仁沐白6 小时前
ubuntu+windows双系统切换后蓝牙设备无法连接
windows·ubuntu
写点什么啦17 小时前
[debug]不同的window连接ubuntu的vscode后无法正常加载kernel
linux·vscode·ubuntu·debug
wellnw17 小时前
[ubuntu]编译共享内存读取出现read.c:(.text+0x1a): undefined reference to `shm_open‘问题解决方案
linux·ubuntu
oushaojun221 小时前
ubuntu中使用ffmpeg和nginx推流rtmp视频
nginx·ubuntu·ffmpeg·rtmp
命里有定数1 天前
Ubuntu问题 -- 通过远程修改文件配置ubuntu服务器的静态IP (不需要到服务器现场) (通过NetworkManager)
运维·服务器·tcp/ip·ubuntu·网卡
命里有定数1 天前
Ubuntu问题 - 显示ubuntu服务器上可用磁盘空间 一条命令df -h
服务器·ubuntu·数据集
命里有定数1 天前
Ubuntu问题 -- 设置ubuntu的IP为静态IP (图形化界面设置) 小白友好
linux·tcp/ip·ubuntu·ip
基极向上的三极管1 天前
【Linux学习】【Ubuntu入门】1-8 ubuntu下压缩与解压缩
linux·ubuntu