Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a PhD researcher in Applied Anthropology, and I am trying to dictate fieldnotes to my Ubuntu 12.04.1 LTS (x86_64 3.2.0-36-generic). I undestand Simon is a "simple install-and-go project" which fits my unix basic skill level.

Installing Simon, I followed instructions on these two other Questions Unable to install Simon and simon listens 4.0 build error, thanks to all of you there!

I couldn't solve the problem "The following packages have unmet dependencies: simon : Depends: libattica0 but it is not installable", so I started compiling from the source using "" script, as suggested by Takakt in the first Question above. (first time for me compiling). Then I encountered all the problems told by Matthiew and Xiao-Long Chen in the second Question above. So I installed a lot of libraries.

I still have this error: anyone can help me, please? Thanks so much!

-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/
-- Found Qwt: /usr/lib/
CMake Warning at /usr/share/kde4/apps/cmake/modules/MacroOptionalFindPackage.cmake:32     (find_package):
  Could not find module FindQAccessibilityClient.cmake or a configuration
  file for package QAccessibilityClient.

  Adjust CMAKE_MODULE_PATH to find FindQAccessibilityClient.cmake or set
  QAccessibilityClient_DIR to the directory containing a CMake configuration
  file for QAccessibilityClient.  The file will have one of the following


Call Stack (most recent call first):
  CMakeLists.txt:56 (macro_optional_find_package)

-- Found SphinxBase 
-- WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR     env. variable
-- BackendType='both'

-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
   * KDE PIM Libs - KDE Libraries for PIM
   * Sphinxbase - Open source toolkit for speech recognition
   * PocketSphinx - PocketSphinx is a small-footprint continuous speech recognition     system

-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
   * LibSampleRate  <>
     Resampling library
     Required to activate resampling.
   * qaccessibilityclient      <>
     KDE client-side accessibility library
     Required to enable ATSPI plugin.
   * OpenCV  <http://>
     OpenCV (Open Source Computer Vision) is a library of programming functions for     real time computer vision
     Required for Simon Vision


CMake Error: The following variables are used in this project, but they are set to     NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
    linked by target "eventsimulation" in directory /home/miro/Downloads/simon-    0.4.0/simonlib/eventsimulation

-- Configuring incomplete, errors occurred!
share|improve this question
up vote 4 down vote accepted

Note: We built Simon on Raspbian (Raspberry Pi) (Was a bad idea anyway). This should help you out too.

QAccessibilityClientConfig.cmake qaccessibilityclient-config.cmake

aptitiude install libqaccessibilityclient0 libaccessibility-dev

WARNING: OpenCV was not found. Please specify OpenCV directory using OpenCV_DIR

aptitude install libopencv-dev


aptitude install libsamplerate0-dev 

You will also need:

aptitude install libboost-dev

I also needed the following packages to compile successfully:

aptitude install libasound2-dev libxtst-dev 
aptitude install bison
aptitude install libqwt6 libqwt-dev
aptitude install kdepimlibs5-dev kdepimlibs

It seems that Pocketsphinx and Sphinxbase are allready on your system. But you will also need Sphinxtrain. You will need to compile it from source (Note: they have to be in the same directory). Get it here:

or try the HTK Speech Modul

Those who try to compile Simon on a armhf Based Platform will get the error message:

error: no matching function for call to 'qBound(double, qreal, qreal)'

replace the doubles to float around line 222 in qwt_bars_item.cpp, and line 65 qwt_bars_item.h


Those steps should result in a successful build of Simon.

To use Simon, make sure you have Julius and libqt4-sql-sqlite installed.

share|improve this answer
Wow, I still have much to do! Thanks JohannesM, very much. aptitude install libqaccessibilityclient libaccessibility-dev gives me the following error: Couldn't find any package whose name or description matched "libqaccessibilityclient" Couldn't find any package whose name or description matched "libaccessibility-dev" – miro marchi Feb 1 '13 at 11:26
it's ibqaccessibilityclient0. I've missed the zero. – JohannesM Feb 2 '13 at 14:29
Actually I missed it but still Couldn't find any package whose name or description matched "libqaccessibilityClient0" – miro marchi Feb 2 '13 at 18:20
Instead of libqaccessibilityclient0 on 12.04, I had to install kaccessible. That resolved my issue. Well, that plus doing all of the other stuff that JohannesM suggested above. :) – alaina Jan 3 '14 at 20:10

Following answer from JohannesM :

The correct spelling for the two packages are : libqaccessibilityclient0 and libqaccessibilityclient-dev but they are not in default repositories for 12.04. You can find them on there : for example.

libxtst-dev should also be installed to avoid the error with X11_XTest_LIB

share|improve this answer
thanks, I'll check this out soon! – miro marchi Apr 20 '13 at 15:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.