Difference between revisions of "Troubleshooting"

From HemeraBook
Jump to: navigation, search
(General)
(General)
Line 1: Line 1:
 
=General=
 
=General=
==Installation of Hemera and third-party tools==
+
==configure: error: no acceptable C compiler found in $PATH==
===configure: error: no acceptable C compiler found in $PATH===
+
 
You must prepare your [[Prepare_to_compile_Source#Needed_packages |computer for compiling source code]].<br />
 
You must prepare your [[Prepare_to_compile_Source#Needed_packages |computer for compiling source code]].<br />
  
 
<br />
 
<br />
===make: *** No targets specified and no makefile found.  Stop.===
+
==make: *** No targets specified and no makefile found.  Stop.==
 
First, you must prepare your [[Prepare_to_compile_Source#Needed_packages |computer for compiling source code]] to ensure having GNU version of make.<br />
 
First, you must prepare your [[Prepare_to_compile_Source#Needed_packages |computer for compiling source code]] to ensure having GNU version of make.<br />
 
<br />
 
<br />
Line 12: Line 11:
  
 
<br />
 
<br />
==Hemera use==
+
==There is WARNING or ERROR when using Hemera==
===There is WARNING or ERROR when using Hemera===
+
 
In this case, follow these instructions until you find a solution:
 
In this case, follow these instructions until you find a solution:
 
* fix the issue if the message gives instruction
 
* fix the issue if the message gives instruction
Line 21: Line 19:
  
 
<br />
 
<br />
===GNU version of which not found. Please install it===
+
==GNU version of which not found. Please install it==
 
Hemera requires GNU version of ''which'', which is natively provided by some GNU/Linux distribution.<br />
 
Hemera requires GNU version of ''which'', which is natively provided by some GNU/Linux distribution.<br />
 
Anyway, it is not the case of Debian-like GNU/Linux, in which case you must [[Install_third-party_tools#GNU_which |install it from source]].
 
Anyway, it is not the case of Debian-like GNU/Linux, in which case you must [[Install_third-party_tools#GNU_which |install it from source]].
  
 
<br />
 
<br />
===Unable to record sound with microphone / Speech recognition system does nothing===
+
==Unable to record sound with microphone==
 
You must ensure you can [[Hemera_User_Guide#Microphone |record with your microphone]].<br />
 
You must ensure you can [[Hemera_User_Guide#Microphone |record with your microphone]].<br />
 
You can then perform [[Hemera_Quick_Start#Quick_sound_check |sound check]].
 
You can then perform [[Hemera_Quick_Start#Quick_sound_check |sound check]].

Revision as of 12:30, 29 May 2011

General

configure: error: no acceptable C compiler found in $PATH

You must prepare your computer for compiling source code.


make: *** No targets specified and no makefile found. Stop.

First, you must prepare your computer for compiling source code to ensure having GNU version of make.

Then, ensure a Makefile is available in the directory in which you launched the command.
The most of third-party tools uses autotools, so you usually need to launch ./configure to create such Makefile.


There is WARNING or ERROR when using Hemera

In this case, follow these instructions until you find a solution:

  • fix the issue if the message gives instruction
  • check the log (indicated on standard output) for more details
  • lookup solution on other section of this Troubleshooting page
  • ask for solution on the Help Forum


GNU version of which not found. Please install it

Hemera requires GNU version of which, which is natively provided by some GNU/Linux distribution.
Anyway, it is not the case of Debian-like GNU/Linux, in which case you must install it from source.


Unable to record sound with microphone

You must ensure you can record with your microphone.
You can then perform sound check.


Speech core module

/usr/share/mbrola/voices/fr1 not found

Seen under Debian-like GNU/Linux distribution; to fix it, you can create a symbolic link:

ln -s /usr/share/mbrola/voices/fr4 /usr/share/mbrola/voices/fr1


Speech Recognition core module

lia_phon is stuck on "Initialisation des tableaux 1.2.3-grams"

If you have an x86_64 OS architecture, you must force lia_phon compilation to ix86.
You can use the patch provided by the Hemera little speech recognition model creation project .


sphinx3_decode failed in Segmentation Fault

There is some incompatibility between x86_64 old version of sphinx3_decode and UTF-8 language model.
You may follow these instructions.