Third-party:Prepare to compile Source

From HemeraBook
Revision as of 10:16, 27 November 2011 by Projettwk (Talk | contribs) (Updated categories + links to new page name + some improvements)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Why compiling source code ?

According to your Operating System distribution/version, and your Hemera use, you may need compiling source code of some third-party tools.
For instance, it is the case if you want to install cmusphinx3 from source code, or for Debian-like distribution to install GNU version of which.

Needed packages

This is the needed packages:
RedHat-based distributions

yum install patch libtool automake libsndfile libsndfile-devel bison gcc gcc-c++ make csh gawk gzip glibc-devel tcl-devel alsa-lib-devel pulseaudio-libs-devel

Debian-based distributions

sudo apt-get install patch libtool automake libsndfile1 libsndfile1-dev bison gcc g++ make csh gawk gzip libglib2.0-dev tcl-dev libasound2-dev libpulse-dev

Additional packages for compiling i686 version on x86_64 Operating System

If you want to compile source code for i686 architecture, or if it is recommended to do so (it will be mention); this is the needed packages:
N.B.: on older GNU/Linux version, you must use i386 or i586 instead of i686

RedHat-based distributions

yum install glibc-devel.i686 libsndfile.i686 libsndfile-devel.i686

Debian-based distributions

sudo apt-get install lib32gcc1 libc6-dev-i386 gcc-multilib