benoitfragit / pocketVox

An application, a library,... to control your linux desktop with your voice
https://plus.google.com/communities/101692885089149446503
GNU General Public License v3.0
49 stars 17 forks source link

Can't install pocketVox correctly #4

Closed daganM closed 9 years ago

daganM commented 9 years ago

Following http://forum.ubuntu-fr.org/viewtopic.php?pid=18604461#p18604461 that tutorial. Added some modifications.

cd ../cmuclmtk-0.7
./autogen.sh
make
sudo make install

was for me

cd ../cmuclmtk-0.7
./configure
make
sudo make install

Because autogen.sh doesn't exist here. And

wget -O french3g62K.lm.dmp.bz2 http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French%20Language%20Model/french3g62K.lm.dmp.bz2/download

is now

wget -O french3g62K.lm.dmp http://sourceforge.net/projects/cmusphinx/files/Acoustic%20and%20Language%20Models/French%20Language%20Model/french3g62K.lm.dmp/download

So the 2nd tar instruction on the forum is apparently not necessary. French users will have a problem setup.sh in pocketsphinx, because of a non ASCII character. ("é" of "Téléchargements"). So I set UTF-8 encoding in the file. like that when the error appeared.

# -*- coding: utf8 -*-

But my real problem is here :

On ~/Téléchargements/pocketVox-master$ make I have this

  CC     pocketvox-controller.lo
pocketvox-controller.c: In function 'pocketvox_controller_on_request':
pocketvox-controller.c:180:5: error: implicit declaration of function 'g_get_num_processors' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors

So I can't move forward.

PS : I'm working on Ubuntu 12.04.

benoitfragit commented 9 years ago

Thank you for reporting that. Yhe last error is caused by Glib try to update it

daganM commented 9 years ago

Okay I'm trying in fact to install it, have nothing found about glib on my computer. Done, installed also http://www.linuxfromscratch.org/blfs/view/svn/general/desktop-file-utils.html new error still on make :

  CC     pocketvox_gtk-pocketvox-setup.o
pocketvox-setup.c: In function ‘pocketvox_setup_remove_module’:
pocketvox-setup.c:127:5: error: unknown type name ‘GtkListBoxRow’
pocketvox-setup.c:127:26: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c: In function ‘pocketvox_setup_add_module’:
pocketvox-setup.c:163:31: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c: In function ‘pocketvox_setup_get_modules_grid’:
pocketvox-setup.c:241:16: warning: assignment makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c: In function ‘pocketvox_stack_child_changed’:
pocketvox-setup.c:559:22: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c: In function ‘pocketvox_setup_new’:
pocketvox-setup.c:684:22: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c:755:24: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c:756:54: error: ‘GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT’ undeclared (first use in this function)
pocketvox-setup.c:756:54: note: each undeclared identifier is reported only once for each function it appears in
pocketvox-setup.c:771:32: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c:776:34: warning: initialization makes pointer from integer without a cast [enabled by default]
pocketvox-setup.c:777:36: warning: initialization makes pointer from integer without a cast [enabled by default]
make[3]: *** [pocketvox_gtk-pocketvox-setup.o] Error 1
benoitfragit commented 9 years ago

Je pense que tu n as pas une version de glib et/ou gtk assez recente

daganM commented 9 years ago

Là manifestement le problème c'est gtk. Désolé mais je vais abandonner pour le moment, il y a un peu trop de dépendances à mon goût pour gtk, et comme j'y connais pas grand chose, je m'arrête avant de planter la bête. Le jour où je passerai à une version d'Ubuntu plus récente je testerai de nouveau. Bonne continuation !

benoitfragit commented 9 years ago

Que vrux tu faire ? Si tu veux la reconnaissance vocale en francais sans pocketvox mais avec pocketdphinx c est pas dur je peux te dire comment te creer un plugin gstreamer qui viendra se connecter au plugin pocksphinx Le 5 mai 2015 19:00, "cdmcruises" notifications@github.com a écrit :

Closed #4 https://github.com/benoitfragit/pocketVox/issues/4.

— Reply to this email directly or view it on GitHub https://github.com/benoitfragit/pocketVox/issues/4#event-297417083.

daganM commented 9 years ago

Ok je veux bien, c'est ce que je cherche. A vrai dire, il y a 3 jours, j'ai eu envie de démarrer google2ubuntu, et en regardant un peu sur github parce que j'arrivais pas à le faire tourner, je suis arrivé ici :)