![autoconf:错误:没有输入文件](https://linux22.com/image/983008/autoconf%EF%BC%9A%E9%94%99%E8%AF%AF%EF%BC%9A%E6%B2%A1%E6%9C%89%E8%BE%93%E5%85%A5%E6%96%87%E4%BB%B6.png)
我正在尝试安装我下载的程序,林帕克。
我打开了 README,它声称我要做的就是 ./confugure;make;make install,但我被卡在 ./configure 上,因为没有配置文件。
有一个 configure.ac 文件,所以我运行了命令自动配置但我返回了错误:
autoconf:错误:没有输入文件
我可以采取哪些下一步来尝试安装我的程序?
答案1
根据 linpac-0.21 README:
Release packages can be identified by the presence of the ./configure in
this directory. If the ./configure script is not present, then see the
'Hacking' instructions below.
说明如下:
NOTES FOR HACKING
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A clean checkout from the GIT source repository is not ready to configure
and compile. You will need the GNU autotools
(https://en.wikipedia.org/wiki/GNU_build_system) to create the
./configure script and Makfile templates. Once the autotools are
installed the full build procedure is:
autoreconf --install
./configure
make
make install
因此,您似乎需要运行autoreconf --install
而不是简单的autoconf
。或者,您可以考虑使用linpac-0.20
,它似乎是最新的发行版本。