htk in ubuntu “make all” 错误 “Nothing to be done for ‘all’.”错误
htk in ubuntu “make all” error “Nothing to be done for `all'.” error
大家好,实际上我正在尝试在 Ubuntu 14.04.3 上安装 htk。
我按照 this tutorial and I also followed this 做了同样的事情,但是当我尝试给出 "make all" 命令时我仍然遇到错误。
exepaul@ubuntu:~/voxforge/bin/htk$ make all
(cd HTKTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/exepaul/voxforge/bin/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/exepaul/voxforge/bin/htk/HTKTools'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/exepaul/voxforge/bin/htk/HLMTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/exepaul/voxforge/bin/htk/HLMTools'
我已经安装了所有 32 个库,我也在修改 make 文件中的第 77 行,但仍然面临错误
我的 make 文件是
# -----------------------------------------------------------
#
# ___
# |_| | |_/ SPEECH
# | | | | \ RECOGNITION
# ========= SOFTWARE
#
#
# -----------------------------------------------------------
# Copyright: Cambridge University
# 1995-2006 Engineering Department
# http://htk.eng.cam.ac.uk
# http://mi.eng.cam.ac.uk
#
# Use of this software is governed by a License Agreement
# ** See the file License for the Conditions of Use **
# ** This banner notice must not be removed **
#
# -----------------------------------------------------------
# File: Makefile. Generated from Makefile.in by configure.
# -----------------------------------------------------------
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /home/exepaul/voxforge/bin/htk
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/share/info
mandir = ${prefix}/share/man
includedir = ${prefix}/include
oldincludedir = /usr/include
CC = gcc
CPPFLAGS =
CFLAGS = $(CPPFLAGS) -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2
LDFLAGS = -L/usr/X11R6/lib
LIBS = -lm -lX11
INSTALL = /usr/bin/install -c
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
transform = s,x,x,
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
HTKLIB = HTKLib
HLMLIB = HLMLib
HTKTOOLS = HTKTools
HLMTOOLS = HLMTools
LVREC = HTKLVRec
HTKBOOK = HTKBook
SUBDIRS = $(HTKLIB) $(HLMLIB) $(HTKTOOLS) $(HLMTOOLS) $(LVREC) $(BOOK)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_COMMON = README ChangeLog Makefile.am \
Makefile.in aclocal.m4 configure configure.ac install-sh missing \
mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
.SUFFIXES:
# build rules
all: htktools hlmtools
$(HTKLIB)/HTKLib.a:
(cd $(HTKLIB) && $(MAKE) HTKLib.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htklib: $(HTKLIB)/HTKLib.a
$(HTKLIB)/HTKLiblv.a:
(cd $(HTKLIB) && $(MAKE) HTKLiblv.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htkliblv: $(HTKLIB)/HTKLiblv.a
$(HLMLIB)/HLMLib.a:
(cd $(HLMLIB) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmlib: $(HLMLIB)/HLMLib.a
htktools: $(HTKLIB)/HTKLib.a
(cd $(HTKTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmtools: $(HLMLIB)/HLMLib.a
(cd $(HLMTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hdecode: $(HTKLIB)/HTKLiblv.a
(cd $(LVREC) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
book:
(cd $(HTKBOOK) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
# installation
install-htktools: htktools
(cd $(HTKTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hlmtools: hlmtools
(cd $(HLMTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hdecode:
(cd $(LVREC) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-book: book
(cd $(HTKBOOK) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
clean:
/bin/rm -f *~
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) clean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
distclean: clean
/bin/rm -f Makefile config.h config.status config.cache config.log
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) distclean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
install: install-htktools install-hlmtools
docs: book
mkinstalldir:
if [! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi
.PHONY: all doc install clean distclean htklib-decode \
htktools hlmtools hdecode docs book \
install-htktools install-hlmtools install-hdecode install-book
[1]: http://aravindev.blogspot.in/2013/08/installing-htk-34-on-ubuntu-64-bit-os.html
[2]: http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/download
求助,我已经试了2天了:(
这不是有效的 Makefile
。它看起来像 Makefile.in
或 Makefile.am
应该分别由 configure
and/or automake
进一步处理,以产生实际可行的 Makefile
.
我一直在 same problems with HTK. Try running make clean
before make all
. It might be the wrong Makefile (the right one is /htk/HLMTools/Makefile
) but from the errors your receiving - which are the same as mine - running make clean
should do it. See 。
大家好,实际上我正在尝试在 Ubuntu 14.04.3 上安装 htk。 我按照 this tutorial and I also followed this 做了同样的事情,但是当我尝试给出 "make all" 命令时我仍然遇到错误。
exepaul@ubuntu:~/voxforge/bin/htk$ make all
(cd HTKTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/exepaul/voxforge/bin/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/exepaul/voxforge/bin/htk/HTKTools'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/exepaul/voxforge/bin/htk/HLMTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/exepaul/voxforge/bin/htk/HLMTools'
我已经安装了所有 32 个库,我也在修改 make 文件中的第 77 行,但仍然面临错误
我的 make 文件是
# -----------------------------------------------------------
#
# ___
# |_| | |_/ SPEECH
# | | | | \ RECOGNITION
# ========= SOFTWARE
#
#
# -----------------------------------------------------------
# Copyright: Cambridge University
# 1995-2006 Engineering Department
# http://htk.eng.cam.ac.uk
# http://mi.eng.cam.ac.uk
#
# Use of this software is governed by a License Agreement
# ** See the file License for the Conditions of Use **
# ** This banner notice must not be removed **
#
# -----------------------------------------------------------
# File: Makefile. Generated from Makefile.in by configure.
# -----------------------------------------------------------
SHELL = /bin/sh
srcdir = .
top_srcdir = .
prefix = /home/exepaul/voxforge/bin/htk
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
sbindir = ${exec_prefix}/sbin
libexecdir = ${exec_prefix}/libexec
datadir = ${prefix}/share
sysconfdir = ${prefix}/etc
sharedstatedir = ${prefix}/com
localstatedir = ${prefix}/var
libdir = ${exec_prefix}/lib
infodir = ${prefix}/share/info
mandir = ${prefix}/share/man
includedir = ${prefix}/include
oldincludedir = /usr/include
CC = gcc
CPPFLAGS =
CFLAGS = $(CPPFLAGS) -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2
LDFLAGS = -L/usr/X11R6/lib
LIBS = -lm -lX11
INSTALL = /usr/bin/install -c
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_SCRIPT = ${INSTALL}
transform = s,x,x,
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
VERSION = @VERSION@
HTKLIB = HTKLib
HLMLIB = HLMLib
HTKTOOLS = HTKTools
HLMTOOLS = HLMTools
LVREC = HTKLVRec
HTKBOOK = HTKBook
SUBDIRS = $(HTKLIB) $(HLMLIB) $(HTKTOOLS) $(HLMTOOLS) $(LVREC) $(BOOK)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_COMMON = README ChangeLog Makefile.am \
Makefile.in aclocal.m4 configure configure.ac install-sh missing \
mkinstalldirs
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
.SUFFIXES:
# build rules
all: htktools hlmtools
$(HTKLIB)/HTKLib.a:
(cd $(HTKLIB) && $(MAKE) HTKLib.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htklib: $(HTKLIB)/HTKLib.a
$(HTKLIB)/HTKLiblv.a:
(cd $(HTKLIB) && $(MAKE) HTKLiblv.a) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
htkliblv: $(HTKLIB)/HTKLiblv.a
$(HLMLIB)/HLMLib.a:
(cd $(HLMLIB) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmlib: $(HLMLIB)/HLMLib.a
htktools: $(HTKLIB)/HTKLib.a
(cd $(HTKTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hlmtools: $(HLMLIB)/HLMLib.a
(cd $(HLMTOOLS) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
hdecode: $(HTKLIB)/HTKLiblv.a
(cd $(LVREC) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
book:
(cd $(HTKBOOK) && $(MAKE) all) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
# installation
install-htktools: htktools
(cd $(HTKTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hlmtools: hlmtools
(cd $(HLMTOOLS) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-hdecode:
(cd $(LVREC) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
install-book: book
(cd $(HTKBOOK) && $(MAKE) install) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac;
clean:
/bin/rm -f *~
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) clean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
distclean: clean
/bin/rm -f Makefile config.h config.status config.cache config.log
@for dir in $(SUBDIRS); do \
(cd $$dir && $(MAKE) distclean) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$$fail"
install: install-htktools install-hlmtools
docs: book
mkinstalldir:
if [! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi
.PHONY: all doc install clean distclean htklib-decode \
htktools hlmtools hdecode docs book \
install-htktools install-hlmtools install-hdecode install-book
[1]: http://aravindev.blogspot.in/2013/08/installing-htk-34-on-ubuntu-64-bit-os.html
[2]: http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/download
求助,我已经试了2天了:(
这不是有效的 Makefile
。它看起来像 Makefile.in
或 Makefile.am
应该分别由 configure
and/or automake
进一步处理,以产生实际可行的 Makefile
.
我一直在 same problems with HTK. Try running make clean
before make all
. It might be the wrong Makefile (the right one is /htk/HLMTools/Makefile
) but from the errors your receiving - which are the same as mine - running make clean
should do it. See