How to create a dotpup of Sphinx2?

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
vhshare
Posts: 9
Joined: Thu 21 Jun 2007, 06:32

How to create a dotpup of Sphinx2?

#1 Post by vhshare »

Hi
In Puppy I try to install Sphinx2 by
./configure
make install but Puppy is missing a lot of needed file for Sphinx2
Can anyone show me the way to create PUP for Sphinx2 ?
Plz, I need it as early as possible !
muggins
Posts: 6724
Joined: Fri 20 Jan 2006, 10:44
Location: hobart

#2 Post by muggins »

what is sphinx2? what is missing?
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post by Lobster »

Speech recognition
http://cmusphinx.sourceforge.net/html/cmusphinx.php

That would be fun :)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D
User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#4 Post by Béèm »

Hi vhshare,
If you could post your error messages here, you would have better answer to get your problem solved.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
Consult Wikka
Use peppyy's puppysearch
vhshare
Posts: 9
Joined: Thu 21 Jun 2007, 06:32

Help me !

#5 Post by vhshare »

/dev/null 2>&1
mv -f .libs/cdcn_norm.lo cdcn_norm.lo
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c cdcn_update.c
rm -f .libs/cdcn_update.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/libsphinx2/include -I../../include -I../../include -DFAST8B=1 -g -O2 -Wall -c cdcn_update.c -fPIC -DPIC -o .libs/cdcn_update.lo
cdcn_update.c:128: error: conflicting types for 'initialize'
cdcn_update.c:61: error: previous declaration of 'initialize' was here
cdcn_update.c:128: warning: 'initialize' defined but not used
make[4]: *** [cdcn_update.lo] Error 1
make[4]: Leaving directory `/tmp/sphinx2-0.4/src/libsphinx2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/sphinx2-0.4/src/libsphinx2'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/sphinx2-0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/sphinx2-0.4'
make: *** [all-recursive-am] Error 2
Here is the error message.I'm looking forward to hearing from you.Thank a lot :D
mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#6 Post by mrd »

I've been trying to get this to work as well and had similar failures. Can anyone out here with more skill figure it out. I read somewhere that it could be a compliler issue and a bug in the sphinx code that there is a patch for, but I'm not convinced.

http://www.mail-archive.com/debian-bugs ... 22082.html

My ultimate goal is to use perlbox-voice along with the required shpinx2 and festival applications to do some basic voice command recognition on my puppy system.

Please help...
amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#7 Post by amigo »

You need to build sphinxbase first -it's needed for all versions of sphinx. I recently built sphinxbase-0.3 and then both sphinx3-0.7 and pocketsphinx-0.4.1.
The pocket version may be the better choice for puppy as it is designed to use less resources.
mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#8 Post by mrd »

I'm working on trying this ou instead. It seems simpler and might actually work...

http://www.kiecza.net/daniel/linux/
User avatar
cb88
Posts: 1165
Joined: Mon 29 Jan 2007, 03:12
Location: USA
Contact:

#9 Post by cb88 »

yes Cvoicecontrol (say a command to run it ) actually does work... sphinx is more experimental
Taking Puppy Linux to the limit of perfection. meanwhile try "puppy pfix=duct_tape" kernel parem eater.
X86: Sager NP6110 3630QM 16GB ram, Tyan Thunder 2 2x 300Mhz
Sun: SS2 , LX , SS5 , SS10 , SS20 ,Ultra 1, Ultra 10 , T2000
Mac: Platinum Plus, SE/30
mrd
Posts: 124
Joined: Wed 28 Nov 2007, 02:04

#10 Post by mrd »

I actually found it looking at your site...lol

It seems to be compiled already so I'm assuming it will work on my 32bit laptop running Puppy 3.01?
Post Reply