Edited: this problem is solved. Please see my comments below.
Ubuntu version 18 or 16(in my mac)
After installing sphixbase, pocketsphinx(using --prefix=/usr/local/ option when configuring), and gstreamer, the command gst-inspect-1.0 pocketsphinx
gave me
No such element or plugin 'pocketshpinx' .
P.S. my GST_PLUGIN_PATH at that time was
/usr/local/lib/gstreamer-1.0
Initially from the config.log I thought it was due to the .pc file not copied at the correct place.
So immediately I ran this copying step before configuring:
From another angle,
If I don't copy the three .pc file but use this command
export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
the result is that the./config --prefex=/usr/local and make install worked fine. However the inspect command still says the same error: No such element or plugin 'pocketshpinx' .
Last edit: Cindy Chang 2019-02-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edited: this problem is solved. Please see my comments below.
Ubuntu version 18 or 16(in my mac)
After installing sphixbase, pocketsphinx(using --prefix=/usr/local/ option when configuring), and gstreamer, the command
gst-inspect-1.0 pocketsphinx
gave me
P.S. my GST_PLUGIN_PATH at that time was
Initially from the config.log I thought it was due to the .pc file not copied at the correct place.
So immediately I ran this copying step before configuring:
After copying, I re-ran
./configure --prefix=/usr/local/
Now the config.log has no error msg about gstreamer. Then I re-ran
sudo make install
Afterwards, I re-ran
gst-inspect-1.0 pocketsphinx
It gave me
Also did:
inside config.log:
What went wrong? Thanks.
Last edit: Cindy Chang 2019-02-02
From another angle,
If I don't copy the three .pc file but use this command
Last edit: Cindy Chang 2019-02-02
For your information,
Running
gst-inspect-1.0 -b
, I saw these msgs:Blacklisted files:
libpocketsphinx.so
libgstpocketsphinx.so
[solved]
Run
Then run
The libgstpocketsphinx.so is no loger in the blacklist.
Then run
The terminal outputs message indecating success.