← Back to team overview

dx-packages team mailing list archive

[Bug 1648877] Re: Wrong include path to sphinx_config.h

 

Hi,

Although on Xenial the problem is solved, I'm having same problem on
Bionic where is installed the libsphinxbase-dev 0.8+5prealpha+1-1.

I need to modify the following sources:

/usr/include/x86_64-linux-gnu/sphinxbase/ad.h
/usr/include/x86_64-linux-gnu/sphinxbase/prim_type.h

changing from "#include <sphinx_config.h>" to #include
<sphinxbase/sphinx_config.h>.

Thanks.

Regards, 
 Silvano

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

Title:
  Wrong include path to sphinx_config.h

Status in sphinxbase package in Ubuntu:
  Fix Released

Bug 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

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


References