1

显然只有一个人设法做到了。我正在逐步精确地跟踪他的安装,但我没有 iconc 编译器。按照 Makefile 的说明,我正在使用 icont(我确实有),但是 Jim 的说明根本不起作用。

$ make install
[...]
cp totex disambiguate noidx tohtml elide l2h docs2comments autodefs.tex autodefs.icon autodefs.yacc autodefs.sml autodefs.pascal autodefs.promela autodefs.lrtl autodefs.asdl autodefs.mmix xchunks pipedocs /c/nowebFiles/usr/local/noweb/lib
cp: cannot stat `totex': No such file or directory
cp: cannot stat `disambiguate': No such file or directory
cp: cannot stat `noidx': No such file or directory
cp: cannot stat `tohtml': No such file or directory
cp: cannot stat `elide': No such file or directory
cp: cannot stat `l2h': No such file or directory
cp: cannot stat `docs2comments': No such file or directory
cp: cannot stat `xchunks': No such file or directory
cp: cannot stat `pipedocs': No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/Melba/noweb-2.11b/src/icon'
make: *** [install-code] Error 2

这里的问题是icont创建totex.icx而不是totex. 这是因为我没有iconc并且正在使用icont吗?我从它的主页安装了 icont,但它似乎没有附带iconc. 我应该怎么办?

只是让你知道:我已经改变了lib/Makefile调用这些程序totex.icx,所以我能够构建整个东西,但是 noweave 那时不起作用,所以我从头开始做了这一切并停止到上面的这一点在这里问这个问题是因为我与 Jim 唯一不同的是他可能拥有iconc编译器而我没有。(他显然也在 Windows 7 上,但我认为这根本没有任何区别。)谢谢!

4

1 回答 1

0

我刚刚开始使用 Windows 10,并且已经从 Microsoft Store 安装了 Debian linux 环境(打字很奇怪)。这是在 Windows SubsystemforLinux (WSL) 下。我首先按照他们的建议更新了默认软件:

sudo apt-get update
sudo apt-get upgrade

之后,我安装了 aptitude,我喜欢的 Debian 包管理器 ( apt-get install aptitude),然后是 emacs 和 noweb。(我几乎在所有工作中都使用这两者。)安装 noweb,将 tex 和其他支持程序引入 WSL 。

我刚刚创建了一个简单的 noweb 文件,并且 noweave 生成​​了可编译的 tex,它与 pdflatex 配合得很好。因此,现在让 noweb 在 Windows 10 上运行似乎要容易得多。

一个潜在的警告是,我还没有完全理解这两个系统(原生 Windows 10 和 WSL linux 子系统)是如何相互作用的。今天早些时候,我发现我无法将在原生 Windows 10 环境中运行的 Emacs 中的文件保存到 WSL Debian linux 环境中。但我可以从 WSL linux Emacs 将文件保存到本机 Windows 10 文件系统。因此,虽然现在可以相对轻松地在 Windows 10 上安装 noweb,但它的工作流程可能过于繁琐。

于 2020-12-21T23:15:17.073 回答