Package Details: pocketsphinx 5.0.3-2

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.000438
First Submitted: 2008-08-08 21:47 (UTC)
Last Updated: 2024-10-12 21:42 (UTC)

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

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 Next › Last »

ackalker commented on 2013-11-05 18:17 (UTC)

@srf21c There is an easy fix for that (As mentioned on the forums and the 'net, CPPFLAGS is the culprit): in the build() function, under the "find -type f" lines, add the line: sed -i '/cython/s/$(CPPFLAGS) //' python/Makefile.am Link to fixed PKGBUILD: http://pastie.org/private/vh8dwy6gsldmmwr3bfmrka

sysfu commented on 2013-09-24 06:06 (UTC)

Build failing with this error: make[1]: Entering directory `/home/user/Downloads/pocketsphinx/src/pocketsphinx-0.8/python' cython -o pocketsphinx.c pocketsphinx.pyx -D_FORTIFY_SOURCE=2 -I/usr/include/python2.7 -I/usr/include/python2.7 -I/usr/include/sphinxbase -I/python Unknown compiler flag: -D_FORTIFY_SOURCE=2 make[1]: *** [pocketsphinx.c] Error 1 make[1]: Leaving directory `/home/user/Downloads/pocketsphinx/src/pocketsphinx-0.8/python' make: *** [all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

marcs commented on 2013-09-15 14:29 (UTC)

I've included cython2 in the depends array. Thank you for the info.

Anthony25 commented on 2013-09-15 14:00 (UTC)

Sources for my previous post : http://sourceforge.net/p/cmusphinx/bugs/284/#b6ea

Anthony25 commented on 2013-09-15 13:59 (UTC)

In fact cython should be a depends, because if you don't have it, some source files are not recompiled and you get an error when you try to import sphinxbase in python. Thank you for the PKGBUILD update, it's working now with cython installed !

marcs commented on 2013-09-15 13:13 (UTC)

Ok now it should work if cython or cython2 is installed or both.

marcs commented on 2013-09-15 12:30 (UTC)

The problem appears only if i'm installing from yaourt. Using makepkg everything works fine. Thank you Anthony for spotting the problem. I'll try to fix it.

marcs commented on 2013-09-15 11:59 (UTC)

Added bison the the makedepends array. I've tried to install cython and/or cython2 but i didn't have any compilation errors.

electron commented on 2013-08-07 22:25 (UTC)

bison should be in the build dependencies since it is required by the configure script.

Anthony25 commented on 2013-08-04 14:53 (UTC)

If you have Cython, during the compilation it will recreate some ".c" files (using Cython), and you will get an error. The Makefile has to be modified to use Cython2 (and not cython), or you just have to remove the cython package on your system (but you will get an error if you import the sphinxbase module in python).