question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build from source - configure does not detect pocketsphinx installed

See original GitHub issue

Configure command:

./configure VOICE2JSON_LANGUAGE=en VOICE2JSON_SPEECH=pocketsphinx --disable-precompiled-binaries

Configure summary:

voice2json configuration summary:

architecture: x86_64/amd64
prefix: /home/ubuntu/Downloads/voice2json/.venv
virtualenv: yes
language: en

wake:
  mycroft precise: yes (x86_64, prebuilt)

speech to text:
  pocketsphinx: no
  kaldi: yes (source)
  julius: no
  deepspeech: no

training:
  opengrm: yes (source)
  phonetisaurus: yes (source)
  kenlm: no

configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup.py
config.status: creating voice2json.sh
config.status: creating voice2json.spec

I am on Ubuntu 18.04 LTS with pocketsphinx, libpocketsphinx3, and libpocketsphinx-dev installed

But if I do ./configure only, the summary is as follows:

voice2json configuration summary:

architecture: x86_64/amd64
prefix: /home/ubuntu/Downloads/voice2json/.venv
virtualenv: yes
language: 

wake:
  mycroft precise: yes (x86_64, prebuilt)

speech to text:
  pocketsphinx: yes (source)
  kaldi: yes (prebuilt)
  julius: yes (prebuilt)
  deepspeech: yes (amd64, prebuilt)

training:
  opengrm: yes (prebuilt)
  phonetisaurus: yes (prebuilt)
  kenlm: yes (prebuilt)

configure: creating ./config.status
config.status: creating Makefile
config.status: creating setup.py
config.status: creating voice2json.sh
config.status: creating voice2json.spec

I wanted to build from source with pocketsphinx only and the former seems to include kaldi instead of pocketsphinx. If I remove kaldi from my system, voice2json generates error that kaldi is missing

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ekawahyucommented, Nov 5, 2020

Installation for both pre-compiled or from source seem to work now. I am having issue with the training, but that’s another ticket. Thank you and I am closing this now.

0reactions
synesthesiamcommented, Oct 21, 2020

Thanks for looking into this more! I’ve updated the Makefile to check for the site directory before trying the copy (it’s created with scripts/build-docs.sh and shouldn’t affect your install).

I also updated the phonetisaurus build script; hopefully it’s fixed, but I haven’t gone through the install process again to test yet.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python pocketsphinx RequestError: missing ... - Stack Overflow
Issue is that pocketsphinx not being installed. But when I tried to install it explicitly it spit out this: Installing collected packages: ...
Read more >
Building an application with PocketSphinx - CMUSphinx
To install Pocketsphinx, you need to install both Pocketsphinx and Sphinxbase. You can use ... Otherwise the executable will fail to find this...
Read more >
pocketsphinx 0.1.15 fails to install via pip · Issue #171 - GitHub
Hello, I was trying to install the python package textract which has pocketsphinx as a depandancy, I believe they use pocketsphinx 0.1.13.
Read more >
install, Can't find libpocketsphinx.so.1 - SourceForge
So, I go into the pocketsphinx directory and looked for '.so.1' and couldn't find one! I then searched for '.so', and it still...
Read more >
pocketsphinx · PyPI
This is PocketSphinx, one of Carnegie Mellon University's open source large ... You should be able to install this with pip for recent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found