Up:[[Tutorial]] ---- #contents *Installation of SIGVerse [#oe28c1d0] This page explaines how to install SIGVerse server on Linux (Ubuntu 12.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. $ sudo apt-get update *** Installation of gcc [#td0b7eb7] $ sudo apt-get install 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] 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]] $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/ *** 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 $ ./configure 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 *** Compillation of the SIGServer and installation [#cf099b16] $ make $ make install Up:[[Tutorial]] #counter