2016-12-09 19:32:41 |
Silvano Sallese |
description |
Hi,
This bug appears in more than one Ubuntu 16.04.1 system where I install the libsphinxbase-dev package through apt.
Some include files have wrong path to the sphinx_config.h header file.
When compiling my code, the header files listed below cause to tell that there is not a sphinx_config.h file (but it's located in /usr/include/x86_64-linux-gnu/sphinxbase/).
In order to compile my code I had to modify the following .h files under the /usr/include/x86_64-linux-gnu/sphinxbase/ system path.
The following corrections solved the issue.
In the file /usr/include/x86_64-linux-gnu/sphinxbase/ad.h at line 44
In the file /usr/include/x86_64-linux-gnu/sphinxbase/prim_type.h at line 88
In the file /usr/include/x86_64-linux-gnu/sphinxbase/sbthread.h at line 46
changed from this
#include <sphinx_config.h>
to this
#include <sphinxbase/sphinx_config.h>
I hope this could help to update the package.
I use sphinxbase on other systems and I hope in the future I don't need to touch the system files.
For completeness:
- this is not happening on Ubuntu 14.04.* systems, but I know the versions are heavily different.
- Source: http://archive.ubuntu.com/ubuntu/pool/universe/s/sphinxbase/sphinxbase_0.8+5prealpha.orig.tar.gz
the files are in /sphinxbase-5prealpha/include/sphinxbase/
- Package: libsphinxbase-dev
- Package version: 0.8+5prealpha-2ubuntu1
Thank you.
Best regards,
Silvano |
Hi,
This bug appears in more than one Ubuntu 16.04.1 system where I install the libsphinxbase-dev package through apt.
Some include files have wrong path to the sphinx_config.h header file.
When compiling my code, the header files listed below cause to tell that there is not a sphinx_config.h file (but it's located in /usr/include/x86_64-linux-gnu/sphinxbase/).
In order to compile my code I had to modify the following .h files under the /usr/include/x86_64-linux-gnu/sphinxbase/ system path.
The following corrections solved the issue.
In the file /usr/include/x86_64-linux-gnu/sphinxbase/ad.h at line 44
In the file /usr/include/x86_64-linux-gnu/sphinxbase/prim_type.h at line 88
In the file /usr/include/x86_64-linux-gnu/sphinxbase/sbthread.h at line 46
changed from this
#include <sphinx_config.h>
to this
#include <sphinxbase/sphinx_config.h>
I hope this could help to update the package.
I use sphinxbase on other systems and I hope in the future I don't need to touch the system files.
For completeness:
- this is not happening on Ubuntu 14.04.* systems, but I know the versions are heavily different.
- Source: http://archive.ubuntu.com/ubuntu/pool/universe/s/sphinxbase/sphinxbase_0.8+5prealpha.orig.tar.gz
the files are in /sphinxbase-5prealpha/include/sphinxbase/
- Package: libsphinxbase-dev
- Package version: 0.8+5prealpha-2ubuntu1
Thank you.
Best regards,
Silvano |
|