General Discussion

Flat
Error attempting to install HTK
User: emcp333
Date: 7/22/2015 1:34 am
Views: 12023
Rating: 0

While starting to try Jasper, I've decided to go with Julius.  I've gotten stuck installing on ArchLinux, where the makeHTK.sh comes in..

[]$ sh makeHTK.sh 
make: *** No rule to make target 'clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'clean'.  Stop.
make: *** No targets specified and no makefile found.  Stop.
***HTK make completed***

I then edited the script in hopes it was a simple fix to point make towards these `Makefile.in`s

make -f Makefile.in clean
make -f Makefile.in

but that yielded different subsequent errors.. thoughts?

 

[]$ sh makeHTK.sh 
rm -f @HGRAF@ esig_asc.o esig_edr.o esignal.o esig_nat.o HAdapt.o HArc.o HAudio.o HDict.o HExactMPE.o HFB.o HFBLat.o HLabel.o HLat.o HLM.o HMap.o HMath.o HMem.o HModel.o HNet.o HParm.o HRec.o HShell.o HSigP.o HTrain.o HUtil.o HVQ.o HWave.o strarr.o  @[email protected] esig_asc.lv.o esig_edr.lv.o esignal.lv.o esig_nat.lv.o HAdapt.lv.o HArc.lv.o HAudio.lv.o HDict.lv.o HExactMPE.lv.o HFB.lv.o HFBLat.lv.o HLabel.lv.o HLat.lv.o HLM.lv.o HMap.lv.o HMath.lv.o HMem.lv.o HModel.lv.o HNet.lv.o HParm.lv.o HRec.lv.o HShell.lv.o HSigP.lv.o HTrain.lv.o HUtil.lv.o HVQ.lv.o HWave.lv.o strarr.lv.o  HTKLib.a HTKLiblv.a
make: *** No rule to make target '@HGRAF@', needed by 'HTKLib.a'.  Stop.
rm -f *.o 
make: *** No rule to make target '@HSLAB@', needed by 'all'.  Stop.
rm -f LModel.o LPMerge.o LPCalc.o LUtil.o LWMap.o LCMap.o LGBase.o HLMLib.a
make: CC@: Command not found
<builtin>: recipe for target 'LModel.o' failed
make: *** [LModel.o] Error 127
Makefile.in:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
Makefile.in:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
***HTK make completed***
[emcp@alarmpi htk-3.2.1]$  

--- (Edited on 7/22/2015 1:34 am [GMT-0500] by emcp333) ---

Re: Error attempting to install HTK
User: kmaclean
Date: 7/22/2015 10:46 am
Views: 497
Rating: 0

This might help - from the VoxForge Tutorial:

If you get the following error

make[1]: Entering directory `/home/username/voxforge/bin/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
make[1]: Leaving directory `/home/username/voxforge/bin/htk/HLMTools'

 

you need to fix a minor bug in an HTK Makefile

$ gedit /home/username/voxforge/bin/htk/HLMTools/Makefile

mkinstalldir:
        if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi

find line 77

and replace the leading spaces with a tab (make sure your editor acutally puts in a tab character), and re-run make.

--- (Edited on 7/22/2015 11:46 am [GMT-0400] by kmaclean) ---

Re: Error attempting to install HTK
User: emcp333
Date: 7/30/2015 8:31 pm
Views: 24
Rating: 0

I was linked to a certain set of instructions to install, but NOW I find there are in fact two pages with instructions.. and they differ.  Anyone know why?


The initial instructions I tried here, didn't work (v3.2.1) :

http://www.voxforge.org/home/dev/acousticmodels/linux/adapt/htkjulius/download-htk

These second instructions are successfully building (v3.4.1)

http://www.voxforge.org/home/dev/acousticmodels/linux/create/htkjulius/tutorial/download 

Can someone figure out how to cleanup the site and make it a bit clearer on how to get started? 

--- (Edited on 7/30/2015 8:31 pm [GMT-0500] by emcp333) ---

Re: Error attempting to install HTK
User: kmaclean
Date: 7/31/2015 8:20 am
Views: 55
Rating: 0

From the VoxForge develop page:

--- (Edited on 7/31/2015 5:08 pm [GMT-0400] by kmaclean) ---

Re: Error attempting to install HTK
User: Visitor
Date: 7/31/2015 2:40 pm
Views: 56
Rating: 0

So 3.4.1 is the latest then?

Can those old instructions be moved/cleared up then?  They're making it confusing.  Secondly I see a new download link to getting started as well.

 

First download link I used was to a UK based URL,  second one is http://www.repository.voxforge1.org/downloads/Main/Tags/Releases/0.9.0/Julius-4.3.1-Quickstart-Linux_(0.9.0).tgz

I will retry the instructions with this new tar file, but I'd reiterate a request that the instructions be cleaned up, and all old instructions/links to binaries be deprecated.

 

Thank you, 

--- (Edited on 7/31/2015 2:40 pm [GMT-0500] by Visitor) ---

Re: Error attempting to install HTK
User: kmaclean
Date: 7/31/2015 4:09 pm
Views: 672
Rating: 0

>Can those old instructions be moved/cleared up then? 

one set is for *training* an acoustic model from scratch with HTK. 

The second set is for *adapting* a pre-existing acoustic model to your voice.

As it states on the page pointed to by the link:

Note: This Tutorial uses HTK release 3.2.1 because there are problems with adaptation using HTK release 3.3 (see Ticket #41 for details).

Julius works with models trained with either HTK release 3.2.1 or HTK release 3.3.

 

--- (Edited on 7/31/2015 5:09 pm [GMT-0400] by kmaclean) ---

Re: Error attempting to install HTK
User: emcp333
Date: 7/30/2015 8:32 pm
Views: 188
Rating: 1

My makefile looked a little different :

 

SUBDIRS = $(HTKLIB) $(HLMLIB) $(HTKTOOLS) $(HLMTOOLS) $(LVREC) $(BOOK)
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =

--- (Edited on 7/30/2015 8:33 pm [GMT-0500] by emcp333) ---

Re: Error attempting to install HTK
User: Cat
Date: 11/3/2015 7:54 pm
Views: 557
Rating: 0

I had the exact same error as you in the config.log.

 

Any clue where to hit the tab button?

 

After the _FILES=?

And than rerun make?

 

 

 

--- (Edited on 11/3/2015 7:54 pm [GMT-0600] by Visitor) ---

Re: Error attempting to install HTK
User: Zt291245
Date: 11/9/2015 10:17 pm
Views: 5960
Rating: 1

Using a text editor; go to line 77 of the htk/makefile and place your cursor just before the i in if, backspace until it is in line with the m in mkinstalldir. Than once it is lined up with the m than hit the <TAB> key one time.

mkinstalldir:
        if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi

 

Than re-run make.Cool

--- (Edited on 11/9/2015 10:17 pm [GMT-0600] by Visitor) ---

PreviousNext