The newest release is 5prealpha, not 0.8
Search Criteria
Package Details: python-pocketsphinx 5.0.3-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/pocketsphinx.git (read-only, click to copy) |
---|---|
Package Base: | pocketsphinx |
Description: | A small speech recognizer |
Upstream URL: | https://cmusphinx.github.io |
Keywords: | mobile recognition speech |
Licenses: | MIT, BSD-3-Clause, BSD-2-Clause |
Submitter: | None |
Maintainer: | Martchus |
Last Packager: | Martchus |
Votes: | 104 |
Popularity: | 0.000701 |
First Submitted: | 2008-08-08 21:47 (UTC) |
Last Updated: | 2024-10-12 21:42 (UTC) |
Dependencies (11)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-sounddevice
- cmake (cmake-gitAUR) (make)
- cython (cython-gitAUR, cython0AUR) (make)
- gst-plugins-base-libs (gst-plugins-base-libs-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-scikit-build-core (make)
- python-sounddevice (make)
Required by (1)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 Next › Last »
Mitsos101 commented on 2015-07-17 16:29 (UTC)
marcs commented on 2015-05-30 10:11 (UTC)
The oneliner sed command would be:
sed -i '/cython/s/$(CPPFLAGS) -I$(sphinxbase)\/python/$(SphinxBase_CFLAGS)/' python/Makefile.am
The old command just removes the CPPFLAGS.
To keep track of things I've added a patch, and left the sed command as a comment, that will be removed with the prealpha5.
Thanks 1124
1124 commented on 2015-05-11 06:41 (UTC)
in the PKGBUILD, under this:
sed -i '/cython/s/$(CPPFLAGS) //' python/Makefile.am
add this:
sed -i '/cython/s/-I$(sphinxbase)\/python/$(SphinxBase_CFLAGS)/' python/Makefile.am
Then it built for me. I have no idea if this is proper!
ryanvade commented on 2015-03-31 02:34 (UTC)
does NOT build with yaourt for me. :(
m01 commented on 2014-07-14 22:32 (UTC)
marcs is right. I can't build it with makepkg -cs, but using Yaourt works. I don't understand. Please can someone look into this?
Here's what I get:
'
cython2 -o pocketsphinx.c pocketsphinx.pyx -I/python
Error compiling Cython file:
------------------------------------------------------------
...
# notice is not removed.
#
# Author: David Huggins-Daines <dhuggins@cs.cmu.edu>
# Import SphinxBase C types
from sphinxbase cimport arg_t, cmd_ln_t, ngram_model_t, fsg_model_t, logmath_t
^
------------------------------------------------------------
pocketsphinx.pxd:11:0: 'sphinxbase.pxd' not found
<snip>
pocketsphinx.pyx:489:24: Cannot convert 'char **' to Python object
Error compiling Cython file:
------------------------------------------------------------
...
cdef ngram_model_t *clm
cdef logmath_t *lmath
cdef cmd_ln_t *config
cdef NGramModel lm
lm = NGramModel()
^
------------------------------------------------------------
pocketsphinx.pyx:656:23: undeclared name not builtin: NGramModel
Makefile:601: recipe for target 'pocketsphinx.c' failed
make[1]: *** [pocketsphinx.c] Error 1
make[1]: Leaving directory '/home/me/Downloads/Packages/pocketsphinx/src/pocketsphinx-0.8/python'
Makefile:461: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
Aborting...
marcs commented on 2014-06-15 22:00 (UTC)
I can compile from yaourt, try to launch the command:
yaourt -S pocketsphinx
venamresm commented on 2014-05-20 03:41 (UTC)
I'm not able to build this pkg.
I'm getting the following error:
pocketsphinx.pyx:656:23: undeclared name not builtin: NGramModel
marcs commented on 2014-01-02 16:33 (UTC)
Sorry for the delay guys.
Now building from yaourt is fine.
sysfu commented on 2013-11-08 01:38 (UTC)
@ackalker Followed yer "rant" and was able to successfully build pocketsphinx. Thanks in turn for your perseverance.
There was a small typo in this line
cp -a <path/to>/sphinxbase/sphinxbase-0.8 <path/to>/pocketsphinx/src/
should be
cp -a <path/to>/sphinxbase/src/sphinxbase-0.8 <path/to>/pocketsphinx/src/
autoconf/automake pacman query results on my system:
$ pacman -Qo $(which autoconf)
/usr/bin/autoconf is owned by autoconf 2.69-1
$ pacman -Qo $(which automake)
/usr/bin/automake is owned by automake 1.14-1
ackalker commented on 2013-11-07 22:00 (UTC)
This may be helpful in trying to figure out why pocketsphinx.c is/isn't rebuilt:
On my system:
$ pacman -Qo $(which autoconf)
/usr/bin/autoconf is owned by autoconf 2.69-1
$ pacman -Qo $(which automake)
/usr/bin/automake is owned by automake 1.14-1
Pinned Comments
Martchus commented on 2020-01-19 12:15 (UTC)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff
Martchus commented on 2020-01-19 11:46 (UTC) (edited on 2020-01-19 12:14 (UTC) by Martchus)
All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff