[[Tutorial/Installation of SIGVerse server]]

#contents

*Installation of SIGVerse [#oe28c1d0]

This page explaines how to install SIGVerse server.
If you use SIGVerse at Inamura Lab., NII, you can skip to install the following procedures.

**1.Install on CentOS [#z5eb91a3]
(Confirmed on CentOS Version 5.5, 32bit version.)

 $ su
 $ yum update

*** Installation of gcc [#cd8694f7]
 $ yum gcc-c++.i386


*** Installation of JDK [#j6d40300]
 $ yum install java-1.6.0-openjdk.i386
To set the pass for header files.
 $ cp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/include/* /usr/local/include/
 $ cp /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/include/linux/* /usr/local/include/

*** Installation of OpenGL [#rf8eb705]
 $ yum install freeglut.i386
 $ yum install freeglut-devel.i386

*** Installation of xerces-c [#q30c06ee]
[[Get from >http://xerces.apache.org/xerces-c/download.cgi]] to install xerces-c-3.1.1.tar.gz
 $ tar xzvf xerces-c-3.1.1.tar.gz
 $ cd xerces-c-3.1.1
 $ ./configure --prefix=/usr/local
 $ make
 $ su
 $ make install


*** Installation of ODE [#gc9c2da3]
[[Get file from ODE page>http://sourceforge.net/projects/opende/files/]] ode-src-0.8.zip. Latest version cannot be used.
 $ unzip -x ode-src-0.8.zip
 $ cd ode-0.8/
 $ ./configure --disable-tests --without-x --enable-double-precision --with-trimesh=opcode --enable-release --enable-shared
 $ make
 $ su
 $ make install

*** Installation of Xj3D [#w40f4155]

Download Xj3D-1-0-linuxx86.jar from[[Herer>http://www.xj3d.org/download.html]]
 
 $java -jar Xj3D-1-0-linuxx86.jar
You will see the following window.
#ref(xj3d.jpg)

Please follow to the instructions.

*** Installation of Julius [#e490d505]
Get the Julius[[from here>http://julius.sourceforge.jp/]]

 $ tar xzvf julius-4.1.5.tar.gz
 $ cd julius-4.1.5
 $ ./configure --prefix=/usr/local
 $ make
 $ su
 $ make install

*** Installation of Dictation kit of Julius [#x8a6eba1]
Get the files [[from here>http://julius.sourceforge.jp/index.php?q=juliuskit.html]] and extract
 $ su 
 $ tar xzvf dictation-kit-v4.0.tar.gz -C /usr/local/share


Install procedures are over. Next is setting of path.

 $ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

*** Installation of ssh server [#t645947c]

 $ yum install ssh-server.i386

Go to the [[3.Installation of SIGVerse]].

**2.Installation for Ubuntu [#bf3121f2]
Confirmed on Ubuntu 10.04, both of 32/64 bit version.

 $ sudo apt-get update

*** Installation of gcc [#ifff38f2]
 $ sudo apt-get install gcc-4.1 g++-4.1
 $ sudo ln -s /usr/bin/g++4.1 /usr/bin/g++

*** 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/

*** 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]
Get ode-src-0.8.zip file [[from ODE project site>http://sourceforge.net/projects/opende/files/]]. Latest version cannot be used.
 $ unzip -x ode-src-0.8.zip
 $ cd ode-0.8/
 $ ./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]]
 
 $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 [[from here>http://julius.sourceforge.jp/index.php?q=juliuskit.html]], then extract

 $ sudo tar xzvf dictation-kit-v4.0.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

** 3. Installation of SIGVerse [#ga7e7eea]

*** Prepare SIGVerse source tree [#hd0f783c]
You can get from USB memory, or socio.iir.nii.ac.jp:/home/ikari09

 $ scp hoge@socio.iir.nii.ac.jp:/home/ikari09/irwas-sim-<version>.tar.gz .

*** Extraction [#gba17272]

 $ tar xzvf irwas-sim-<version>.tar.gz
 $ cd irwa-sim-<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 

 $ ./configure \
 --prefix=/home/<username>/sigverse-<version> \
 --with-jvm=/usr/lib/jvm/java-1.6.0-openjdk/jre/lib/amd64/server \
 --with-julius=/usr/bin/julius \
 --with-dictkit=/usr/local/share/dictation-kit-v4.0

-~--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
***make [#he97c24c]
 $ make

 $ make install-strip


[[Tutorial]]


Front page   Edit Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes