本帖最后由 liuzhaoyzz 于 2021-5-30 11:52 编辑
https://wimlib.net/index.html
我下载了wimlib,在veket系统,不知道要怎么安装,wimlib官网没看到介绍。
[root@veket:~]$./configure && make && sudo make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/root/wimlib-1.13.4':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
https://gitee.com/HEYAHONG/wimlib
This section documents the dependencies of wimlib and the programs distributed with it, when building for a UNIX-like system from source. If you have downloaded the Windows binary distribution of wimlib and wimlib-imagex then all dependencies were already included and this section is irrelevant. * libxml2 (required) This is a commonly used free library to read and write XML documents. Almost all Linux distributions should include this; however, you may need to install the header files, which might be in a package named * libfuse (optional but recommended) Unless configured --without-fuse, wimlib requires a non-ancient version of libfuse. Most Linux distributions already include this, but make sure you have the libfuse package installed, and also libfuse-dev if your distribution distributes header files separately. FUSE also requires a kernel module. If the kernel module is available it should automatically be loaded if you try to mount a WIM image. For more * libntfs-3g (optional but recommended) Unless configured --without-ntfs-3g, wimlib requires the library and headers for libntfs-3g to be installed. The minimum required version is 2011-4-12, but newer versions contain important bug fixes. 上面说的几个依赖,我看了,都有。
[root@veket:~]$pkg -f -g libxml2
跳过 libxml2 (已经内置)..
[root@veket:~]$pkg -f -g libfuse
跳过 libfuse2 (已经内置)..
[root@veket:~]$pkg -f -g libntfs-3g
跳过 libntfs-3g883 (已经内置)..
后面的可选依赖,安装了也没用。
* OpenSSL / libcrypto (optional) wimlib can use the SHA-1 message digest implementation from libcrypto (usually provided by OpenSSL) instead of compiling in yet another SHA-1 implementation. * cdrkit (optional) * mtools (optional) * syslinux (optional) * cabextract (optional) The `mkwinpeimg' shell script will look for several other programs depending on what options are given to it. Depending on your Linux distribution, you may already have these programs installed, or they may be in the software repository. Making an ISO filesystem requires
|