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
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
11-04-2015, 09:26 PM
#31
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Quote:
Originally Posted by
Emerson
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
Yes
But where?
See the screenshot.
11-05-2015, 05:28 AM
#32
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Re #30.
The image shows htk/Makefile.
Your errors are in htk/HLMTools/Makefile.in . ( Read post #5 )
Please edit before configuring. If you forgot that, please edit HLMTools/Makefile.
-
11-05-2015, 04:05 PM
#33
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Quote:
Originally Posted by
knudfl
Re #30.
The image shows htk/Makefile.
Your errors are in htk/HLMTools/Makefile.in . ( Read post #5 )
Please edit before configuring. If you forgot that, please edit HLMTools/Makefile.
-
Got is sorry I missed it and was in the wrong file.
Here is a picture of htk/HLMTOOLs/Makefile.
http://i1052.photobucket.com/albums/...50040%20PM.png
I went to the i in if on line 77 and hit the backspace 8 times.
Than I hit the TAB key once.
Is this file right now?
11-05-2015, 05:05 PM
#34
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Re #33.
Please do $ make , in the top directory, htk/, and watch.
11-05-2015, 06:02 PM
#35
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
I ran make and as root 'make install'
Code:
bash-4.2$ cd /home/zebracat/voxforge/bin/htk/
bash-4.2$ make
(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'
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o Cluster -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib Cluster.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
Cluster.c: In function 'get_space':
Cluster.c:1601:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((int)block+(int)size) >= (int)block_end) {
^
Cluster.c:1601:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (((int)block+(int)size) >= (int)block_end) {
^
Cluster.c:1603:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
block_end = (void *) ((int)block+(int)block_grab_size);
^
Cluster.c:1603:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
block_end = (void *) ((int)block+(int)block_grab_size);
^
Cluster.c:1608:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
block = (void*) ((int) block + (int) size); /* Next free byte */
^
Cluster.c:1608:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
block = (void*) ((int) block + (int) size); /* Next free byte */
^
Cluster.c:1609:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
block = (void*) ((((int)block)+3) & (~(int)3)); /* Word-align */
^
Cluster.c:1609:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
block = (void*) ((((int)block)+3) & (~(int)3)); /* Word-align */
^
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 Cluster /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o HLMCopy -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib HLMCopy.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 HLMCopy /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LAdapt -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LAdapt.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LAdapt /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LBuild -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LBuild.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LBuild /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LFoF -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LFoF.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LFoF /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LGCopy -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LGCopy.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LGCopy /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LGList -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LGList.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LGList /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LGPrep -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LGPrep.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LGPrep /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LLink -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LLink.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LLink /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LMerge -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LMerge.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LMerge /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LNewMap -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LNewMap.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LNewMap /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LNorm -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LNorm.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LNorm /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LPlex -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LPlex.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
LPlex.c: In function 'LinkEquiv':
LPlex.c:332:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
eq->aux = (Ptr) (nWords + unkEquiv);
^
LPlex.c:335:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
eqId[(int) eq->aux] = cl;
^
LPlex.c: In function 'Initialise':
LPlex.c:382:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(*wid)->aux = (Ptr) (i+1);
^
LPlex.c:396:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
lab->aux = (Ptr) (++nWords);
^
LPlex.c:407:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
lab->aux = (Ptr) (++nWords);
^
LPlex.c:421:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
ndx = ((int) lab->aux) - 1;
^
LPlex.c:432:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
ndx = ((int) lab->aux) - 1;
^
LPlex.c:462:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
nid = na[(int) ((*wid)->aux)] = GetNameId(li->lm->classH, (*wid)->name, FALSE);
^
LPlex.c:466:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
nid = na[(int) ((*wid)->aux)] = GetNameId(li->lm->htab, (*wid)->name, FALSE);
^
LPlex.c:479:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if (l2nId[i][(int) ((*wid)->aux)]!=NULL)
^
LPlex.c:488:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
eqId[(int) ((*wid)->aux)] = NULL;
^
LPlex.c:347:15: warning: variable 'nid' set but not used [-Wunused-but-set-variable]
NameId *na,nid;
^
LPlex.c: In function 'GetEQLab':
LPlex.c:619:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((cl = (LabId) eqId[(int) (id->aux)])==NULL)
^
LPlex.c: In function 'GetProb':
LPlex.c:642:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((nGram[j] = l2nId[0][(int) (wlab[j]->aux)])==NULL)
^
LPlex.c:659:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((nGram[j] = l2nId[i][(int) (wlab[j]->aux)])==NULL)
^
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LPlex /usr/local/bin ; fi
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
gcc -o LSubset -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I../HTKLib -I../HLMLib LSubset.c ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -L/usr/X11R6/lib ../HTKLib/HTKLib.a ../HLMLib/HLMLib.a -lm
if [ X_ = X_yes ] ; then /usr/bin/ginstall -c -m 755 LSubset /usr/local/bin ; fi
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HLMTools'
bash-4.2$ su
Password:
bash-4.2# make install
(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 HTKTools && make install) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HTKTools'
if [ ! -d /usr/local/bin ] ; then mkdir /usr/local/bin ; fi
for program in HSLab HBuild HCompV HCopy HDMan HERest HHEd HInit HLEd HList HLRescore HLStats HMMIRest HParse HQuant HRest HResults HSGen HSmooth HVite ; do /usr/bin/ginstall -c -m 755 ${program} /usr/local/bin ; done
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'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HLMTools'
(cd HLMTools && make install) \
|| case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/zebracat/voxforge/bin/htk/HLMTools'
if [ ! -d /usr/local/bin -a X_ = X_yes ] ; then mkdir -p /usr/local/bin ; fi
for program in Cluster HLMCopy LAdapt LBuild LFoF LGCopy LGList LGPrep LLink LMerge LNewMap LNorm LPlex LSubset ; do /usr/bin/ginstall -c -m 755 ${program} /usr/local/bin ; done
make[1]: Leaving directory `/home/zebracat/voxforge/bin/htk/HLMTools'
bash-4.2#
11-05-2015, 06:43 PM
#37
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Quote:
Originally Posted by
knudfl
Thank you for the instructions for CentOS. I'll work on that tomorrow.
I'm rebooting to see if HTK was installed. I'm assuming it is installed as I didn't have any errors.
11-05-2015, 08:11 PM
#38
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
HTK is installed!
I'll let you know how things go with qaccessibilityclient on my Centos box tomorrow.-
11-06-2015, 09:16 PM
#39
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Hi:
qaccessibilityclient and qacessibilityclient-devel is installed.
I still have other dependencies to install (libqt4, sphinxbase, pocketspinx, opencv and qwt) but I'm taking a break.
11-07-2015, 04:50 PM
#41
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Quote:
Originally Posted by
knudfl
All of those pkg's are installed now.-
Now the cmake file is giving me a problem. Why?
Code:
[linuxcat@localhost ~]$ cd /home/linuxcat/Downloads/simon-0.4.1/
[linuxcat@localhost simon-0.4.1]$ su
Password:
[root@localhost simon-0.4.1]# ./build.sh
./build.sh: line 6: cmake: command not found
[root@localhost simon-0.4.1]#
Is something wrong with line 6 of the cmake file?
11-07-2015, 05:38 PM
#43
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516
Re #42.
Quote:
./build.sh: line 6: cmake: command not found
# yum install cmake
I ran a test with Simon / CentOS7 this morning : OpenCV not found.
.. All possible? locations were tried for OpenCVConfig.cmake : OpenCV not found.
-
Last edited by knudfl; 11-07-2015 at 05:58 PM .
11-07-2015, 07:13 PM
#44
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Quote:
Originally Posted by
knudfl
Re #42.
# yum install cmake
I ran a test with Simon / CentOS7 this morning : OpenCV not found.
.. All possible? locations were tried for OpenCVConfig.cmake : OpenCV not found.
-
Thanks I didn't know that cmake wasn't installed.
Code:
Installing : cmake-2.8.11-4.el7.x86_64 1/1
Verifying : cmake-2.8.11-4.el7.x86_64 1/1
Installed:
cmake.x86_64 0:2.8.11-4.el7
Complete!
[root@localhost linuxcat]# yum install opencv
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.cs.pitt.edu
* epel: mirror.symnds.com
* extras: mirror.raystedman.net
* nux-dextop: mirror.li.nux.ro
* updates: bay.uchicago.edu
Package opencv-2.4.5-3.el7.x86_64 already installed and latest version
Nothing to do
Installing opencv with yum worked great for me on CentOS 7.
You could always go get the opencv .zip and install it manually.
The opencv 3.0.0.zip is here:
http://opencv.org/
Hope that helps.
11-07-2015, 07:20 PM
#45
LQ Guru
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Original Poster
Is there something KDE missing?
I already installed KDE lib's-
Code:
[root@localhost simon-0.4.1]# ./build.sh
CMake Error at /usr/share/cmake/Modules/FindKDE4.cmake:98 (message):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/root/.kde/share/apps;/usr/share/kde-settings/kde-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:17 (find_package)
-- Configuring incomplete, errors occurred!
All times are GMT -5. The time now is 01:35 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News