liuzhaoyzz 发表于 2021-12-6 21:11 少作软件也不卡呀,装完系统优化过,将不用的服务都禁了。 经常装才累呀。 懒人所以少重装。 |
bitfire 发表于 2021-12-7 20:06 瞎折腾呗,折腾的过程中才能学到东西啊。 |
wintoflash 发表于 2021-12-7 20:22 我的天啊,还有人这样子玩的? |
liuzhaoyzz 发表于 2021-12-6 16:59 这种"行为艺术"也能骗到你?
|
| 你们老想着在linux上搞windows , MS 有多方。。 |
吉毛桃 发表于 2021-12-6 19:02 可是我比较懒散。惭愧。晚点再试试吧。 windows半年到一年必须重装一次,否则就要卡成狗,你是怎么忍受几年的?! |
| 不过也不太会用,对于BCD是知其然而不知道其所以然,安装好一次系统用好几年不动的 |
liuzhaoyzz 发表于 2021-12-6 16:59 有没有图形界面的?若没有就容易编译,若有图形界面又要安装相关库 你编译出来分享下咯 |
|
maisvendoo/bcdedit: Windows 7/8/8.1/10 BCD storage editor for GNU/Linux https://github.com/maisvendoo/bcdedit Windows 7/8/8.1/10 BCD storage editor for GNU/Linux This application will have similar functionality that bcdedit.exe utility from Windows OS. Today it has development status. (c) maisvendoo, May 2016 这个工具好像可以在linux下面修改BCD,记录下。友情各位试下,需要自行编译。 |
liuzhaoyzz 发表于 2021-11-19 08:43 谢谢了,回去后我试试 |
本帖最后由 liuzhaoyzz 于 2021-11-19 08:47 编辑 吉毛桃 发表于 2021-6-2 16:18 https://www.123pan.com/s/lE5A-YSTyv chmsee1.3-CHM阅读器下载,veket20、lucky8k-20亲测可用,支持中文和英文。我分享到了veket论坛了。 |
sxgpic 发表于 2021-6-13 00:32 请把你编译后的这几个文件全部分享下,谢谢! 我试了下,那几个依赖包下载不了啊,没有源,你是怎么做到的? |
吉毛桃 发表于 2021-6-25 08:05 只是想做个尝试罢了,就是好奇能否在linux下面安装windows。看起来有点麻烦,最主要是我对linux不熟悉。个人感觉还是在PE下面安装windows更好。 |
| 虚拟机不用考虑了,我想在实体机尝试着玩玩。 |
liuzhaoyzz 发表于 2021-6-14 12:57 想知道你是在那些场合应用的? 看回帖用起来不方便,真要在linux下安装win系统? |
本帖最后由 wintoflash 于 2021-6-14 15:37 编辑 liuzhaoyzz 发表于 2021-6-14 12:57 bcd实质上就是个注册表。 用注册表编辑工具是可以编辑的,但是不好用。 有些键值的具体内容也没有详细的文档。 你在Windows下用注册表编辑器打开bcd看看就知道了。 linux下可以用 chntpw (命令行软件) ,也可以用 fred (gui软件)。 chenall 的 ntboot 是内置了个bcd模板,用16进制编辑器在文件路径那里加上标记,在grub4dos里面查找标记,进行修改。 我的 ntboot 也是内置bcd模板,不过我是从 reactos 那里移植了一个简单的注册表解析库,用它解析bcd来写入的。 |
| 参与人数 1 | 无忧币 +10 | 收起 理由 |
|---|---|---|
|
| + 10 | 很给力! |
本帖最后由 liuzhaoyzz 于 2021-6-14 12:58 编辑 mdyblog 发表于 2021-6-14 09:34 你说的模板,是用一个空白的BCD ,然后强行patch?这好像是程序员的做法,程序员的做法是,如果没有合适的轮子,就自己造一个,我的水平不够,只想找现成的轮子。 |
本帖最后由 liuzhaoyzz 于 2021-6-14 12:59 编辑 sxgpic 发表于 2021-6-13 14:12 对于你们什么都简单,可我是业余选手呀。。。 看起来有点复杂。 对于 Windows 注册表文件,Linux 下有命令行方式的处理工具。 你说的是什么工具? |
wintoflash 发表于 2021-5-29 10:22 BCD的问题。、 可以用模板解决。 基本框架 先弄好。 然后非Win(linux)环境下 2进制修改,即可。 现在高手都这么干。 可以参考 一些 BCD开源 启动工具 (NTBOOT等). |
liuzhaoyzz 发表于 2021-6-13 12:27 灰常灰常简单!几条命令的事情,根本就不是事。 要是不考虑硬盘镜像在 virutalbox 中的兼容性,直接用 head -c xxM /dev/zero > newimage 生成个新文件,fdisk newimage 直接分区格,mkfs 式化成 raw 磁盘镜像,还要简单得多。 这样做出来的 raw 磁盘镜像在 windows 下也是能够双击挂载的,给个虚假的 .vhd .img 扩展名就行。 |
sxgpic 发表于 2021-6-13 02:11 你是个高手。 看起来在linux里面折腾vhd,比windows下面折腾vhd要麻烦不少啊。 |
本帖最后由 sxgpic 于 2021-6-13 02:12 编辑 liuzhaoyzz 发表于 2021-6-12 15:58 按69楼秘诀弄好一个VHD文件,nautilus 里双击挂载上,或者 losetup 命令给它在 /dev 下绑个 loop 设备,然后用 wimapply 把 wim 或未加密 esd 展开到对应的 loop 设备就可以了。 假如 new.vhd 内只有一个分区,losetup new.vhd 后用 losetup -a 查看发现绑为 /dev/loop6,其中第一分区为 /dev/loop6p1,那么 sudo wimapply install.wim 1 /dev/loop6p1 就可以了。 几年前的旧版 ubuntu (比如 ubuntu 14.04 lts)使用的 ntfs-3g 有 bug,wimapply 展开时会出错退出,需要打补丁。20.04 下已经修复这个错误了。 |
本帖最后由 sxgpic 于 2021-6-13 01:51 编辑 liuzhaoyzz 发表于 2021-6-12 15:58 vhd 在 linux 下可以简单通过 qemu-nbd 挂载。 当然,qemu-nbd 不支持 vhdx。 分享一个linux下不用 qemu-nbd 的办法,自己摸索出来的小窍门: 1、用 virtualbox 建立一个新的 vhd 文件(固定大小),比如文件名为 new.vhd,添加到 virtualbox 虚拟机里。 2、在 linux 下用 fdisk 给 new.vhd 分区: sudo fdisk new.vhd,添加一个分区,保存退出 fdisk。 3、塞一个 winpe 的可启动 ISO 进 virtualbox 虚拟机,启动它,在 pe 里用 diskgenus 格式化 new.vhd 中 fdisk 分好的分区,它会弹出窗口说 new.vhd 这个硬盘有错误,按提示修正,保存退出。 4、经过以上折腾,就搞好了。这个 new.vhd 在 linux 下可以直接用 gnome-disk-image-mounter 正常挂载,不需要 qemu-nbd,也能被 virtualbox 和 windows 识别为正常的 vhd 文件。 总结步骤: 1、在 windows 下新建或在 linux 下用 virtualbox 等新建一个固定大小的 vhd 文件(不要分区); 2、在 linux 下用 fdisk 给建好的 vhd 文件分区; 3、windows下用 diskgenus (4.x版本)打开 linux fdisk 命令好分区的 vhd 文件,按提示修正磁盘错误; 4、在 linux 下或 windows 下格式化修正磁盘错误后的 vhd 内分区; 5、完成。 最后,再分享一个自制的 deb 包,可以实现 nautilus 文件管理器里直接鼠标双击 vhd (上面秘诀处理过的) / squashfs 等磁盘镜像的挂载,十分方便。安装完后记得重启一下才能生效。
disk-image-mounter_1.0.1-ubuntu0_all.zip
(2.02 KB, 下载次数: 2)
|
吉毛桃 发表于 2021-6-2 22:14
Chmsee 1.3.0 running on Ubuntu 20.04 (wayland) |
wintoflash 发表于 2021-5-29 10:22 bcd 文件似乎是NT和win9x配置单元文件,也就是Windows注册表那种。 对于 Windows 注册表文件,Linux 下有命令行方式的处理工具。 bcd 文件应该也可以用同样的工具编辑修改。 |
吉毛桃 发表于 2021-6-3 00:14 新版ubuntu 20.04下编译个chmsee不难呀,我早就弄好了,1.3.0版本。 chmsee_1.3.0-2ubuntu2_amd64.deb 依赖的包,也是自己编译的: libjpeg62-turbo_2.0.6-2_amd64.deb libicu57_57.1-6+deb9u4_amd64.deb libwebkitgtk-1.0-0_2.4.11-3_amd64.deb libjavascriptcoregtk-1.0-0_2.4.11-3_amd64.deb |
吉毛桃 发表于 2021-6-12 14:46 没有继续弄,不知道怎么搞到vhd里面,vhd驱动for linux不知道怎么搞。 还有BCD在linux里面不知道怎么搞。 如果太复杂,不如直接在PE里面搞。 |
liuzhaoyzz 发表于 2021-6-3 19:10 弄好了吗?具体应用是? 不知道如何应用上呢? |
wintoflash 发表于 2021-6-2 21:20 wget https://wimlib.net/downloads/wimlib-1.13.4.tar.gz tar -xf wimlib-1.13.4.tar.gz cd wimlib-1.13.4/ sudo apt install pkg-config libxml2-dev ntfs-3g-dev libfuse-dev gawk make gcc ./configure && make && sudo make install ubuntu20.10里面,运行上面的命令之后,似乎没有发现什么错误。 但是尝试运行wimapply之后出错了。 ubuntu@ubuntu:~/wimlib-1.13.4$ wimapply wimapply: error while loading shared libraries: libwim.so.15: cannot open shared object file: No such file or directory ubuntu@ubuntu:~/wimlib-1.13.4$ wimextract wimextract: error while loading shared libraries: libwim.so.15: cannot open shared object file: No such file or directory 于是我尝试添加库: ubuntu@ubuntu:~/wimlib-1.13.4$ sudo apt install libwim2 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 E: 无法定位软件包 libwim2 ubuntu@ubuntu:~/wimlib-1.13.4$ sudo apt install libwim 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 E: 无法定位软件包 libwim ubuntu@ubuntu:~/wimlib-1.13.4$ sudo apt install libwim.so 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 E: 无法定位软件包 libwim.so E: 无法按照 glob ‘libwim.so’ 找到任何软件包 ubuntu@ubuntu:~/wimlib-1.13.4$ sudo apt install libwim.so.15 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 E: 无法定位软件包 libwim.so.15 E: 无法按照 glob ‘libwim.so.15’ 找到任何软件包 百度了下,没有有效的结果,这该怎么办?感觉linux依赖库真麻烦。 另外把前面的命令结果贴上来。 ubuntu@ubuntu:~$ wget https://wimlib.net/downloads/wimlib-1.13.4.tar.gz --2021-06-03 10:44:15-- https://wimlib.net/downloads/wimlib-1.13.4.tar.gz 正在解析主机 wimlib.net (wimlib.net)... 45.33.77.52, 2600:3c03::f03c:91ff:fee4:1a0a 正在连接 wimlib.net (wimlib.net)|45.33.77.52|:443... 已连接。 已发出 HTTP 请求,正在等待回应... 200 OK 长度: 1040411 (1016K) [application/octet-stream] 正在保存至: “wimlib-1.13.4.tar.gz” wimlib-1.13.4.tar.g 100%[===================>] 1016K 678KB/s 用时 1.5s 2021-06-03 10:44:17 (678 KB/s) - 已保存 “wimlib-1.13.4.tar.gz” [1040411/1040411]) ubuntu@ubuntu:~$ tar -xf wimlib-1.13.4.tar.gz ubuntu@ubuntu:~$ cd wimlib-1.13.4/ ubuntu@ubuntu:~/wimlib-1.13.4$ sudo apt install pkg-config libxml2-dev ntfs-3g-dev libfuse-dev gawk make gcc 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 pkg-config 已经是最新版 (0.29.2-1ubuntu1)。 pkg-config 已设置为手动安装。 将会同时安装下列软件: binutils binutils-common binutils-x86-64-linux-gnu gcc-10 icu-devtools libasan6 libatomic1 libbinutils libc-dev-bin libc6-dev libcrypt-dev libctf-nobfd0 libctf0 libgcc-10-dev libicu-dev libitm1 liblsan0 libnsl-dev libpcre2-16-0 libpcre2-dev libpcre2-posix2 libquadmath0 libselinux1-dev libsepol1-dev libsigsegv2 libtirpc-dev libtsan0 libubsan1 linux-libc-dev manpages-dev rpcsvc-proto 建议安装: binutils-doc gawk-doc gcc-multilib autoconf automake libtool flex bison gcc-doc gcc-10-multilib gcc-10-doc gcc-10-locales glibc-doc icu-doc make-doc 下列【新】软件包将被安装: binutils binutils-common binutils-x86-64-linux-gnu gawk gcc gcc-10 icu-devtools libasan6 libatomic1 libbinutils libc-dev-bin libc6-dev libcrypt-dev libctf-nobfd0 libctf0 libfuse-dev libgcc-10-dev libicu-dev libitm1 liblsan0 libnsl-dev libpcre2-16-0 libpcre2-dev libpcre2-posix2 libquadmath0 libselinux1-dev libsepol1-dev libsigsegv2 libtirpc-dev libtsan0 libubsan1 libxml2-dev linux-libc-dev make manpages-dev ntfs-3g-dev rpcsvc-proto 升级了 0 个软件包,新安装了 37 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。 需要下载 12.6 MB/41.1 MB 的归档。 解压缩后会消耗 178 MB 的额外空间。 您希望继续执行吗? [Y/n] y 获取:1 http://archive.ubuntu.com/ubuntu groovy/main amd64 libsigsegv2 amd64 2.12-2build1 [13.9 kB] 获取:2 http://archive.ubuntu.com/ubuntu groovy/main amd64 gawk amd64 1:5.0.1+dfsg-1 [418 kB] 获取:3 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 binutils-common amd64 2.35.1-1ubuntu1 [212 kB] 获取:4 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libbinutils amd64 2.35.1-1ubuntu1 [481 kB] 获取:5 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libctf-nobfd0 amd64 2.35.1-1ubuntu1 [48.1 kB] 获取:6 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libctf0 amd64 2.35.1-1ubuntu1 [47.6 kB] 获取:7 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 binutils-x86-64-linux-gnu amd64 2.35.1-1ubuntu1 [1,645 kB] 获取:8 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 binutils amd64 2.35.1-1ubuntu1 [3,380 B] 获取:9 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libitm1 amd64 10.2.0-13ubuntu1 [26.3 kB] 获取:10 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libatomic1 amd64 10.2.0-13ubuntu1 [9,288 B] 获取:11 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libasan6 amd64 10.2.0-13ubuntu1 [344 kB] 获取:12 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 liblsan0 amd64 10.2.0-13ubuntu1 [144 kB] 获取:13 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libtsan0 amd64 10.2.0-13ubuntu1 [319 kB] 获取:14 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libubsan1 amd64 10.2.0-13ubuntu1 [136 kB] 获取:15 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libquadmath0 amd64 10.2.0-13ubuntu1 [146 kB] 获取:16 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libgcc-10-dev amd64 10.2.0-13ubuntu1 [2,341 kB] 获取:17 http://archive.ubuntu.com/ubuntu groovy/main amd64 icu-devtools amd64 67.1-4 [190 kB] 获取:18 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 gcc-10 amd64 10.2.0-13ubuntu1 [16.3 MB] 获取:19 http://archive.ubuntu.com/ubuntu groovy/main amd64 libsepol1-dev amd64 3.1-1 [328 kB] 获取:20 http://archive.ubuntu.com/ubuntu groovy/main amd64 libpcre2-16-0 amd64 10.34-7 [181 kB] 获取:21 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 gcc amd64 4:10.2.0-1ubuntu1 [5,208 B] 获取:22 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libc-dev-bin amd64 2.32-0ubuntu3 [30.9 kB] 获取:23 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 linux-libc-dev amd64 5.8.0-25.26 [1,166 kB] 获取:24 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libcrypt-dev amd64 1:4.4.16-1ubuntu1 [104 kB] 获取:25 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu4 [62.8 kB] 获取:26 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libtirpc-dev amd64 1.2.6-1build1 [184 kB] 获取:27 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libnsl-dev amd64 1.3.0-0ubuntu3 [66.4 kB] 获取:28 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 libc6-dev amd64 2.32-0ubuntu3 [2,130 kB] 获取:29 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 make amd64 4.3-4ubuntu1 [167 kB] 获取:30 cdrom://Ubuntu 20.10 _Groovy Gorilla_ - Release amd64 (20201022) groovy/main amd64 manpages-dev all 5.08-1 [2,290 kB] 获取:31 http://archive.ubuntu.com/ubuntu groovy/main amd64 libpcre2-posix2 amd64 10.34-7 [5,992 B] 获取:32 http://archive.ubuntu.com/ubuntu groovy/main amd64 libpcre2-dev amd64 10.34-7 [670 kB] 获取:33 http://archive.ubuntu.com/ubuntu groovy/main amd64 libselinux1-dev amd64 3.1-2 [148 kB] 获取:34 http://archive.ubuntu.com/ubuntu groovy/main amd64 libfuse-dev amd64 2.9.9-3 [105 kB] 获取:35 http://archive.ubuntu.com/ubuntu groovy/main amd64 libicu-dev amd64 67.1-4 [9,593 kB] 获取:36 http://archive.ubuntu.com/ubuntu groovy/main amd64 libxml2-dev amd64 2.9.10+dfsg-5build1 [721 kB] 获取:37 http://archive.ubuntu.com/ubuntu groovy/main amd64 ntfs-3g-dev amd64 1:2017.3.23AR.3-3ubuntu2 [237 kB] 已下载 12.6 MB,耗时 5秒 (2,696 kB/s) 正在从软件包中解出模板:100% 正在选中未选择的软件包 libsigsegv2:amd64。 (正在读取数据库 ... 系统当前共安装有 192332 个文件和目录。) 准备解压 .../libsigsegv2_2.12-2build1_amd64.deb ... 正在解压 libsigsegv2:amd64 (2.12-2build1) ... 正在设置 libsigsegv2:amd64 (2.12-2build1) ... 正在选中未选择的软件包 gawk。 (正在读取数据库 ... 系统当前共安装有 192339 个文件和目录。) 准备解压 .../00-gawk_1%3a5.0.1+dfsg-1_amd64.deb ... 正在解压 gawk (1:5.0.1+dfsg-1) ... 正在选中未选择的软件包 binutils-common:amd64。 准备解压 .../01-binutils-common_2.35.1-1ubuntu1_amd64.deb ... 正在解压 binutils-common:amd64 (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 libbinutils:amd64。 准备解压 .../02-libbinutils_2.35.1-1ubuntu1_amd64.deb ... 正在解压 libbinutils:amd64 (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 libctf-nobfd0:amd64。 准备解压 .../03-libctf-nobfd0_2.35.1-1ubuntu1_amd64.deb ... 正在解压 libctf-nobfd0:amd64 (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 libctf0:amd64。 准备解压 .../04-libctf0_2.35.1-1ubuntu1_amd64.deb ... 正在解压 libctf0:amd64 (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 binutils-x86-64-linux-gnu。 准备解压 .../05-binutils-x86-64-linux-gnu_2.35.1-1ubuntu1_amd64.deb ... 正在解压 binutils-x86-64-linux-gnu (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 binutils。 准备解压 .../06-binutils_2.35.1-1ubuntu1_amd64.deb ... 正在解压 binutils (2.35.1-1ubuntu1) ... 正在选中未选择的软件包 libitm1:amd64。 准备解压 .../07-libitm1_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libitm1:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libatomic1:amd64。 准备解压 .../08-libatomic1_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libatomic1:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libasan6:amd64。 准备解压 .../09-libasan6_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libasan6:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 liblsan0:amd64。 准备解压 .../10-liblsan0_10.2.0-13ubuntu1_amd64.deb ... 正在解压 liblsan0:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libtsan0:amd64。 准备解压 .../11-libtsan0_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libtsan0:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libubsan1:amd64。 准备解压 .../12-libubsan1_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libubsan1:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libquadmath0:amd64。 准备解压 .../13-libquadmath0_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libquadmath0:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 libgcc-10-dev:amd64。 准备解压 .../14-libgcc-10-dev_10.2.0-13ubuntu1_amd64.deb ... 正在解压 libgcc-10-dev:amd64 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 gcc-10。 准备解压 .../15-gcc-10_10.2.0-13ubuntu1_amd64.deb ... 正在解压 gcc-10 (10.2.0-13ubuntu1) ... 正在选中未选择的软件包 gcc。 准备解压 .../16-gcc_10.2.0-1ubuntu1_amd64.deb ... 正在解压 gcc (4:10.2.0-1ubuntu1) ... 正在选中未选择的软件包 icu-devtools。 准备解压 .../17-icu-devtools_67.1-4_amd64.deb ... 正在解压 icu-devtools (67.1-4) ... 正在选中未选择的软件包 libc-dev-bin。 准备解压 .../18-libc-dev-bin_2.32-0ubuntu3_amd64.deb ... 正在解压 libc-dev-bin (2.32-0ubuntu3) ... 正在选中未选择的软件包 linux-libc-dev:amd64。 准备解压 .../19-linux-libc-dev_5.8.0-25.26_amd64.deb ... 正在解压 linux-libc-dev:amd64 (5.8.0-25.26) ... 正在选中未选择的软件包 libcrypt-dev:amd64。 准备解压 .../20-libcrypt-dev_4.4.16-1ubuntu1_amd64.deb ... 正在解压 libcrypt-dev:amd64 (1:4.4.16-1ubuntu1) ... 正在选中未选择的软件包 rpcsvc-proto。 准备解压 .../21-rpcsvc-proto_1.4.2-0ubuntu4_amd64.deb ... 正在解压 rpcsvc-proto (1.4.2-0ubuntu4) ... 正在选中未选择的软件包 libtirpc-dev:amd64。 准备解压 .../22-libtirpc-dev_1.2.6-1build1_amd64.deb ... 正在解压 libtirpc-dev:amd64 (1.2.6-1build1) ... 正在选中未选择的软件包 libnsl-dev:amd64。 准备解压 .../23-libnsl-dev_1.3.0-0ubuntu3_amd64.deb ... 正在解压 libnsl-dev:amd64 (1.3.0-0ubuntu3) ... 正在选中未选择的软件包 libc6-dev:amd64。 准备解压 .../24-libc6-dev_2.32-0ubuntu3_amd64.deb ... 正在解压 libc6-dev:amd64 (2.32-0ubuntu3) ... 正在选中未选择的软件包 libsepol1-dev:amd64。 准备解压 .../25-libsepol1-dev_3.1-1_amd64.deb ... 正在解压 libsepol1-dev:amd64 (3.1-1) ... 正在选中未选择的软件包 libpcre2-16-0:amd64。 准备解压 .../26-libpcre2-16-0_10.34-7_amd64.deb ... 正在解压 libpcre2-16-0:amd64 (10.34-7) ... 正在选中未选择的软件包 libpcre2-posix2:amd64。 准备解压 .../27-libpcre2-posix2_10.34-7_amd64.deb ... 正在解压 libpcre2-posix2:amd64 (10.34-7) ... 正在选中未选择的软件包 libpcre2-dev:amd64。 准备解压 .../28-libpcre2-dev_10.34-7_amd64.deb ... 正在解压 libpcre2-dev:amd64 (10.34-7) ... 正在选中未选择的软件包 libselinux1-dev:amd64。 准备解压 .../29-libselinux1-dev_3.1-2_amd64.deb ... 正在解压 libselinux1-dev:amd64 (3.1-2) ... 正在选中未选择的软件包 libfuse-dev。 准备解压 .../30-libfuse-dev_2.9.9-3_amd64.deb ... 正在解压 libfuse-dev (2.9.9-3) ... 正在选中未选择的软件包 libicu-dev:amd64。 准备解压 .../31-libicu-dev_67.1-4_amd64.deb ... 正在解压 libicu-dev:amd64 (67.1-4) ... 正在选中未选择的软件包 libxml2-dev:amd64。 准备解压 .../32-libxml2-dev_2.9.10+dfsg-5build1_amd64.deb ... 正在解压 libxml2-dev:amd64 (2.9.10+dfsg-5build1) ... 正在选中未选择的软件包 make。 准备解压 .../33-make_4.3-4ubuntu1_amd64.deb ... 正在解压 make (4.3-4ubuntu1) ... 正在选中未选择的软件包 manpages-dev。 准备解压 .../34-manpages-dev_5.08-1_all.deb ... 正在解压 manpages-dev (5.08-1) ... 正在选中未选择的软件包 ntfs-3g-dev。 准备解压 .../35-ntfs-3g-dev_1%3a2017.3.23AR.3-3ubuntu2_amd64.deb ... 正在解压 ntfs-3g-dev (1:2017.3.23AR.3-3ubuntu2) ... 正在设置 manpages-dev (5.08-1) ... 正在设置 gawk (1:5.0.1+dfsg-1) ... 正在设置 binutils-common:amd64 (2.35.1-1ubuntu1) ... 正在设置 libsepol1-dev:amd64 (3.1-1) ... 正在设置 linux-libc-dev:amd64 (5.8.0-25.26) ... 正在设置 libctf-nobfd0:amd64 (2.35.1-1ubuntu1) ... 正在设置 libpcre2-16-0:amd64 (10.34-7) ... 正在设置 libasan6:amd64 (10.2.0-13ubuntu1) ... 正在设置 ntfs-3g-dev (1:2017.3.23AR.3-3ubuntu2) ... 正在设置 libtirpc-dev:amd64 (1.2.6-1build1) ... 正在设置 rpcsvc-proto (1.4.2-0ubuntu4) ... 正在设置 make (4.3-4ubuntu1) ... 正在设置 libquadmath0:amd64 (10.2.0-13ubuntu1) ... 正在设置 libatomic1:amd64 (10.2.0-13ubuntu1) ... 正在设置 icu-devtools (67.1-4) ... 正在设置 libpcre2-posix2:amd64 (10.34-7) ... 正在设置 libubsan1:amd64 (10.2.0-13ubuntu1) ... 正在设置 libnsl-dev:amd64 (1.3.0-0ubuntu3) ... 正在设置 libcrypt-dev:amd64 (1:4.4.16-1ubuntu1) ... 正在设置 libbinutils:amd64 (2.35.1-1ubuntu1) ... 正在设置 libc-dev-bin (2.32-0ubuntu3) ... 正在设置 liblsan0:amd64 (10.2.0-13ubuntu1) ... 正在设置 libitm1:amd64 (10.2.0-13ubuntu1) ... 正在设置 libtsan0:amd64 (10.2.0-13ubuntu1) ... 正在设置 libctf0:amd64 (2.35.1-1ubuntu1) ... 正在设置 libgcc-10-dev:amd64 (10.2.0-13ubuntu1) ... 正在设置 libc6-dev:amd64 (2.32-0ubuntu3) ... 正在设置 libicu-dev:amd64 (67.1-4) ... 正在设置 binutils-x86-64-linux-gnu (2.35.1-1ubuntu1) ... 正在设置 libpcre2-dev:amd64 (10.34-7) ... 正在设置 libselinux1-dev:amd64 (3.1-2) ... 正在设置 binutils (2.35.1-1ubuntu1) ... 正在设置 libfuse-dev (2.9.9-3) ... 正在设置 libxml2-dev:amd64 (2.9.10+dfsg-5build1) ... 正在设置 gcc-10 (10.2.0-13ubuntu1) ... 正在设置 gcc (4:10.2.0-1ubuntu1) ... 正在处理用于 man-db (2.9.3-2) 的触发器 ... 正在处理用于 libc-bin (2.32-0ubuntu3) 的触发器 ... ubuntu@ubuntu:~/wimlib-1.13.4$ ./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... /usr/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... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for futimens... yes checking for utimensat... yes checking for flock... yes checking for mempcpy... yes checking for openat... yes checking for fstatat... yes checking for readlinkat... yes checking for fdopendir... yes checking for posix_fallocate... yes checking for llistxattr... yes checking for lgetxattr... yes checking for fsetxattr... yes checking for lsetxattr... yes checking for getopt_long_only... yes checking for alloca.h... yes checking for byteswap.h... yes checking for endian.h... yes checking for errno.h... yes checking for glob.h... yes checking for machine/endian.h... no checking for stdarg.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for sys/byteorder.h... no checking for sys/endian.h... no checking for sys/file.h... yes checking for sys/syscall.h... yes checking for sys/sysctl.h... no checking for sys/times.h... yes checking for sys/xattr.h... yes checking for time.h... yes checking for utime.h... yes checking for struct stat.st_mtim... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether __NR_getrandom is declared... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking whether to include support for ntfs-3g... yes checking for LIBNTFS_3G... yes checking whether to include support for mounting WIMs... yes checking for LIBFUSE... yes checking for mq_open in -lrt... yes checking whether to use SSSE3-accelerated SHA-1... no checking whether to use SHA-1 implementation from system libcrypto... auto checking for LIBCRYPTO... no configure: WARNING: Cannot find libcrypto: using stand-alone SHA-1 code instead checking whether to include error messages... yes checking whether to include assertions... yes checking whether to include support for multi-threaded compression... yes checking whether to enable supporting code for tests... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Doxyfile config.status: creating wimlib.pc config.status: creating programs/mkwinpeimg config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-am make[1]: 进入目录“/home/ubuntu/wimlib-1.13.4” CC programs/wimlib_imagex-imagex.o CC src/libwim_la-add_image.lo CC src/libwim_la-avl_tree.lo CC src/libwim_la-blob_table.lo CC src/libwim_la-compress.lo CC src/libwim_la-compress_common.lo CC src/libwim_la-compress_parallel.lo CC src/libwim_la-compress_serial.lo CC src/libwim_la-decompress.lo CC src/libwim_la-decompress_common.lo CC src/libwim_la-delete_image.lo CC src/libwim_la-dentry.lo CC src/libwim_la-divsufsort.lo CC src/libwim_la-encoding.lo CC src/libwim_la-error.lo CC src/libwim_la-export_image.lo CC src/libwim_la-extract.lo CC src/libwim_la-file_io.lo CC src/libwim_la-header.lo CC src/libwim_la-inode.lo CC src/libwim_la-inode_fixup.lo CC src/libwim_la-inode_table.lo CC src/libwim_la-integrity.lo CC src/libwim_la-iterate_dir.lo CC src/libwim_la-join.lo CC src/libwim_la-lcpit_matchfinder.lo CC src/libwim_la-lzms_common.lo CC src/libwim_la-lzms_compress.lo CC src/libwim_la-lzms_decompress.lo CC src/libwim_la-lzx_common.lo CC src/libwim_la-lzx_compress.lo CC src/libwim_la-lzx_decompress.lo CC src/libwim_la-metadata_resource.lo CC src/libwim_la-mount_image.lo CC src/libwim_la-pathlist.lo CC src/libwim_la-paths.lo CC src/libwim_la-pattern.lo CC src/libwim_la-progress.lo CC src/libwim_la-reference.lo CC src/libwim_la-registry.lo CC src/libwim_la-reparse.lo CC src/libwim_la-resource.lo CC src/libwim_la-scan.lo CC src/libwim_la-security.lo CC src/libwim_la-sha1.lo CC src/libwim_la-solid.lo CC src/libwim_la-split.lo CC src/libwim_la-tagged_items.lo CC src/libwim_la-template.lo CC src/libwim_la-textfile.lo CC src/libwim_la-timestamp.lo CC src/libwim_la-update_image.lo CC src/libwim_la-util.lo CC src/libwim_la-verify.lo CC src/libwim_la-wim.lo CC src/libwim_la-write.lo CC src/libwim_la-x86_cpu_features.lo CC src/libwim_la-xml.lo CC src/libwim_la-xml_windows.lo CC src/libwim_la-xpress_compress.lo CC src/libwim_la-xpress_decompress.lo CC src/libwim_la-ntfs-3g_apply.lo CC src/libwim_la-ntfs-3g_capture.lo CC src/libwim_la-unix_apply.lo CC src/libwim_la-unix_capture.lo CCLD libwim.la CCLD wimlib-imagex make[1]: 离开目录“/home/ubuntu/wimlib-1.13.4” make[1]: 进入目录“/home/ubuntu/wimlib-1.13.4” /usr/bin/mkdir -p '/usr/local/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c libwim.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libwim.so.15.19.0 /usr/local/lib/libwim.so.15.19.0 libtool: install: (cd /usr/local/lib && { ln -s -f libwim.so.15.19.0 libwim.so.15 || { rm -f libwim.so.15 && ln -s libwim.so.15.19.0 libwim.so.15; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libwim.so.15.19.0 libwim.so || { rm -f libwim.so && ln -s libwim.so.15.19.0 libwim.so; }; }) libtool: install: /usr/bin/install -c .libs/libwim.lai /usr/local/lib/libwim.la libtool: install: /usr/bin/install -c .libs/libwim.a /usr/local/lib/libwim.a libtool: install: chmod 644 /usr/local/lib/libwim.a libtool: install: ranlib /usr/local/lib/libwim.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/mkdir -p '/usr/local/bin' /bin/bash ./libtool --mode=install /usr/bin/install -c wimlib-imagex '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/wimlib-imagex /usr/local/bin/wimlib-imagex /usr/bin/mkdir -p '/usr/local/bin' /usr/bin/install -c programs/mkwinpeimg '/usr/local/bin' make install-exec-hook make[2]: 进入目录“/home/ubuntu/wimlib-1.13.4” for cmd in append apply capture delete dir export extract info join mount mountrw optimize split unmount update verify; do \ cd /usr/local/bin && \ ln -f wimlib-imagex wim${cmd}; \ done make[2]: 离开目录“/home/ubuntu/wimlib-1.13.4” /usr/bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 include/wimlib.h '/usr/local/include' /usr/bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 doc/man1/wimlib-imagex.1 doc/man1/wimappend.1 doc/man1/wimapply.1 doc/man1/wimcapture.1 doc/man1/wimdelete.1 doc/man1/wimdir.1 doc/man1/wimexport.1 doc/man1/wimextract.1 doc/man1/wiminfo.1 doc/man1/wimjoin.1 doc/man1/wimmount.1 doc/man1/wimmountrw.1 doc/man1/wimoptimize.1 doc/man1/wimsplit.1 doc/man1/wimunmount.1 doc/man1/wimupdate.1 doc/man1/wimverify.1 doc/man1/mkwinpeimg.1 '/usr/local/share/man/man1' /usr/bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 wimlib.pc '/usr/local/lib/pkgconfig' make install-data-hook make[2]: 进入目录“/home/ubuntu/wimlib-1.13.4” for cmd in append apply capture delete dir export extract info join mount mountrw optimize split unmount update verify; do \ cd /usr/local/share/man/man1 && \ ln -sf wim${cmd}.1 wimlib-imagex-${cmd}.1; \ done make[2]: 离开目录“/home/ubuntu/wimlib-1.13.4” make[1]: 离开目录“/home/ubuntu/wimlib-1.13.4” |
|
结合前面的操作记录,我分析了下,在v20里面成功地编译执行了最新版的wimlib1.13.4 看前面的提示主要是libxml2的问题,我在v20里面看了下: pkg -f -g libxml2 libxml2已经安装过了的,那就不需要前面提到的libxml2-dev_2.9.4.pet: [root@veket /mnt/sda2/linux/veket/wimlib-1.13.4] $ pkg -f -g libxml2 Skipping libxml2 (already built-in).. 那就直接干就行了,果然一把成功:./configure && make && sudo make install [root@veket /mnt/sda2/linux/veket/wimlib-1.13.4] $ ls aclocal.m4 configure.ac include Makefile.in tests build-aux COPYING INSTALL NEWS wimlib-imagex config.h COPYING.CC0 libtool programs wimlib.pc config.h.in COPYING.GPLv3 libwim.la README wimlib.pc.in config.log COPYING.LGPLv3 m4 README.WINDOWS config.status doc Makefile src configure examples Makefile.am stamp-h1 [root@veket /mnt/sda2/linux/veket/wimlib-1.13.4] $ ./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... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking for futimens... yes checking for utimensat... yes checking for flock... yes checking for mempcpy... yes checking for openat... yes checking for fstatat... yes checking for readlinkat... yes checking for fdopendir... yes checking for posix_fallocate... yes checking for llistxattr... yes checking for lgetxattr... yes checking for fsetxattr... yes checking for lsetxattr... yes checking for getopt_long_only... yes checking for alloca.h... yes checking for byteswap.h... yes checking for endian.h... yes checking for errno.h... yes checking for glob.h... yes checking for machine/endian.h... no checking for stdarg.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for sys/byteorder.h... no checking for sys/endian.h... no checking for sys/file.h... yes checking for sys/syscall.h... yes checking for sys/sysctl.h... yes checking for sys/times.h... yes checking for sys/xattr.h... yes checking for time.h... yes checking for utime.h... yes checking for struct stat.st_mtim... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether __NR_getrandom is declared... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML2... yes checking whether to include support for ntfs-3g... yes checking for LIBNTFS_3G... yes checking whether to include support for mounting WIMs... yes checking for LIBFUSE... yes checking for mq_open in -lrt... yes checking whether to use SSSE3-accelerated SHA-1... no checking whether to use SHA-1 implementation from system libcrypto... auto checking for LIBCRYPTO... yes checking whether to include error messages... yes checking whether to include assertions... yes checking whether to include support for multi-threaded compression... yes checking whether to enable supporting code for tests... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Doxyfile config.status: creating wimlib.pc config.status: creating programs/mkwinpeimg config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands make all-am make[1]: 进入目录“/mnt/sda2/linux/veket/wimlib-1.13.4” make[1]: 离开目录“/mnt/sda2/linux/veket/wimlib-1.13.4” make[1]: 进入目录“/mnt/sda2/linux/veket/wimlib-1.13.4” /bin/mkdir -p '/usr/local/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libwim.la '/usr/local/lib' libtool: install: /usr/bin/install -c .libs/libwim.so.15.19.0 /usr/local/lib/libwim.so.15.19.0 libtool: install: (cd /usr/local/lib && { ln -s -f libwim.so.15.19.0 libwim.so.15 || { rm -f libwim.so.15 && ln -s libwim.so.15.19.0 libwim.so.15; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libwim.so.15.19.0 libwim.so || { rm -f libwim.so && ln -s libwim.so.15.19.0 libwim.so; }; }) libtool: install: /usr/bin/install -c .libs/libwim.lai /usr/local/lib/libwim.la libtool: install: /usr/bin/install -c .libs/libwim.a /usr/local/lib/libwim.a libtool: install: chmod 644 /usr/local/lib/libwim.a libtool: install: ranlib /usr/local/lib/libwim.a libtool: finish: PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/root/my-applications/bin:/usr/games:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c wimlib-imagex '/usr/local/bin' libtool: install: /usr/bin/install -c .libs/wimlib-imagex /usr/local/bin/wimlib-imagex /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c programs/mkwinpeimg '/usr/local/bin' make install-exec-hook make[2]: 进入目录“/mnt/sda2/linux/veket/wimlib-1.13.4” for cmd in append apply capture delete dir export extract info join mount mountrw optimize split unmount update verify; do \ cd /usr/local/bin && \ ln -f wimlib-imagex wim${cmd}; \ done make[2]: 离开目录“/mnt/sda2/linux/veket/wimlib-1.13.4” /bin/mkdir -p '/usr/local/include' /usr/bin/install -c -m 644 include/wimlib.h '/usr/local/include' /bin/mkdir -p '/usr/local/share/man/man1' /usr/bin/install -c -m 644 doc/man1/wimlib-imagex.1 doc/man1/wimappend.1 doc/man1/wimapply.1 doc/man1/wimcapture.1 doc/man1/wimdelete.1 doc/man1/wimdir.1 doc/man1/wimexport.1 doc/man1/wimextract.1 doc/man1/wiminfo.1 doc/man1/wimjoin.1 doc/man1/wimmount.1 doc/man1/wimmountrw.1 doc/man1/wimoptimize.1 doc/man1/wimsplit.1 doc/man1/wimunmount.1 doc/man1/wimupdate.1 doc/man1/wimverify.1 doc/man1/mkwinpeimg.1 '/usr/local/share/man/man1' /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 wimlib.pc '/usr/local/lib/pkgconfig' make install-data-hook make[2]: 进入目录“/mnt/sda2/linux/veket/wimlib-1.13.4” for cmd in append apply capture delete dir export extract info join mount mountrw optimize split unmount update verify; do \ cd /usr/local/share/man/man1 && \ ln -sf wim${cmd}.1 wimlib-imagex-${cmd}.1; \ done make[2]: 离开目录“/mnt/sda2/linux/veket/wimlib-1.13.4” make[1]: 离开目录“/mnt/sda2/linux/veket/wimlib-1.13.4” wimapply或者wimextract都可以正常执行了: [root@veket /mnt/sda2/linux/veket/wimlib-1.13.4] $ wimapply Usage: wimapply WIMFILE [IMAGE] TARGET [--check] [--ref="GLOB"] [--no-acls] [--strict-acls] [--no-attributes] [--rpfix] [--norpfix] [--include-invalid-names] [--wimboot] [--unix-data] [--compact=FORMAT] [--recover-data] Some uncommon options are not listed; see `man wimapply' for more details. [root@veket /mnt/sda2/linux/veket/wimlib-1.13.4] $ wimextract Usage: wimextract WIMFILE IMAGE [(PATH | @LISTFILE)...] [--check] [--ref="GLOB"] [--dest-dir=CMD_DIR] [--to-stdout] [--no-acls] [--strict-acls] [--no-attributes] [--include-invalid-names] [--no-globs] [--nullglob] [--preserve-dir-structure] [--recover-data] Some uncommon options are not listed; see `man wimextract' for more details. 随便找个387.esd测试下,切换到387.esd所在的目录,来真的: [root@veket /mnt/sda3] $ wimapply 387.esd ./387/ [WARNING] Ignoring FILE_ATTRIBUTE_READONLY of 90 files [WARNING] Ignoring FILE_ATTRIBUTE_HIDDEN of 328 files [WARNING] Ignoring FILE_ATTRIBUTE_SYSTEM of 446 files [WARNING] Ignoring FILE_ATTRIBUTE_NOT_CONTENT_INDEXED of 503 files [WARNING] Ignoring Windows NT security descriptors of 10845 files [WARNING] Ignoring object IDs of 45 files [WARNING] Ignoring DOS names of 1888 files Applying image 1 ("Windows 7 企业版") from "/mnt/sda3/387.esd" to directory "./387/" Extracting file data: 1633 MiB of 1633 MiB (100%) done Done applying WIM image. 成功解压缩387.esd。 虽然在linux里面安装windows有点瞎折腾的味道,但是感觉还是学到了不少东西。 后面不知道怎么搞到vhd里面,vhd驱动for linux不知道怎么搞。 还有BCD在linux里面不知道怎么搞。 |
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.