Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I found a way in the tutorial how to fix the bug but I need help.
The instruction says to find line 77 and replace the leading spaces with a tab (make sure editor puts in a tab character) and than re-run make. This first set of text in the first code tags; is the example in the tutorial.
Code:
mkinstalldir:
if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi
This is what is in the /home/zebracat/voxforge/bin/htk/Makefile.in directory that's on my system.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #16.
Code:
mkinstalldir:
if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi
If / when you have 8 times space before if :
Move the marker to before the i in if and do 8 times <backspace>. Then <TAB>.
* How did you solve the "64bits issue" ?
Same issue two months ago in "the other HTK-3.4.1 thread" http://www.linuxquestions.org/questi...tk-4175555620/
Seems @jacintodavila solved the issues by using the Redhat compat-gcc-34-3.4.6.
"compat-gcc-34" was repacked to Ubuntu, replaces a gcc34 built with Eric Hameleers script.
Replaced because it couldn't compile some old software. I guess you were using the ~alien gcc34 http://www.slackware.com/~alien/slackbuilds/gcc34/ ?
mkinstalldir:
if [ ! -d $(bindir) -a X_ = X_yes ] ; then mkdir -p $(bindir) ; fi
If / when you have 8 times space before if :
Move the marker to before the i in if and do 8 times <backspace>. Then <TAB>.
* How did you solve the "64bits issue" ?
Same issue two months ago in "the other HTK-3.4.1 thread" http://www.linuxquestions.org/questi...tk-4175555620/
Seems @jacintodavila solved the issues by using the Redhat compat-gcc-34-3.4.6.
"compat-gcc-34" was repacked to Ubuntu, replaces the gcc34 built with Eric Hameleers script.
Replaced because it couldn't compile some old software. I guess you were using the ~alien gcc34 http://www.slackware.com/~alien/slackbuilds/gcc34/ ?
-
Right I agree that the backspace would work and than tab....got that.
However I did not get the string with if I had this instead-
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #20.
HTK-3.4.1 :
Works OK with compat-gcc-34 in Fedora 23 - 64bits. ($ export CC=gcc34 && ./configure)
( gcc-4.9.2 seems to be latest OK gcc for htk. No luck with the Fedora 23 gcc-5.1.1 )
? May be you can use gcc-4.8.2 :
64bits executable are created >>> Delete the -m32 in htk/configure, line 5507.
( Origins from the `CFLAGS="-m32 ....' in configure.ac line 111.)
So that's another bug, I guess. If the 64bits executable`s can do their job.
I won't be able to install Simon or HTK on my Centos box.
There isn't a qaccessibiltyclient pkg for Centos 7 that I could find.
The only rpm I found for qaccessibilityclient is for FC or Open Suse.
bash-4.2$ ./configure CC=gcc34 --prefix=/home/username/voxforge/bin/htk
checking whether make sets $(MAKE)... yes
checking for gawk... gawk
checking for gcc... gcc34
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc34 accepts -g... yes
checking for gcc34 option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for main in -lX11... yes
checking for main in -lm... yes
checking how to run the C preprocessor... gcc34 -E
checking for X... libraries /usr/lib64, headers
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/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 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 gcc34 needs -traditional... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working strtod... yes
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
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 build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
configure: creating ./config.status
config.status: creating HTKLib/Makefile
config.status: WARNING: HTKLib/Makefile.in seems to ignore the --datarootdir setting
config.status: creating HTKTools/Makefile
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 /home/username/voxforge/bin/htk/bin
Build notes: Language Modelling tools will be
built. HDecode will not be built. You can build
it manually later by running 'make hdecode
install-hdecode'
**************************************************
bash-4.2$ make all
(cd HTKTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HTKTools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HTKTools'
(cd HLMTools && make all) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HLMTools'
make: *** [hlmtools] Error 1
bash-4.2$
I checked line 77 of the makefile and it doesn't have 8 spaces missing.
Doesn't matter if I use just ./configure or ./configure CC=gcc34 --prefix=/home/username/voxforge/bin/htk; I still get the same output in the konsole as above.
What exactly does this mean?
Code:
config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.