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 10-18-2015, 03:34 PM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Install Simon Voice Recognition Software


Hi:

I'm trying to install Simon but I have questions as I'm not use to running build scripts and after untarring there is not any mention of running ./configure, make or make install.

Here's the README file.
I get that I need to install all of the dependencies first.

Code:
Please compile Simon with the provided build.sh script.

There are the following dependencies.

Required build-time dependency:
1. KDE libraries and workspace (4.8 or newer)

Optional build-time dependencies:
1. KDE Pim Libs . Enables the optional command plugin "Akonadi" that allows
Simon to trigger commands at certain times and to use Simon dialogs as
calendar reminders.
2. LibSampleRate (http://www.mega-nerd.com/SRC/). If you build Simon with LibSampleRate support, it can
automatically resample audio in- and output for devices that don't support the
required configuration.
3. qaccessibilityclient (http://cmusphinx.sf.net://projects.kde.org/projects/playground/accessibility/libkdeaccessibilityclient). Enables the experimental ATSPI integration.
4. Sphinxbase, PocketSphinx, SphinxTrain (http://cmusphinx.sf.net). Together, they enable SPHINX support in Simon
(model compilation and recognition).
5. OpenCV (http://opencv.org). Enables the face detection and lip detection context plugins.
Here's a pic of all of the files that came with Simon:-

http://i1052.photobucket.com/albums/...40340%20PM.png

After the dependencies are installed than would I run the build.sh script?

Would I run cmake or will that run on it's own during the build?
 
Old 10-18-2015, 03:46 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you have the dependencies installed just run the build.s script, it should do all the work.
 
Old 10-18-2015, 04:00 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
And ..... the script build.sh is a text file with two commands :
Please read the "two lines" to know that it's simply running 'cmake' and make ...
 
Old 10-18-2015, 04:29 PM   #4
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 TobiSGD View Post
If you have the dependencies installed just run the build.s script, it should do all the work.

I'm on my way to downloading and installing all of the dependencies now that you've given me confirmation.

Thanks!
 
Old 10-18-2015, 04:41 PM   #5
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
And ..... the script build.sh is a text file with two commands :
Please read the "two lines" to know that it's simply running 'cmake' and make ...
The build.sh script says:
Code:
mddir build 2> /dev/null 
cd build&& cmake -DMAKE_INSTALL-PREFIX='kde4-config --prefix'..&&make && su -c 'make install && ldconfig' && kbuildsycoca4 && echo -e
So all I need to execute is:
Code:
./build.sh
right?
 
Old 10-18-2015, 04:50 PM   #6
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
Is this link the correct KDE Pim Libraries?
http://www.rpmfind.net/linux/rpm2htm...4kpimtextedit4

<OR> should I focus on this KDE page instead?
https://community.kde.org/Frameworks/Epics/kdepimlibs

-::-Generally I just go to the Slack Builds repo but some of the packages that I need are not in the Slack repo-::-
 
Old 10-18-2015, 05:06 PM   #7
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
The website that the README file gives for 'qaccessibilityclient' returns Error Not Found.

So; I'll have to convert the .rpm with rpm2tgz to get the dependency installed.

Libsamplerate-0.1.8.tar.gz has to be compiled so I have a lot of work to due before I actually install Simon.
(learning as I download the dependencies)

If I don't have the correct dependency installed will the build show me an error?
 
Old 10-18-2015, 05:18 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the date on the build.sh is june 2013

be warned
a qt5 and qt4 mixed system can be a royal pain sometimes
some qt4 code will need tweaking

qt4 allright
-- from the "CMakeLists.txt"
Code:
find_package(KDE4 "4.4" REQUIRED)
find_package(Qt4 COMPONENTS QtCore QtDbus QtGui QtTest QtXml QtScript QtConcurrent REQUIRED)
the cmake code looks to be looking for "qmake" and NOT "qmake-gt4"


make sure that you make a link to gmake-qt4 to qmake and that "qmakt-qt5" IS NOT!!! A LINK TO "qmake"
but the real qt5 qmake


/usr/bin/qmake MIGHT!!! not be a link to qmake-qt5
qmake-qt5 might BE THE LINK

Code:
cd /usr/bin
ls -l qmake*
and running
Code:
cd build
cmake ..
will tell you the errors and any missing software

just DELETE ALL FILES in the "build" folder between runs of cmake

on my opensuse 13.2 "cmake" finishes ( kde 4.11 )
and "make -j4 " finishes
-- i DID NOT pass the install location to cmake so i ma not installing this

Last edited by John VV; 10-18-2015 at 05:37 PM.
 
Old 10-18-2015, 05:27 PM   #9
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 John VV View Post
the date on the build.sh is june 2013

make sure that a older qt is installed

if you are using qt5 make sure 4.8 or 4.6 is installed and "qmake " points to "gmake-qt4"
and you have the qt4 development files also installed

be warned
a qt5 and qt4 mixed system can be a royal pain sometimes
some qt4 code will need tweaking
Thanks John:-
 
Old 10-18-2015, 05:33 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
If you have a full Slackware installation you already should have KDEPimLibs already installed.
Quote:
If I don't have the correct dependency installed will the build show me an error?
It shouldn't, since the README clearly states that these are optional dependencies.
 
Old 10-18-2015, 05:50 PM   #11
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 TobiSGD View Post
If you have a full Slackware installation you already should have KDEPimLibs already installed.
It shouldn't, since the README clearly states that these are optional dependencies.
Negative on the KDEPimLibs.
When I installed Slackware I did not install anything 'KDE'
 
Old 10-18-2015, 05:57 PM   #12
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:
bash-4.2# slackpkg search kdepimlibs

Looking for kdepimlibs in package list. Please wait... DONE

The list below shows all packages with name matching "kdepimlibs".

[uninstalled] - kdepimlibs-4.10.5-x86_64-1

You can search specific files using "slackpkg file-search file".
Found it here-
http://pkgs.org/slackware-14.1/slack..._64-1.txz.html
 
Old 10-18-2015, 06:30 PM   #13
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 John VV View Post
the date on the build.sh is june 2013

be warned
a qt5 and qt4 mixed system can be a royal pain sometimes
some qt4 code will need tweaking

qt4 allright
-- from the "CMakeLists.txt"
Code:
find_package(KDE4 "4.4" REQUIRED)
find_package(Qt4 COMPONENTS QtCore QtDbus QtGui QtTest QtXml QtScript QtConcurrent REQUIRED)
the cmake code looks to be looking for "qmake" and NOT "qmake-gt4"


make sure that you make a link to gmake-qt4 to qmake and that "qmakt-qt5" IS NOT!!! A LINK TO "qmake"
but the real qt5 qmake


/usr/bin/qmake MIGHT!!! not be a link to qmake-qt5
qmake-qt5 might BE THE LINK

Code:
cd /usr/bin
ls -l qmake*
and running
Code:
cd build
cmake ..
will tell you the errors and any missing software

just DELETE ALL FILES in the "build" folder between runs of cmake

on my opensuse 13.2 "cmake" finishes ( kde 4.11 )
and "make -j4 " finishes
-- i DID NOT pass the install location to cmake so i ma not installing this
Install Qt4 before or after the dependencies are installed?
 
Old 10-18-2015, 08:21 PM   #14
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 now have all of the dependencies downloaded and in my Downloads directory.

All of those dependencies get installed in the order in which they are listed in on the README file; right?
 
Old 10-18-2015, 08:37 PM   #15
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,516

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #14.

If Slackware 14.1, all kde-4.10.5 can be installed from the install DVD.
And the same for qt-4.8.5 .

Slackware : The install order doesn't really matter. Random order is OK.

Simon : The only missing package is qwt. (With a full install of Slackware 14.1).
`qwt' http://slackbuilds.org/repository/14.1/libraries/qwt/
... Other packages are optional.
Simon will start building when qwt is installed ...


-
 
  


Reply

Tags
simon



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
Sphinx voice recognition software gdlinuxer Linux - Software 1 03-27-2012 11:46 AM
Voice recognition Software for Linux to grant access!!!!!!!!!!!!!! vinnie_vinodh Linux - Newbie 2 03-03-2009 01:46 PM
Voice recognition software Davet101 Linux - Software 1 02-27-2007 07:33 AM
Voice Recognition software??? abattoir Linux - Software 2 04-13-2005 01:47 AM
voice recognition software for linux? slackmagic Linux - Software 4 04-02-2004 01:19 AM

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

All times are GMT -5. The time now is 02:23 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