![无法使用 tar.gz 存档从源安装应用程序](https://linux22.com/image/1038072/%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%20tar.gz%20%E5%AD%98%E6%A1%A3%E4%BB%8E%E6%BA%90%E5%AE%89%E8%A3%85%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F.png)
我尝试按照以下步骤安装 utimer (https://launchpad.net/utimer)。
$ tar -zvxf utimer-0.4.tar.gz
$ cd utimer-0.4
/utimer-0.4$ ./configure
/utimer-0.4$ ls
aclocal.m4 autogen.sh config.h.in configure COPYING depcomp INSTALL Makefile.am Makefile.in mkinstalldirs po README.in
AUTHORS ChangeLog config.log configure.ac data Doxyfile install-sh Makefile.decl missing NEWS README src
/utimer=0.4$ make
make: *** No targets specified and no makefile found.
我该怎么办?
还尝试过,
/utimer-0.4$ ./autogen.sh
========= Preparing uTimer ============
======== Running autoreconf ===========
./autogen.sh: line 3: autoreconf: command not found
安装了 autoconf。它安装了 4 个新软件包 -autoconf
automake
autotools-dev
m4
但我收到另一个错误。
========= Preparing uTimer ============
======== Running autoreconf ===========
Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 196.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 196.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
aclocal: couldn't open directory `m4': No such file or directory
autoreconf: aclocal failed with exit status: 1
当没有生成“makefile”时应该如何处理?
谢谢。
答案1
尝试按照以下步骤安装 autoreconf:
sudo apt-get install autoconf
答案2
sudo apt-get install libtool
(为了libtoolize
)