LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2015, 07:29 PM   #46
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 #45.

# yum install kdelibs-devel kdepimlibs-devel
 
Old 11-07-2015, 07:49 PM   #47
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 #45.

# yum install kdelibs-devel kdepimlibs-devel
kdelibs-devel and kdepimlibs-devel are installed now the konsole is complaining about qwt.

Code:
Qwt 6.x include dir not found
CMake Error at cmake/FindQwt6.cmake:106 (MESSAGE):
  Could not find Qwt 6.x
Call Stack (most recent call first):
  CMakeLists.txt:19 (find_package)


-- Configuring incomplete, errors occurred!
This is maddening knudfl- qwt is already installed-
Code:
Package qwt-6.1.1-1.el7.x86_64 already installed and latest version
Nothing to do
Quote:
Installed:
qwt-devel.x86_64 0:6.1.1-1.el7
-::- This sure is recursive-::- It's nice to have your help-

Last edited by Ztcoracat; 11-07-2015 at 07:52 PM.
 
Old 11-07-2015, 07:56 PM   #48
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
Continued on-

Code:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find ALSA (missing: ALSA_LIBRARY ALSA_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindALSA.cmake:82 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:31 (find_package)


-- Configuring incomplete, errors occurred!
Tried to install Alsa-
Code:
No package alsa available.
Error: Nothing to do
 
Old 11-07-2015, 08:01 PM   #49
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'm guessing and giving it a try. Now I need to install alsa-plugins, alsa-tools, and alsa-utils?

Here's a yum search on alsa:
Code:
alsa-plugins-samplerate.i686 : External rate converter plugin for ALSA
alsa-plugins-samplerate.x86_64 : External rate converter plugin for ALSA
alsa-plugins-upmix.i686 : Upmixer channel expander plugin for ALSA
alsa-plugins-upmix.x86_64 : Upmixer channel expander plugin for ALSA
alsa-plugins-usbstream.i686 : USB stream plugin for ALSA
alsa-plugins-usbstream.x86_64 : USB stream plugin for ALSA
alsa-plugins-vdownmix.i686 : Downmixer to stereo plugin for ALSA
alsa-plugins-vdownmix.x86_64 : Downmixer to stereo plugin for ALSA
alsa-tools-firmware.x86_64 : ALSA tools for uploading firmware to some
                           : soundcards
alsa-utils.x86_64 : Advanced Linux Sound Architecture (ALSA) utilities
bluez-alsa.i686 : ALSA support for Bluetooth audio devices
bluez-alsa.x86_64 : ALSA support for Bluetooth audio devices
wine-alsa.x86_64 : Alsa support for wine
alsa-plugins-speex.i686 : Rate Converter Plugin Using Speex Resampler
alsa-plugins-speex.x86_64 : Rate Converter Plugin Using Speex Resampler
python-qalsadi.noarch : Arabic Morpholocgical Analyzer
Would the next step be to tell yum to install all of these lis in the output?
(think I'm getting the idea here)
 
Old 11-07-2015, 10:10 PM   #50
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
Ok I solved the alsa problems.
Now Simon build.sh script is having a make error.
Can you tell me what is wrong?

Code:
/home/linuxcat/Downloads/simon-0.4.1/simonlib/simonrecognizer/sphinxrecognizer.cpp:111:43: error: too many arguments to function ‘const char* ps_get_hyp(ps_decoder_t*, int32*)’
   hyp = ps_get_hyp(decoder, &score, &uttid);
                                           ^
In file included from /home/linuxcat/Downloads/simon-0.4.1/simonlib/simonrecognizer/sphinxrecognizer.h:27:0,
                 from /home/linuxcat/Downloads/simon-0.4.1/simonlib/simonrecognizer/sphinxrecognizer.cpp:20:
/usr/local/include/pocketsphinx/pocketsphinx.h:408:13: note: declared here
 char const *ps_get_hyp(ps_decoder_t *ps, int32 *out_best_score);
             ^
make[2]: *** [simonlib/simonrecognizer/CMakeFiles/simonrecognizer.dir/sphinxrecognizer.cpp.o] Error 1
make[1]: *** [simonlib/simonrecognizer/CMakeFiles/simonrecognizer.dir/all] Error 2
make: *** [all] Error 2
 
Old 11-07-2015, 10:55 PM   #51
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 #50.
Quote:
Can you tell me what is wrong ?
Yes. You skipped building pocketsphinx rpm packages from the Fedora 22 SRPMS.
... Like Slackbuilds, the SRPMS are including bug fixing patches.
With the right rpm`s the Simon build.sh will run to { 100 % .... Password: ... }.
1)
http://dl.fedoraproject.org/pub/fedo...9.fc22.src.rpm
>>> sphinxbase-0.8-9.fc22.src.rpm
2)
http://dl.fedoraproject.org/pub/fedo...9.fc22.src.rpm
>>> pocketsphinx-0.8-9.fc22.src.rpm


One more package you may have forgotten : Qt4 WebKit : # yum install qtwebkit-devel


-

Last edited by knudfl; 11-07-2015 at 11:02 PM.
 
1 members found this post helpful.
Old 11-07-2015, 11:13 PM   #52
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 #50.

Yes. You skipped building pocketsphinx rpm packages from the Fedora 22 SRPMS.
... Like Slackbuilds, the SRPMS are including bug fixing patches.
With the right rpm`s the Simon build.sh will run to { 100 % .... Password: ... }.
1)
http://dl.fedoraproject.org/pub/fedo...9.fc22.src.rpm
>>> sphinxbase-0.8-9.fc22.src.rpm
2)
http://dl.fedoraproject.org/pub/fedo...9.fc22.src.rpm
>>> pocketsphinx-0.8-9.fc22.src.rpm


One more package you may have forgotten : Qt4 WebKit : # yum install qtwebkit-devel


-
Qtwebkit-devel is installed.


Code:
[root@localhost Downloads]# yum install pocketsphinx-0.8-9.fc22.src.rpm
Loaded plugins: fastestmirror, langpacks
Examining pocketsphinx-0.8-9.fc22.src.rpm: pocketsphinx-0.8-9.fc22.src
Cannot add package pocketsphinx-0.8-9.fc22.src.rpm to transaction. Not a compatible architecture: src
Error: Nothing to do
Do I have to extract the src.rpm?
 
Old 11-07-2015, 11:29 PM   #53
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 #52.

Please read post #36.

1) Important : Setting up the rpm-build environment in /home/zebracat/ :
http://www.linuxquestions.org/questi...1-a-766486/#13

2) Unpack the sources : $ rpm -Uvh <package>.src.rpm


-
 
1 members found this post helpful.
Old 11-07-2015, 11:40 PM   #54
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 #52.

Please read post #36.

1) Important : Setting up the rpm-build environment in /home/zebracat/ :
http://www.linuxquestions.org/questi...1-a-766486/#13

2) Unpack the sources : $ rpm -Uvh <package>.src.rpm


-
If I understand correctly I need to make these two directories.

Code:
mkdir -p --verbose $HOME/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp} &&
mkdir -p --verbose $HOME/rpms/RPMS/{athlon,i386,i486,i586,i686,noarch}
I don't understand this or what to do with it:
Code:
_topdir     /home/<username>/rpms

%_tmppath     %{_topdir}/tmp
I know you said to make in /home/linuxcat but that's all I understand aside from making those 2 directories.
When would I type the %topdir "etc"...? After I make the dir's?

Last edited by Ztcoracat; 11-07-2015 at 11:51 PM.
 
Old 11-07-2015, 11:57 PM   #55
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 #54.

Just type 'mkdir -p --verbose $HOME/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp} &&
mkdir -p --verbose $HOME/rpms/RPMS/{athlon,i386,i486,i586,i686,noarch}'
... to have all ~13 directories created.

And the file .rpmmacros : $ gedit .rpmmacros
... And enter the text into the editor ...
Code:
%_topdir     /home/linuxcat/rpms

%_tmppath     %{_topdir}/tmp

-

Last edited by knudfl; 11-07-2015 at 11:59 PM.
 
Old 11-07-2015, 11:59 PM   #56
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
Think I got it right-

Code:
[linuxcat@localhost ~]$ mkdir -p --verbose $HOME/rpms/{BUILD,RPMS,SOURCES,SPECS,SRPMS,tmp} &&
> mkdir -p --verbose $HOME/rpms/RPMS/{athlon,i386,i486,i586,i686,noarch}
mkdir: created directory ‘/home/linuxcat/rpms’
mkdir: created directory ‘/home/linuxcat/rpms/BUILD’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS’
mkdir: created directory ‘/home/linuxcat/rpms/SOURCES’
mkdir: created directory ‘/home/linuxcat/rpms/SPECS’
mkdir: created directory ‘/home/linuxcat/rpms/SRPMS’
mkdir: created directory ‘/home/linuxcat/rpms/tmp’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/athlon’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/i386’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/i486’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/i586’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/i686’
mkdir: created directory ‘/home/linuxcat/rpms/RPMS/noarch’
[linuxcat@localhost ~]$
Now type the argument that starts with the %...?
 
Old 11-08-2015, 12:09 AM   #57
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 #56.

What do mean by type ? Just copy / paste the text to the editor (any editor.)
 
Old 11-08-2015, 12:12 AM   #58
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
Code:
[root@localhost Downloads]# rpm -Uvh pocketsphinx-0.8-9.fc22.src.rpm
warning: pocketsphinx-0.8-9.fc22.src.rpm: Header V3 RSA/SHA256 Signature, key ID 8e1431d5: NOKEY
Updating / installing...
   1:pocketsphinx-0.8-9.fc22          ################################# [100]
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Not sure what that's means-

I used gedit to add those strings to the file .rpmmacros so that's done.

bb have to go to work-

Last edited by Ztcoracat; 11-08-2015 at 12:27 AM.
 
Old 11-08-2015, 12:28 AM   #59
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 #3.
Quote:
warning: group mockbuild does not exist - using root
It's a message hidden in the cpio file archiver.
Warnings are to be ignored.
Unpack a thousand SRPMS and watch similar warnings.
( Unless you are a Redhat packager, and have a group by name mockbuild.)
 
Old 11-08-2015, 08:28 AM   #60
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 sphinxbase, pocketsphinx :
I got ~500 packages installed yesterday for BuildRequires. ( Lots of tex-latex etc.)
You can save some time by not building the rpms :
I uploaded the rpm packages as sphinxbase+pocketsphinx-el7.tar
https://drive.google.com/file/d/0B7S...ew?usp=sharing
... All the packages in one tar file ...
$ cd sphinxbase+pocketsphinx-el7/
# yum install *sphinx*.rpm
... then the (fewer) dependencies will be installed automatically.


-

Last edited by knudfl; 11-08-2015 at 08:32 AM.
 
  


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 10:17 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