- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
Up:[[Tutorial]]
----
#contents
*Installation of SIGVerse [#oe28c1d0]
This page explaines how to install SIGVerse server on Linux (Ubuntu 12.04 LTS)
This page explaines how to install SIGVerse server on Linux (Ubuntu 14.04 LTS)
If you use SIGVerse on a server at Inamura Lab., NII, you can skip to install the following procedures.
** Installation for Ubuntu [#bf3121f2]
Confirmed on Ubuntu 12.04 LTS, both of 32/64 bit version for later than SIGVerse v2.1.0.
Confirmed on Ubuntu 14.04 LTS (64 bit) version for later than SIGVerse v2.3.2
$ sudo apt-get update
*** Installation of gcc [#td0b7eb7]
$ sudo apt-get install g++
*** Installation of cmake [#s4def817]
$ sudo apt-get install cmake
*** Installation of JDK [#r4600e29]
$ sudo apt-get install openjdk-6-jdk
$ sudo cp /usr/lib/jvm/java-1.6.0-openjdk/include/* /usr/local/include/
$ sudo cp /usr/lib/jvm/java-1.6.0-openjdk/include/linux/* /usr/local/include/
$ sudo apt-get install default-jdk
$ sudo cp /usr/lib/jvm/default-java/include/* /usr/local/include/
$ sudo cp /usr/lib/jvm/default-java/include/linux/* /usr/local/include/
*** Installation of OpenGL [#ge63ab0b]
$ sudo apt-get install freeglut3 freeglut3-dbg freeglut3-dev
*** Installation of xerces-c [#jf91972a]
In the case of 32bit version
$ sudo apt-get install libxerces-c3.1 libxerces-c-dev
In the case of 64bit version
You should use version 2.8.
$ sudo apt-get install libxerces-c28 libxerces-c2-dev
*** Installation of ODE [#u1e80eda]
Download ode-0.12.tar.bz2 file [[from ODE project site>http://sourceforge.net/projects/opende/files/]].
$ tar xvjf ode-0.12.tar.bz2
$ cd ode-0.12/
$ ./configure --disable-tests --without-x --enable-double-precision --with-trimesh=opcode --enable-release --enable-shared
$ make
$ sudo make install
*** Installation of Xj3D [#e272e09e]
Get Xj3D-1-0-linuxx86.jar [[from here>http://www.xj3d.org/download.html]]
Get Xj3D-1-0-linuxx86.jar [[from here>http://www.vrspace.org/sdk/vrml/browsers/Xj3D/]]
$sudo java -jar Xj3D-1-0-linuxx86.jar
You will see the following window:
#ref(ubu_in.jpg)
Progress the installation to push Next.
Setting of path
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
*** Installation of julius [#qc31e314]
$ sudo apt-get install julius libjulius-dev julius-voxforge
*** Installation of dictation kit for julius [#y861790a]
Get the file dictation-kit-v4.2.3.tar.gz [[from here>http://sourceforge.jp/projects/julius/releases/]], then extract
$ sudo tar xzvf dictation-kit-v4.2.3.tar.gz -C /usr/local/share/
*** Installation of ssh server [#t3503ff4]
$ sudo apt-get install openssh-server
$ sudo mv /bin/sh /bin/sh_org
$ sudo ln -s /bin/bash /bin/sh
** Installation of SIGVerse [#u60ed63f]
*** Download SIGVerse source tree [#fa089c65]
You can get source tree of the SIGVerse server from http://sigverse.org/sigverse/main/download/
You can get source tree of the SIGVerse server from
http://sourceforge.net/projects/sigverse/files/SIGServer/
*** Extraction [#gba17272]
$ tar xzvf SIGServer-<version>.tar.gz
$ cd SIGServer-<version>
*** Configuration [#g8834ebd]
//CentOS
// $ ./configure --prefix=/home/<username>/sigverse-<version> --with-//jvm=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server
*** Compillation of the SIGServer and installation [#g301474b]
$ ./configure
$ mkdir build
$ cd build
$ cmake ..
$ make
$ make install
You can add the following option to specify the detail configuration
//- --prefix=<directory> you can change the installation directory
//- --with-jvm=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server You can change the Java version if you want to use other version
//- --with-julius=/usr/bin/julius You can use the speech recognition system Julius as default speech engine
//- --with-dictkit=/usr/local/share/dictation-kit-v4.0 This is for using dictation kit in the Julius engine
-~--prefix location of installation
-~--with-jvm set the directory of libjvm.so. amd64 for 64bit, i386 for 32bit should be chosen.
-~--with-julius directory of julius installation
-~--with-dictkit directory of dictation kit for julius
** Setting of environment variables (in case of bash) [#z73f2362]
*** Compillation of the SIGServer and installation [#cf099b16]
Open the .bashrc to add configuration for the SIGVerse.
$ make
$ make install
$ emacs ~/.bashrc
Add the following three lines to the .bashrc
[[Tutorial]]
export SIGVERSE_PATH=/home/<username>/sigverse-<version>
export PATH=$PATH:$SIGVERSE_PATH/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
Set a path name of your SIGVerse directory to an environment variable SIGVERSE_PATH.
~<username> and <version> should be replaced according to your configuration.
Initialize the bash environment.
$ source ~/.bashrc
If you upgrade the SIGVerse, please modify the version number in your .bashrc file.
*** Old information [#mc6eb0cb]
-- [[Tutorial/Installation of SIGVerse server(lower than 2.3.1)]]
Up:[[Tutorial]]
#counter