我正在尝试构建 finalhe 和 exfat-nofuse。这是我第一次尝试这种事情。我使用的是 lUbuntu 18.04。我尝试了在 finalhe GitHub 页面上找到的以下信息以及以下链接:https://github.com/soarqin/finalhe/
https://www.reddit.com/r/vitahacks/comments/5nkgcu/theflow_finally_release_vitashell_update_with_usb/dccekoh/?context=3(我似乎无法恰当地引用具体的评论,但这是你看到的第二条)
当我分别尝试使用 CMake 和 exfat-nofuse 构建 finalhe 时,出现以下错误:
>>>>FOR FINALHE:<<<<
cmake ~/Downloads/finalhe-1.5
CMake Error at CMakeLists.txt:36 (find_package):
By not providing "FindIconv.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Iconv", but
CMake did not find one.
Could not find a package configuration file provided by "Iconv" with any of
the following names:
IconvConfig.cmake
iconv-config.cmake
Add the installation prefix of "Iconv" to CMAKE_PREFIX_PATH or set
"Iconv_DIR" to a directory containing one of the above files. If "Iconv"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/home/myusername/Downloads/finalhe-1.5/CMakeFiles/CMakeOutput.log".
>>>>AS FOR EXFAT-NOFUSE I GET THE FOLLOWING:<<<<
sudo make install
rm -f /lib/modules/4.15.0-33-generic/kernel/fs/exfat/exfat.ko
install -m644 -b -D exfat.ko /lib/modules/4.15.0-33-generic/kernel/fs/exfat/exfat.ko
depmod -aq
depmod: WARNING: Ignored deprecated option -q
sudo modprobe exfat_fs
modprobe: FATAL: Module exfat_fs not found in directory /lib/modules/4.15.0-33-generic
我将 CMakeOutput.log 复制到https://hastebin.com/ejaralegub.sql
我提前感谢您的耐心和理解!
答案1
看起来您没有安装 iconv。如果是这种情况,您可以通过安装 libc6 或 libc6-dev 来安装它。安装后,尝试再次构建软件包。
答案2
让我们在干净的 18.04 LTS 上重现它。
1. 最终 HE
为了构建 finalhe,我们需要安装以下内容。
sudo apt-get install git cmake build-essential libxml2-dev libusb-dev \
zlib1g-dev qtbase5-dev qttools5-dev libusb-1.0-0-dev qt5-qmake qt5-default
然后下载源代码(主分支,不是 v1.5 版本!):
cd ~/Downloads
git clone https://github.com/soarqin/finalhe.git
cd finalhe
并使用以下命令构建它qmake
:
qmake
make
sudo make install
并测试一下:
~/Downloads/finalhe/src/FinalHE
2. exFAT-noFUSE
下载并编译:
cd ~/Downloads
git clone https://github.com/rxrz/exfat-nofuse.git
cd exfat-nofuse
make
sudo make install
然后加载编译好的模块:
sudo modprobe exfat
注意:我没有使用过这个软件,只是尝试编译它来帮助你。