[Subject Prev][Subject Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hts-users:02132] Re: Problem to install HTS on Linux


Thanks Nickolay.

I downloaded the HTK-3.4 and the patch command worked, but when I tried compile a error occurred in HSLab. Any idea?

(cd HTKTools && make all) \
          || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/04080004701/Speech/HTK-3.4/HTKTools'
if [ ! -d /home/04080004701/htkTools/bin -a X_ = X_yes ] ; then mkdir -p /home/04080004701/htkTools/bin ; fi
if [ xHSLab = xHSLab ] ; then \
                gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN  HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
        elif [ xHSLab = xHMGenS ] ; then \
                gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN  HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm  -L/usr/lib/gcc/i486-linux-gnu/3.4.6 -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../../../lib -L/usr/lib/gcc/i486-linux-gnu/3.4.6/../../.. -L/lib/../lib -L/usr/lib/../lib -lfrtbegin -lg2c -lm -lX11 -lgcc_s ; \
                else \
                gcc -o HSLab -I../HTKLib -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -D_HAS_FORTRAN  HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
/tmp/cc10iJkL.o: In function `main':
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:372: undefined reference to `ResetGraf'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:373: undefined reference to `ResetAudio'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:374: undefined reference to `ResetLabel'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:375: undefined reference to `ResetWave'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:376: undefined reference to `ResetMath'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:377: undefined reference to `ResetMem'
/home/04080004701/Speech/HTK-3.4/HTKTools/HSLab.c:378: undefined reference to `ResetShell'
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory `/home/04080004701/Speech/HTK-3.4/HTKTools'
make: *** [htktools] Error 1



2009/7/24 Nickolay V. Shmyrev <nshmyrev@xxxxxxxxx>
В Чтв, 23/07/2009 в 15:22 -0300, Igor пишет:
> Hi,
>
> I need install HTS on linux, but many things fails when I patched.
>
> 1. I extracted and installed HTK 3.4.1 and HDecode 3.4.1. Apparently,
> works fine.
>
> % tar -zxvf HTK-3.4.tar.gz
> % tar -zxvf HDecode-3.4.tar.gz
> % cd htk
> % ./configure --prefix=/my/path
> % make all
> % make install
> % make hdecode
> % make install-hdecode
>
> 2. I tried running HTKDemo and it works fine too.
>
> 3. I unzipped HTS-2.0.1 for HTK 3.4.1 into htk folder and tried:
>
> % patch -p1 -d . < HTS-2.1_for_HTK-3.4.patch
> patching file HLMLib/Makefile.in
> patching file HTKLVRec/HDecode.c
> Hunk #1 FAILED at 27.
> Hunk #2 succeeded at 285 (offset 5 lines).

> 4. When I try recompile again, error messages appear and HTS doesnt
> install.

Hello

It really looks you are trying to patch wrong version. HTK 3.4.1 and HTK
3.4 are different, make sure you are trying the correct one.





--
Eng. Igor Costa do Couto
Engenharia da Computação - UFPa
LaPS - UFPa
igorcouto@xxxxxxxxx
Skype: iccouto


Follow-Ups
[hts-users:02133] Re: Problem to install HTS on Linux, Nickolay V. Shmyrev
References
[hts-users:02116] Problem to install HTS on Linux, Igor
[hts-users:02130] Re: Problem to install HTS on Linux, Nickolay V. Shmyrev