#200 pocketsphinx Perl Module broken api: Speech-Recognizer-SPX

next release
closed
nobody
None
5
2015-04-10
2010-04-12
Anonymous
No

the api changed for pocketsphinx, and the perl module for it no longer builds:

make[1]: Entering directory `/home/user/src/Speech-Recognizer-SPX-0.09/FE'
gcc -c  -I/usr/local/include/sphinxbase -I/usr/local/include/pocketsphinx -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -O2   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   MFCC.c
MFCC.xs: In function ‘XS_Audio__MFCC_init’:
MFCC.xs:279: error: ‘param_t’ undeclared (first use in this function)
MFCC.xs:279: error: (Each undeclared identifier is reported only once
MFCC.xs:279: error: for each function it appears in.)
MFCC.xs:279: error: expected ‘;’ before ‘par’
MFCC.xs:280: warning: ISO C90 forbids mixed declarations and code
MFCC.xs:285: error: ‘par’ undeclared (first use in this function)
MFCC.xs:317: warning: assignment makes pointer from integer without a cast
MFCC.xs: In function ‘XS_fe_tPtr_process_utt’:
MFCC.xs:348: error: dereferencing pointer to incomplete type
MFCC.xs:348: error: dereferencing pointer to incomplete type
MFCC.xs:349: error: dereferencing pointer to incomplete type
MFCC.xs:352: error: dereferencing pointer to incomplete type
MFCC.xs:354: error: dereferencing pointer to incomplete type
MFCC.xs: In function ‘XS_fe_tPtr_end_utt’:
MFCC.xs:370: error: dereferencing pointer to incomplete type
MFCC.xs:370: error: dereferencing pointer to incomplete type
MFCC.xs:379: error: dereferencing pointer to incomplete type
MFCC.xs:379: error: dereferencing pointer to incomplete type
MFCC.xs:380: error: dereferencing pointer to incomplete type
MFCC.xs:383: error: dereferencing pointer to incomplete type
MFCC.xs:385: error: dereferencing pointer to incomplete type
make[1]: *** [MFCC.o] Error 1
make[1]: Leaving directory `/home/user/src/Speech-Recognizer-SPX-0.09/FE'
make: *** [subdirs] Error 2

Discussion

  • Hm, I don't think we going to support this code. Do you really need that perl interface?

     
  • It's okay, I told him to file this bug, because I don't have time to fix it :) I believe he volunteered...

     
  • Perl is really not relevant anymore, sorry

     
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,6 @@
     the api changed for pocketsphinx, and the perl module for it no longer builds:
    
    +~~~~~~~~~~~~~~~~
     make[1]: Entering directory `/home/user/src/Speech-Recognizer-SPX-0.09/FE'
     gcc -c  -I/usr/local/include/sphinxbase -I/usr/local/include/pocketsphinx -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -O2   -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   MFCC.c
     MFCC.xs: In function ‘XS_Audio__MFCC_init’:
    @@ -27,3 +28,4 @@
     make[1]: *** [MFCC.o] Error 1
     make[1]: Leaving directory `/home/user/src/Speech-Recognizer-SPX-0.09/FE'
     make: *** [subdirs] Error 2
    +~~~~~~~~~~~~~~~~
    
    • status: open --> closed
    • Group: --> next release