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

[hts-users:04229] Re: Problem installing HTS2.3-beta



Hello 
I think it is better for you to use ubuntu 12.04 it worjs perfectly with hts .
I faced many problems trying to use hts with ubuntu 14 .
Regards.


Sent from Samsung Mobile


-------- Original message --------
From: Praneeth Kurpad
Date:02/25/2015 9:58 AM (GMT+00:00)
To: hts-users@sp.nitech.ac.jp
Subject: [hts-users:04227] Problem installing HTS2.3-beta

Hi,

I am unable to patch and build HTS2.3 beta on my 64 bit machine. I am using Ubuntu 14.04. There is no problem in building HTS 2.2 for the same system.

This is a brief description of the problem. When I run ./configure, it configures fine, with warning such as

***********************************************************
config.status: creating HTKLib/Makefile
config.status: WARNING:  'HTKLib/Makefile.in' seems to ignore the --datarootdir setting

************************************************************
but when i try to build using sudo make all/make all, the following error occurs

************************************************************

(cd HTKLib && make HTKLib.a) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/spectrumlab/Desktop/newinst/htk/HTKLib'
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c
HGraf.c: In function ‘DecodeKeyPress’:
HGraf.c:230:8: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
    int n;
        ^
HGraf.c: In function ‘HGetEvent’:
HGraf.c:272:18: warning: variable ‘dummy’ set but not used [-Wunused-but-set-variable]
    Boolean found,dummy;
                  ^
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_asc.o esig_asc.c
esig_asc.c: In function ‘ReadAsciiEscape’:
esig_asc.c:2025:16: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
          fscanf(file, "%3lo", val);
                ^
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esig_edr.o esig_edr.c
esig_edr.c: In function ‘EdrReadLong’:
esig_edr.c:1192:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
                            if (hi > lmaxhi || hi == lmaxhi && lo > lmaxlo)
                                                            ^
esig_edr.c:1204:60: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
                            if (hi < lminhi || hi == lminhi && lo < lminlo)
                                                            ^
esig_edr.c: In function ‘EdrReadUlong’:
esig_edr.c:1341:56: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
                      if (hi > ulmaxhi || hi == ulmaxhi && lo > ulmaxlo)
                                                        ^
esig_edr.c: In function ‘ReadEdrRecord’:
esig_edr.c:338:25: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                   flags <<= 1;
                         ^
gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esignal.o esignal.c
In file included from /usr/include/string.h:635:0,
                 from esignal.h:34,
                 from esignal.c:29:
esignal.c: In function ‘ReadHeader’:
esignal.c:974:29: error: ‘ARCH’ undeclared (first use in this function)
    if (strcmp(architecture, ARCH) == 0)    /* native architecture */
                             ^
esignal.c:974:29: note: each undeclared identifier is reported only once for each function it appears in
esignal.c: In function ‘WriteHeader’:
esignal.c:1184:25: error: ‘ARCH’ undeclared (first use in this function)
          architecture = ARCH;
                         ^
esignal.c: In function ‘GetLine’:
esignal.c:1760:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    fgets(buf, len+1, file);
         ^
esignal.c: In function ‘GetLong’:
esignal.c:1808:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
    fgets(buf, len+1, file);
         ^
make[1]: *** [esignal.o] Error 1
make[1]: Leaving directory `/home/spectrumlab/Desktop/newinst/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1

*****************************************************

Kindly help me

Regards,

--
Praneeth K N
Project Associate, Spectrum Lab, 
Department of Electrical Engineering,
Indian Institute of Science, Bangalore-560012