Skip to content

Third party:Global

Bertrand Benoit edited this page Dec 7, 2019 · 2 revisions

title: Third-party:Global permalink: /Third-party:Global/

TOC

Tools available with package manager

You must install: * (optional - needed to get Hemera source code) Version control system: Git

  • (optional - needed to get some third-party tools source code) Version control system: Apache Subversion
  • Build tool (Java-based): Apache Ant
  • FileSystem events monitor: inotify-tools
  • Speech sound player: SoX (Hemera requires v14.2.0 or later, if your operating system doesn't provide it, [install it from source|Third-party:Global#SoX_v14.2.2B]])
  • (optional) Fast incremental file transfer tool: rsync
  • HTML to text converter: html2text

RedHat-based distributions yum install ant inotify-tools sox rsync html2text Debian-based distributions sudo apt-get install ant inotify-tools sox rsync html2text Check/update the following [configuration elements](/Appendix#Configuration_file]] (See binary and library paths

hemera.core.iomanager.inputMonitor.* hemera.core.iomanager.ioProcessorMonitor.* hemera.core.speech.soundPlayer.* hemera.core.speechRecognition.soundRecorder.* hemera.core.command.general.*

To complete Apache Ant installation, you must:

  • ensure ANT_HOME environment variable is set on your system
  • OR define the [configuration element](/Appendix#Configuration_file]] environment.ant.home

Other tools

Java

You need a Java 6 version or later. You can use OpenJDK version, or Oracle/Sun one. Standard users can use a Java Runtime Environment (JRE); developers, contributors (and optionally advanced users) must use a Java Development Kit (JDK).

After the installation of the version of your choice, you must:

  • ensure JAVA_HOME environment variable is set on your system
  • OR define the [configuration element](/Appendix#Configuration_file]] environment.java.home

===OpenJDK version=== OpenJDK is now available in lots of distribution package manager. For Standard users: RedHat-based distributions yum install java-1.6.0-openjdk Debian-based distributions sudo apt-get install openjdk-6-jre For developers and contributors: RedHat-based distributions yum install java-1.6.0-openjdk-devel Debian-based distributions sudo apt-get install openjdk-6-jdk

===Oracle/Sun version=== Download the version matching your Operating System and architecture, from the Oracle/Sun.

GNU which

On Debian-based distributions, GNU which is not available by default. You must install it from source, following these instructions:

  • prepare your machine to [compile source|Third-party:Prepare_to_compile_Source#Needed_packages]]
  • download v2.20 of GNU Which source
  • compile and install:

./configure make -s sudo make install

GNU version of which will now be available in PATH.

SoX v14.2+

If your operating system doesn't provide SoX v14.2.0 or later, you must install it from source, following these instructions:

  • prepare your machine to [compile source|Third-party:Prepare_to_compile_Source#Needed_packages]]
  • download v14.3.2 or later
  • uncompress it in [HEMERA_TP_PATH](/Appendix#HEMERA_TP_PATH]]/_fromSource which has been created to help you keeping track on third-party tools you have installed for Hemera, and for more ease updating [configuration file](/Appendix#Configuration_file]] (sample gives ready-to-use paths)
  • rename the directory from sox-14.3.2 (or anything else) to sox, such a way you can use directly the [binary and library paths](/Appendix#Binary_and_Library_paths_configuration]] configuration provided by the sample
  • configure

./configure

  • ensure end of report indicates support to your Sound Device (usually ALSA project or Pulse Audio). If it is NOT the case, ensure you have correctly prepared your machine to [compile source|Third-party:Prepare_to_compile_Source#Needed_packages]]. This is a report part sample:

 OPTIONAL DEVICE DRIVERS  alsa (Linux)...............yes  pulseaudio.................yes

  • compile:

make -s

  • check/update your [configuration file](/Appendix#Configuration_file]] 1/2 (See binary and library paths:
    • add following paths, separated by colon, to hemera.path.bin (or get everything from configuration file sample):
      • _fromSource/sox/src
    • add following paths, separated by colon, to hemera.path.lib (or get everything from configuration file sample):
      • _fromSource/sox/src/.libs
  • check/update your [configuration file](/Appendix#Configuration_file]] 2/2:

hemera.core.speech.soundPlayer.* hemera.core.speechRecognition.soundRecorder.*

Category:HemeraBook/en Category:admin/en

You can’t perform that action at this time.