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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #61.
As wrong as possible : yum cannot unpack an SRPM ( sphinxbase-0.8-9.fc22.src.rpm ).
And there are no rpm packages in Downloads/ to install with yum ?
See #60 : Unpack sphinxbase+pocketsphinx-el7.tar
# cd sphinxbase+pocketsphinx-el7/ && yum install *sphinx*.rpm
Re #62. Looks like you are (still) using an alien version of pocketsphinx :
/usr/local/include/pocketsphinx/pocketsphinx.h
Better uninstall that version, and install the rpm`s from "sphinxbase+pocketsphinx-el7/".
---> Package pocketsphinx-devel.x86_64 0:0.8-9.el7.centos will be installed
---> Package pocketsphinx-libs.x86_64 0:0.8-9.el7.centos will be installed
---> Package pocketsphinx-plugin.x86_64 0:0.8-9.el7.centos will be installed
---> Package pocketsphinx-python.x86_64 0:0.8-9.el7.centos will be installed
---> Package sphinxbase.x86_64 0:0.8-9.el7.centos will be installed
---> Package sphinxbase-devel.x86_64 0:0.8-9.el7.centos will be installed
--> Processing Dependency: pkgconfig(libpulse) for package: sphinxbase-devel-0.8-9.el7.centos.x86_64
---> Package sphinxbase-libs.x86_64 0:0.8-9.el7.centos will be installed
---> Package sphinxbase-python.x86_64 0:0.8-9.el7.centos will be installed
--> Running transaction check
---> Package atlas.x86_64 0:3.10.1-7.el7 will be installed
---> Package pocketsphinx.x86_64 0:0.8-9.el7.centos will be installed
--> Processing Dependency: pocketsphinx-models for package: pocketsphinx-0.8-9.el7.centos.x86_64
---> Package pulseaudio-libs-devel.x86_64 0:3.0-30.el7 will be installed
--> Finished Dependency Resolution
Error: Package: pocketsphinx-0.8-9.el7.centos.x86_64 (/pocketsphinx-0.8-9.el7.centos.x86_64)
Requires: pocketsphinx-models
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Re #65.
Well, the packages created from the bug fixed Fedora 22 SRPMS are working, that we know.
And there seems to be issues with the manually created *sphinx* you have in /usr/local/.
The other directories in /usr/local are sbin, which is empty.
Than there is etc, games, include, lib, lib64, libexec, share, and src.
I'll look through those directories and see if anything seems not right.
Creating this file in Vi solved that problem. I moved it to /usr/include:-
Code:
pocketsphinx_export.h
Still another compile error.
Code:
/usr/include/pocketsphinx/pocketsphinx.h:60:25: fatal error: cmdln_macro.h: No such file or directory
#include <cmdln_macro.h>
^
compilation terminated.
The truth is that cmdlin_macro.h that the build is barking about is a src file.
In which I think I need to re-install the /pocketsphinx-5prealpha.tar.gz I had to begin with as that's where all of the src files are for the build to be satisfied.
This is trial and error and I'll just have to keep trying-
***All I can say is Simon is a BEAST!***
I've had more compilation termination errors with Centos 7 than I did with Slackware.
I'm still getting errors with the build.sh.
I've found a remedy but it's slow going.
For each error I have, I have to copy and paste the src file that's missing from the CMU website and than mv it to the /usr/include directory.
Once the src files that are missing are in the include directory I'm thinking the build script will run properly and Simon should install. So I thought-
Now I'm getting errors that I don't understand so I may not be able to install Simon on this Centos box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.