Public bug reported:

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

** Affects: sphinxbase (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  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/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>
+ changed from this
+   #include <sphinx_config.h>
  to this
-   #include <sphinxbase/sphinx_config.h>
+   #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.
  
- 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
 
+ - 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
+  Silvano

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1648877

Title:
  Wrong include path to sphinx_config.h

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sphinxbase/+bug/1648877/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to