+ All Categories
Home > Documents > 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to...

1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to...

Date post: 30-May-2020
Category:
Upload: others
View: 6 times
Download: 0 times
Share this document with a friend
11
How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr Gutsy Gibbon (7.10) This document is licensed under the Attribution- NonCommercial 2.0 France license, available at http://creativecommons.org/licenses/by- nc/2.0/fr/. This document presents one way to install IBM ViaVoice for linux on Ubuntu Table of Contents 1/ Prerequists .................................................................................................................................. 1 2/ Installing java 1.6 ......................................................................................................................1 3/ Installing the ViaVoice rpm .................................................................................................. 2 4/ Setting the ViaVoice environment with vvsetenv ........................................................... 2 5/ Creating a user User1 .............................................................................................................. 3 6/ Installing missing library ....................................................................................................... 3 7/ Creating the needed symbolic link ...................................................................................... 3 8/ Creating the user User1 .......................................................................................................... 3 9/ Environment setting :.............................................................................................................. 3 10/ Creating a user :...................................................................................................................... 3 11/ Testing the audio .................................................................................................................... 4 12/ Starting the enrollment ........................................................................................................ 6 13/ Let us install xvoice (as nomarl user xtophe) ................................................................ 7 14/ Let's see what is in the tar.gz file .....................................................................................7 15/ We then untargzip it ............................................................................................................ 8 16/ Installing the program in /usr/bin ................................................................................... 8 17/ Let's test xvoice and install the missing libraries ....................................................... 8 17a/ Installing missing library libgnomeui32 ....................................................................... 8 17b/ Installing missing libgdk_imlib.so.1 .............................................................................. 8 18/ Installing a correct version of libvtbnfc31.so ................................................................9 19/ New test of xvoice .................................................................................................................. 9 20/ Copying the xvoice.xml file in the current directory ................................................ 10 The unix commands are presented using the « courrier font » 1/ Prerequists To have access to a copy of the ViaVoice_runtime-3.0-1.2.i386.rpm. 2/ Installing java 1.6 sudo apt-get update Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 1/ 11
Transcript
Page 1: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

How - to install ViaVoice runtime and x v oice on Ubuntu Gutsy 386

V0.1 / Fev 11, 2008chris top he.klopp(at)free.fr Gutsy Gibbon (7.10)

This docu ment is licensed u n der t he Attribution -NonCom mercial 2.0 France license, available a t h t t p: / / c rea tivecom m ons.org / licenses / by -nc / 2.0 / f r / .

This docu ment p resent s one way to ins tall IBM ViaVoice for linux on Ubuntu

Table of Contents1 / Prerequis ts .................................................................................................................................. 12 / Ins talling java 1.6......................................................................................................................13 / Ins talling the ViaVoice rp m ..................................................................................................24 / Setting the ViaVoice environ ment with vvsetenv........................................................... 25 / Creating a u ser User1.............................................................................................................. 36 / Ins talling missing library....................................................................................................... 37 / Creating the needed symbolic link......................................................................................38 / Creating the u ser User1.......................................................................................................... 39 / Environ ment se t ting :.............................................................................................................. 310 / Creating a u ser :......................................................................................................................311 / Testing the au dio....................................................................................................................412 / Star ting the enrollmen t ........................................................................................................ 613 / Let us ins tall xvoice (as no marl u ser xtophe)................................................................714 / Let's see what is in t he tar.gz file .....................................................................................715 / We then u n targzip it ............................................................................................................ 816 / Ins talling the p rogra m in / u s r / bin................................................................................... 817 / Let's te s t xvoice an d ins tall t he missing libraries .......................................................817a / Installing missing library libgno meui32....................................................................... 817b / Ins talling missing libgdk_imlib.so.1.............................................................................. 818 / Ins talling a correct version of libvtbnfc31.so................................................................919 / New tes t of xvoice.................................................................................................................. 920 / Copying the xvoice.xml file in t he cur ren t directory................................................10

The u nix com ma n ds are p resented u sing the « courrier fon t »

1/ Prerequists

To have access to a copy of t he ViaVoice_run time - 3.0 - 1.2.i386.rp m.

2/ Installing java 1.6

sudo apt­get update

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 1 / 11

Page 2: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

sudo apt­get install sun­java6­jre

3/ Installing the ViaVoice rpm

sudo apt­get updatesudo apt­get install aliensudo alien  ViaVoice_runtime­3.0­1.2.i386.rpmsudo dpkg ­i viavoice­runtime­3.0­2.2.deb

From now on we will work as root. This can be do ne with « s u do su »

4/ Setting the ViaVoice environment with vvsetenv

root@xtophe - laptop: / ho me /x tophe# . vvsetenv

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 2 / 11

Page 3: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

5/ Creating a user User1

root@xtophe - laptop: / ho me /x tophe#/usr/lib/ViaVoice/bin/vvsetuser

NB. You will get an error because a library is mis sing

Please enter t he ViaVoice UserName [default: ViaVoice User1]

Please wait, crea ting u ser ViaVoice User1/ u s r / lib /ViaVoice / bin /vvuser: error while loading s hared libraries: libs tdc + + -libc6.1 - 1.so.2: canno t open s hared object file: No s uch file or directory

6/ Installing missing libraryroot@xtophe - laptop: / ho me /x tophe# sudo apt­get install libstdc++2.10­glibc2.2

7/ Creating the needed symbolic linkroot@xtophe - laptop: / ho me /x tophe# sudo ln ­s /usr/lib/libstdc++­3­libc6.2­2­2.10.0.so /usr/lib/libstdc++­libc6.1­1.so.2

8/ Creating the user User1

root@xtophe - laptop: / ho me /x tophe# /usr/lib/ViaVoice/bin/vvsetuserPlease enter t he ViaVoice UserName [default: ViaVoice User1]

Please wait, crea ting u ser ViaVoice User1/ u s r / lib /ViaVoice / bin /vvsetuser: line 44: / vvuser: Aucun fichier ou réper toire de ce type

NB. New error if you have forgot ten to se t t he environ ment

9/ Environment setting :

root@xtophe - laptop: / ho me /x tophe# . vvsetenv

10/ Creating a user :

root@xtophe - laptop: / ho me /x tophe# /usr/lib/ViaVoice/bin/vvsetuser

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 3 / 11

Page 4: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

Please enter t he ViaVoice UserName [default: ViaVoice User1]

Please wait, crea ting u ser ViaVoice User1

11/ Testing the audio

java com.ibm.speechapps.userwizard.UWizAudSet

NB. This line is extracted fro m the vvstar taudiose tup scrip t.

You s hould get t his.

If you click on next :

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 4 / 11

Page 5: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

If you click on next twice.

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 5 / 11

Page 6: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

12/ Starting the enrollment

java com.ibm.speechapps.userwizard.UWizJustEnr

NB. This line is extracted fro m the vvstar ten rollmen t scrip t.

Ins talling ViaVoice and xvoice on Ubuntu Gutsy gibbon page 6 / 11

Page 7: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

For each par t of t he enrollment you have to relaunch :java com.ibm.speechapps.userwizard.UWizJustEnr

If you read all t he s tories you will have a t rained ViaVoice.

13/ Let us install xvoice (as nomarl user xtophe)

The sof tware version I've ins talled can be foun d using this page or t he next URL.h t t p: / / t ain t.org /wk /ViaVoiceModernLinuxwget http://jmason.org/software/xvoice/vv­xvoice.tar.gz

The official xvoice websi te : h t t p: / / xvoice.sourceforge.net /

14/ Let's see what is in the tar.gz file

xtophe@xtophe - laptop: ~ $ tar ztvf vv­xvoice.tar.gz d rwxrwxr - x jm / j m 0 2004 - 03 - 19 19:51 ViaVoice / lib /xvoice /- rw - r - - r - - jm / j m 3553 2004 - 03 - 19 19:50 ViaVoice / lib /xvoice /vimc m ds

Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 7 / 11

Page 8: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

- rw - r - - r - - jm / j m 19770 2004 - 03 - 19 19:50 ViaVoice / lib /xvoice /xvoice.xml- rwxr - xr - x jm / j m 429684 2004 - 03 - 19 21:25 ViaVoice / lib /xvoice /xvoice- rw - r - - r - - jm / j m 3777 2004 - 03 - 19 19:50 ViaVoice / lib /xvoice /xvoice.png

15/ We then untargzip it

xtophe@xtophe - laptop: ~ $ tar zxvf vv­xvoice.tar.gz ViaVoice / lib /xvoice /ViaVoice / lib /xvoice /vimc m dsViaVoice / lib /xvoice /xvoice.xmlViaVoice / lib /xvoice /xvoiceViaVoice / lib /xvoice /xvoice.png

16/ Installing the program in /usr/bin

[email protected]: ~ $ sudo mv ViaVoice/lib/xvoice/xvoice /usr/bin/.[sudo] password for xtophe:

17/ Let's test xvoice and install the missing libraries

xtophe@xtophe - laptop: ~ $ xvoice xvoice: error while loading s hared libraries: libgno meui.so.32: cannot open s hared object file: No s uch file or directory

17a/ Installing missing library libgnomeui32

sudo apt­get install libgnomeui32

xtophe@xtophe - laptop: ~ $ xvoice xvoice: error while loading s hared libraries: libgdk_imlib.so.1: cannot open shared object file: No s uch file or directory

17b/ Installing missing libgdk_imlib.so.1

sudo apt­get install gdk­imlib1

xtophe@xtophe - laptop: ~ $ xvoicexvoice: relocation er ror: / u s r / lib / libvtbnfc31.so: symbol errno, version GLIBC_2.0 no t defined in file libc.so.6 with link time reference

Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 8 / 11

Page 9: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

18/ Installing a correct version of libvtbnfc31.soThis file can be op tained th rough th xvoice u ser list. Once you have got it replace t he exis ting one (location / u s r / lib / libvtbnfc31.so).

19/ New test of xvoice

root@xtophe - laptop: / ho me /x tophe# xvoiceEnviron ment se t.

GnomeUI - WARNING **: While connecting to session m a nager:Authentica tion Rejected, reason : None of t he au then tication p ro tocols s pecified are s u p por ted an d hos t - based au then tication failed.xvoice version 0.9.5loadGra m mars: Could no t find xvoice.xml; no gra m m ars will be available.Looked in:

/ r oo t / .xvoice /xvoice.xml/ u s r / local / s hare /xvoice /xvoice.xml. /xvoice.xml.. /xvoice.xml

Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 9 / 11

Page 10: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

Problem : xvoice is no t able to find the xvoice.xml file in t he directories in which it is seeking it.

20/ Copying the xvoice.xml file in the current directory

root@xtophe - laptop: / ho me /x tophe# cp ViaVoice/lib/xvoice/xvoice.xml .

root@xtophe - laptop: / ho me /x tophe# xvoiceEnviron ment se t.

GnomeUI - WARNING **: While connecting to session m a nager:Authentica tion Rejected, reason : None of t he au then tication p ro tocols s pecified are s u p por ted an d hos t - based au then tication failed.xvoice version 0.9.5Loaded gra m mar in . /xvoice.xml

Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 10/ 11

Page 11: 1/ Prerequists 2/ Installing java 1xvoice.sourceforge.net/Install_ubuntu_on_gutsy_01.pdf · How-to install ViaVoice runtime and xvoice on Ubuntu Gutsy 386 V0.1 / Fev 11, 2008 christophe.klopp(at)free.fr

You have now a run ning xvoice on ubu n t u gut sy.

NB. xvoice does no t work on its own so open for exam ple a gedit window (>gedit), switch back to xvoice, p us h the « Push to talk » bu t ton an d say « Next window » plus « dictate m o de ». You can now dicta te.

Have fun!!

Chris top he

Installing ViaVoice and xvoice on Ubuntu Gutsy gibbon page 11/ 11


Recommended