#11512(ffmpeg:new): pocketsphinx not found using pkg-config
#11512: pocketsphinx not found using pkg-config --------------------------------+-------------------------------------- Reporter: joe | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: git-master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | --------------------------------+-------------------------------------- getting this when running configure: ERROR: pocketsphinx not found using pkg-config Pocketsphinx is definitely installed:
pkg-config --modversion pocketsphinx 5.0.4
debug log: https://github.com/exekutive/logs/blob/main/pocketsphinxconfigdebug.txt -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+---------------------------------- Reporter: joe | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Changes (by joe): * Attachment "pocketsphinxconfigdebug.txt" added. debug log -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+---------------------------------- Reporter: joe | Owner: (none) Type: defect | Status: new Priority: normal | Component: ffmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+---------------------------------- Description changed by joe: Old description:
getting this when running configure: ERROR: pocketsphinx not found using pkg-config
Pocketsphinx is definitely installed:
pkg-config --modversion pocketsphinx 5.0.4
debug log: https://github.com/exekutive/logs/blob/main/pocketsphinxconfigdebug.txt
New description: getting this when running configure: ERROR: pocketsphinx not found using pkg-config Pocketsphinx is definitely installed:
pkg-config --modversion pocketsphinx 5.0.4
Debug log is attached. -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+----------------------------------- Reporter: joe | Owner: (none) Type: defect | Status: closed Priority: normal | Component: ffmpeg Version: git-master | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Changes (by Timo R.): * resolution: => invalid * status: new => closed Comment: Right in your log: test.c:1:10: fatal error: 'pocketsphinx/pocketsphinx.h' file not found And that despite successfully finding it via pkg-config. Your installation of it is just broken in some way. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+----------------------------------- Reporter: joe | Owner: (none) Type: defect | Status: closed Priority: normal | Component: ffmpeg Version: git-master | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+----------------------------------- Comment (by joe): Replying to [comment:2 Timo R.]:
Right in your log: test.c:1:10: fatal error: 'pocketsphinx/pocketsphinx.h' file not found
And that despite successfully finding it via pkg-config. Your installation of it is just broken in some way.
The log file is wrong. The file exists: /opt/homebrew/Cellar/cmu-pocketsphinx/5.0.4/include/pocketsphinx.h pkg-config has the correct path:
pkg-config --cflags pocketsphinx -I/opt/homebrew/Cellar/cmu-pocketsphinx/5.0.4/include -I/opt/homebrew/Cellar/cmu-pocketsphinx/5.0.4/include/pocketsphinx
I reinstalled it anyway, and got the same result. Please re-open the ticket. Thank you. -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+------------------------------------ Reporter: joe | Owner: (none) Type: defect | Status: reopened Priority: normal | Component: ffmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Changes (by joe): * resolution: invalid => * status: closed => reopened -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+------------------------------------ Reporter: joe | Owner: (none) Type: defect | Status: reopened Priority: normal | Component: ffmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by Gyan): If the file exists at `/opt/homebrew/Cellar/cmu-pocketsphinx/5.0.4/include/pocketsphinx.h` then `#include <pocketsphinx/pocketsphinx.h>` will not find it. It should be at `/opt/homebrew/Cellar/cmu- pocketsphinx/5.0.4/include/pocketsphinx/pocketsphinx.h` -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#11512: pocketsphinx not found using pkg-config ------------------------------------+------------------------------------ Reporter: joe | Owner: (none) Type: defect | Status: reopened Priority: normal | Component: ffmpeg Version: git-master | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | ------------------------------------+------------------------------------ Comment (by joe): So the compile script should be using pkgconfig for what it's designed for ... locating dependent package files -- Ticket URL: <https://trac.ffmpeg.org/ticket/11512#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg