无法使用 tar.gz 存档从源安装应用程序

无法使用 tar.gz 存档从源安装应用程序

我尝试按照以下步骤安装 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

相关内容