LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-03-2015, 06:43 PM   #16
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176

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.

Code:
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
Where exactly do I hit the tab?
After the second mkinstalldirs or after the _FILES=?
 
Old 11-03-2015, 07:25 PM   #17
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
edited out note.

Last edited by jefro; 11-03-2015 at 07:28 PM.
 
Old 11-03-2015, 07:32 PM   #18
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Ideas or suggestions for post # 16 anyone?

I really need to get HTK installed.

Last edited by Ztcoracat; 11-03-2015 at 07:34 PM.
 
Old 11-03-2015, 08:44 PM   #19
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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/ ?


-

Last edited by knudfl; 11-03-2015 at 09:01 PM.
 
1 members found this post helpful.
Old 11-03-2015, 09:03 PM   #20
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by knudfl View Post
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 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-
Code:
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
Maybe changing the string in the file to what is in the tutorial is the key?
I'll toy with it and see if make works.

I haven't solved the 64 bit issue yet but I think installing:
Code:
gcc34-3.4.6-x86_64-2compat.tgz
will help.
 
Old 11-03-2015, 09:57 PM   #21
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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.


-

Last edited by knudfl; 11-03-2015 at 10:42 PM.
 
Old 11-03-2015, 10:18 PM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*

The HTK-3.4.1 test with gcc-4.8.2 in Slackware64 - 14.1 : OK, no issues.
 
Old 11-04-2015, 02:52 PM   #23
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by knudfl View Post
*

The HTK-3.4.1 test with gcc-4.8.2 in Slackware64 - 14.1 : OK, no issues.
It's not working for me on this Slack-64 box no matter what I try.

I deleted the -m32 in the configure script and it made no difference.
Installing gcc34-3.4.6-x86_64 didn't help either.

I think it is a bug-

-::-I'll install Simon on my CentOS box this evening and try to install HTK as well and let you know if I can get it working.-::-
 
Old 11-04-2015, 05:02 PM   #24
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #23.

The test build, post #22, is done with a genuine 64bits Slackware64-14.1 : No multi-lib.

? Did you reconfigure after editing line 5507 ?
 
Old 11-04-2015, 06:31 PM   #25
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Yes I reconfigured after editing line 5507.

I'll try again:-

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.
 
Old 11-04-2015, 06:54 PM   #26
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Still giving me trouble-

Code:
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.

What am I doing wrong knudfl?
 
Old 11-04-2015, 06:59 PM   #27
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Code:
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HLMTools'
Makefile:77: *** missing separator (did you mean TAB instead of 8 spaces?).  Stop.
Is this the file you edit: /home/zebracat/voxforge/bin/htk/HLMTools/Makefile
 
Old 11-04-2015, 07:05 PM   #28
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #26.

Probably read post #19.
No <space>`s are allowed in line 77. Must be replaced with a <TAB>.
"missing separator" : That one <TAB> is the "separator".


? Why are you using gcc34 ?

-
 
Old 11-04-2015, 07:07 PM   #29
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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
I removed -m32 from the script with Vi where the black flashing cursor is-
http://i1052.photobucket.com/albums/...80528%20PM.png
 
Old 11-04-2015, 07:21 PM   #30
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by knudfl View Post
Re #26.

Probably read post #19.
No <space>`s are allowed in line 77. Must be replaced with a <TAB>.
"missing separator" : That one <TAB> is the "separator".


? Why are you using gcc34 ?

-
Thought I needed gcc34 since is was part of the cmd-
I can easily rm it.

This is line 77 in the makefile:
http://i1052.photobucket.com/albums/...81838%20PM.png

Where do I need to place the cursor and hit the Tab key?
At the end of (BOOK)?
 
  


Reply

Tags
htk, htk-3.4.1



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: C++ compiler cannot create executables dicou Linux - Newbie 19 06-22-2017 04:17 PM
configure: error: C compiler cannot create executables watashiwaotaku7 Linux - General 7 10-22-2009 09:40 AM
configure: error: C compiler cannot create executables Geneset Linux - Newbie 7 07-13-2007 03:11 PM
configure error - C compiler cannot create executables MrLobster Linux - Software 1 12-24-2005 12:13 AM
configure: error: C compiler cannot create executables strimp099 Linux - Software 2 07-11-2005 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration