Providing CFLAGS as an argument to configure also does not seem to work. This is the output of configure with default options,whereas for HTS2.3 beta is just says,The config.status for HTS2.2 has the followingHi,Yes the CFLAGS does not seem to be able to save the 64 bit architecture.
S["CFLAGS"]="-ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH=\"x86_64\"' -Wall -Wno-switch -g -O2"
S["CFLAGS"]="-Wall -Wno-switch -g -O2"
checking whether make sets $(MAKE)... yes
checking for gawk... no
checking for mawk... mawk
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for ar... ar
checking for main in -lX11... yes
checking for main in -lm... yes
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for working strtod... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for modf... yes
checking for pow... yes
checking for socket... yes
checking for sqrt... yes
checking for strchr... yes
checking for strcspn... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strdup... yes
checking whether byte ordering is bigendian... no
checking size of int *... 8
configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING: 'HTKLib/Makefile.in' seems to ignore the --datarootdir settingRegards and thanksconfig.status: creating HTKTools/MakefileWhat could be the problem?
config.status: WARNING: 'HTKTools/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating HLMLib/Makefile
config.status: WARNING: 'HLMLib/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating HLMTools/Makefile
config.status: WARNING: 'HLMTools/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating HTKLVRec/Makefile
config.status: WARNING: 'HTKLVRec/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating Makefile
config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
**************************************************
HTK is now ready to be built.
Type "make all" to build the HTK libraries
and tools.
Then "make install" to install them.
The tools will be installed in /usr/local/HTS-2.3beta/bin
Build notes: The Language Modelling tools will
not be built. You can build them manually later
by running 'make hlmtools install-hlmtools'
HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'
**************************************************On Wed, Feb 25, 2015 at 3:45 PM, dina-a-a <dina-a-a@hotmail.com> wrote:HelloI 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 KurpadDate:02/25/2015 9:58 AM (GMT+00:00)Subject: [hts-users:04227] Problem installing HTS2.3-beta
Regards,Kindly help mebut when i try to build using sudo make all/make all, the following error occursThis is a brief description of the problem. When I run ./configure, it configures fine, with warning such asHi,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.
***********************************************************
config.status: creating HTKLib/Makefile
config.status: WARNING: 'HTKLib/Makefile.in' seems to ignore the --datarootdir setting
************************************************************
************************************************************
(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
*****************************************************
--
Praneeth K NProject Associate, Spectrum Lab,Department of Electrical Engineering,Indian Institute of Science, Bangalore-560012
--Praneeth K NProject Associate, Spectrum Lab,Department of Electrical Engineering,Indian Institute of Science, Bangalore-560012