Package Details: pocketsphinx 5.0.3-1

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: BSD, MIT
Submitter: None
Maintainer: Martchus
Last Packager: Martchus
Votes: 104
Popularity: 0.002800
First Submitted: 2008-08-08 21:47 (UTC)
Last Updated: 2024-02-21 10:41 (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 .. 6 7 8 9 10 11 12 13 14 Next › Last »

ackalker commented on 2013-11-07 21:47 (UTC)

Thanks for the perseverance. From looking at the logs, it appears that in all of your attempts, cython is run with "-I/python" option, which makes no sense, and which may be the reason why it errors out. This means that `configure` never got the correct directory for the sphinxbase Make variable right (but that's a problem of the upstream build system, anyway). What puzzles me is why in your case, `make` tries to remake pocketsphinx.c, while in my case it doesn't (unless I manually force it to, and then it errors out in exactly the same way). Perhaps this has to do with different versions of autotools we use. Anyway, this is the way (upstream intended) to force pocketsphinx to build with an included sphinxbase: - In a directory, let's call it sphinxbase - download sphinxbase PKGBUILD - $ makepkg -i - In another directory, let's call it pocketsphinx - download pocketsphinx patched PKGBUILD - $ makepkg -o - $ cp -a <path/to>/sphinxbase/sphinxbase-0.8 <path/to>/pocketsphinx/src/ - $ ls src # should now output "pocketsphinx-0.8 pocketsphinx-0.8.tar.gz sphinxbase-0.8" - *important*: Edit the PKGBUILD, remove the line "--with-sphinxbase=auto \" - $ mv src/pocketsphinx-0.8/python/pocketsphinx.c src/pocketsphinx-0.8/python/pocketsphinx.c.bak # optional, to make sure it gets rebuilt - $ makepkg -e Sorry for the very long rant, but I hope this helps. Tested on my end, cython runs with no errors here.

sysfu commented on 2013-11-07 06:54 (UTC)

3rd attempt. * created a new directory in ~/Downloads called "sphinx" * downloaded PKGBUILD for sphinxbase into that dir * ran makepkg and makepkg -i successfully * cd into ~/Downloads/sphinx/src/sphinxbase-0.8 * rm -rf pkg src * downloaded PKGBILD from http://pastie.org/private/vh8dwy6gsldmmwr3bfmrka into dir ~/Downloads/sphinx/src/sphinxbase-0.8 * run makepkg. * build fails with these errors http://www.privatepaste.com/916c95c2cb

sysfu commented on 2013-11-07 05:53 (UTC)

OK, here's what I did. * created a directory called sphinx * downloaded PKGBUILD for sphinxbase into that dir * ran makepkg and makepkg -i successfully * rm -rf pkg src * downloaded PKGBILD from http://pastie.org/private/vh8dwy6gsldmmwr3bfmrka into dir "sphinx" * run makepkg. * build fails with these errors http://www.privatepaste.com/7d018e6fba

sysfu commented on 2013-11-07 05:24 (UTC)

@ackalker: I'm using packer-color to install. After that failed, I downloaded just yer updated PKGBUILD file, moved it into its own dir, and then tried building using "makepkg" but that failed with all the cythen errors. Regarding the sphinxbase dependency, I never got any errors about it trying to build pocketsphinx, and I imagine pocketsphinx would not build if it wasn't present. $ pacman -Qs sphinxbase yields; local/sphinxbase 0.8-4 I'll try removing sphinxbase, re-installing that manually, then building pocketsphinx again.

marcs commented on 2013-11-06 11:36 (UTC)

Ok guys let me know if it works.

ackalker commented on 2013-11-06 08:19 (UTC)

Also, please `rm -rf pkg src` before you try running `makepkg` again :-) .

ackalker commented on 2013-11-06 08:17 (UTC)

Ahh I meant EXTRA_DIST in Makefile.am, not configure.in.

ackalker commented on 2013-11-06 08:12 (UTC)

@srf21c This is a tricky one, (I bet you tried to run `make` from within the python directory :-) ) I'll try to explain: The Makefile rule for building pocketsphinx.c is: $(srcdir)/pocketsphinx.c: $(srcdir)/pocketsphinx.pyx $(srcdir)/pocketsphinx.pxd cython -o $@ $< -I$(sphinxbase)/python Now, from your log, it appears that the Make variable sphinxbase isn't set, It only gets set if the configure script finds an unpacked and built (but not necessarily installed) sphinxbase source tree alongside pocketsphinx. From the README: "First, you *must* have SphinxBase, which you can download from http://cmusphinx.sourceforge.net/. You should download and unpack it to the same parent directory as PocketSphinx, so that the configure script and project files can find it. On Windows, you will need to rename 'sphinxbase-X.Y' (where X.Y is the SphinxBase version number) to simply 'sphinxbase' for this to work." This is why the files pocketsphinx.c, pocketsphinx.pyx, and pocketsphinx.pxd are specifically included in EXTRA_DIST in configure.in (and pocketsphinx.c is newer than both others), so make will normally decide not to rebuild pocketsphinx.c . So, either unpack (and build!) sphinxbase alongside pocketsphinx, or simply use the provided pocketsphinx.c (but then again, it may have been generated by an older cython :-) ).

sysfu commented on 2013-11-06 03:53 (UTC)

@ackalker. I tried the fixed PKGBUILD you were kind of to link to but it's still failing to build on my system. Getting an a**whack of cython errors, log file here http://www.privatepaste.com/eea930330b

marcs commented on 2013-11-05 19:06 (UTC)

Thank you ackalker. I've Updated the package to rel 2 with your suggestion.