下载源码
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失败,得解决这两个依赖问题

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
故障依旧
