devilock76 has asked for the wisdom of the Perl Monks concerning the following question:

I have been trying to install this module via CPANM with no luck. Pocketsphinx and and libsamplerate and all the needed libraries and dev pieces have been installed. I have tried this on an Ubuntu 14.04 box and a mint 17 box. Might try it on debian as well but I cannot figure out what is the problem. Here is the build log output:
cpanm (App::cpanminus) 1.7042 on perl 5.024001 built for x86_64-linux Work directory is /home/superfly/.cpanm/work/1488249050.20251 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.27.1 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Speech::Recognizer::SPX () on cpanmetadb ... --> Working on Speech::Recognizer::SPX Fetching http://www.cpan.org/authors/id/D/DJ/DJHD/Speech-Recognizer-SP +X-0.09.tar.gz -> OK Unpacking Speech-Recognizer-SPX-0.09.tar.gz Entering Speech-Recognizer-SPX-0.09 Checking configure dependencies from META.yml Configuring Speech-Recognizer-SPX-0.09 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Audio::MFCC Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Audio::SPX Writing MYMETA.yml and MYMETA.json Generating a Unix-style Makefile Writing Makefile for Speech::Recognizer::SPX Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Time::HiRes 0 ... Yes (1.9733) Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10_02) Building and testing Speech-Recognizer-SPX-0.09 cp SPX/Server.pm blib/lib/Speech/Recognizer/SPX/Server.pm cp SPX/Config.pm blib/lib/Speech/Recognizer/SPX/Config.pm cp SPX.pm blib/lib/Speech/Recognizer/SPX.pm make[1]: Entering directory `/home/superfly/.cpanm/work/1488249050.202 +51/Speech-Recognizer-SPX-0.09/FE' cp MFCC.pm ../blib/lib/Audio/MFCC.pm Running Mkbootstrap for Audio::MFCC () chmod 644 "MFCC.bs" "/home/superfly/perl5/perlbrew/perls/perl-5.24.1/bin/perl" "/home/supe +rfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/ExtUtils/xsubpp" -t +ypemap "/home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/Ex +tUtils/typemap" MFCC.xs > MFCC.xsc && mv MFCC.xsc MFCC.c Please specify prototyping behavior for MFCC.xs (see perlxs manual) cc -c -I/usr/include/sphinxbase -I/usr/include/pocketsphinx -fwrapv + -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D +_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -DVERSION=\"0.02\" +-DXS_VERSION=\"0.02\" -fPIC "-I/home/superfly/perl5/perlbrew/perls/pe +rl-5.24.1/lib/5.24.1/x86_64-linux/CORE" MFCC.c MFCC.xs: In function ‘XS_Audio__MFCC_init’: MFCC.xs:279:3: error: unknown type name ‘param_t’ param_t par; ^ MFCC.xs:289:12: error: request for member ‘SAMPLING_RATE’ in something + not a structure or union par.SAMPLING_RATE = SvIV(*helm); ^ MFCC.xs:292:12: error: request for member ‘FRAME_RATE’ in something no +t a structure or union par.FRAME_RATE = SvIV(*helm); ^ MFCC.xs:295:12: error: request for member ‘WINDOW_LENGTH’ in something + not a structure or union par.WINDOW_LENGTH = SvIV(*helm); ^ MFCC.xs:298:12: error: request for member ‘FB_TYPE’ in something not a + structure or union par.FB_TYPE = SvIV(*helm); ^ MFCC.xs:301:12: error: request for member ‘NUM_CEPSTRA’ in something n +ot a structure or union par.NUM_CEPSTRA = SvIV(*helm); ^ MFCC.xs:304:12: error: request for member ‘NUM_FILTERS’ in something n +ot a structure or union par.NUM_FILTERS = SvIV(*helm); ^ MFCC.xs:307:12: error: request for member ‘FFT_SIZE’ in something not +a structure or union par.FFT_SIZE = SvIV(*helm); ^ MFCC.xs:310:12: error: request for member ‘LOWER_FILT_FREQ’ in somethi +ng not a structure or union par.LOWER_FILT_FREQ = SvIV(*helm); ^ MFCC.xs:313:12: error: request for member ‘UPPER_FILT_FREQ’ in somethi +ng not a structure or union par.UPPER_FILT_FREQ = SvIV(*helm); ^ MFCC.xs:316:12: error: request for member ‘PRE_EMPHASIS_ALPHA’ in some +thing not a structure or union par.PRE_EMPHASIS_ALPHA = SvIV(*helm); ^ MFCC.xs:317:10: warning: assignment makes pointer from integer without + a cast [enabled by default] RETVAL = fe_init(&par); ^ In file included from MFCC.xs:12:0: MFCC.xs: In function ‘XS_fe_tPtr_process_utt’: MFCC.xs:348:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1994:9: note: in expansion of macro ‘_MEM_WRAP_NEEDS_R +UNTIME_CHECK’ ((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:348:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ MFCC.xs:348:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:348:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ In file included from /home/superfly/perl5/perlbrew/perls/perl-5.24.1/ +lib/5.24.1/x86_64-linux/CORE/perl.h:2684:0, from MFCC.xs:12: MFCC.xs:348:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2077:35: note: in definition of macro ‘MEM_LOG_ALLOC’ #define MEM_LOG_ALLOC(n,t,a) (a) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:348:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ MFCC.xs:349:22: error: dereferencing pointer to incomplete type for (j = 0; j < fe->NUM_CEPSTRA; ++j) ^ In file included from /home/superfly/perl5/perlbrew/perls/perl-5.24.1/ +lib/5.24.1/x86_64-linux/CORE/perl.h:5615:0, from MFCC.xs:12: MFCC.xs:352:20: error: dereferencing pointer to incomplete type vec = av_make(fe->NUM_CEPSTRA, svs); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/embed.h:59:42: note: in definition of macro ‘av_make’ #define av_make(a,b) Perl_av_make(aTHX_ a,b) ^ MFCC.xs:354:22: error: dereferencing pointer to incomplete type for (j = 0; j < fe->NUM_CEPSTRA; ++j) ^ In file included from MFCC.xs:12:0: MFCC.xs: In function ‘XS_fe_tPtr_end_utt’: MFCC.xs:370:27: error: dereferencing pointer to incomplete type New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1994:9: note: in expansion of macro ‘_MEM_WRAP_NEEDS_R +UNTIME_CHECK’ ((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:370:3: note: in expansion of macro ‘New’ New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ MFCC.xs:370:27: error: dereferencing pointer to incomplete type New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:370:3: note: in expansion of macro ‘New’ New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ In file included from /home/superfly/perl5/perlbrew/perls/perl-5.24.1/ +lib/5.24.1/x86_64-linux/CORE/perl.h:2684:0, from MFCC.xs:12: MFCC.xs:370:27: error: dereferencing pointer to incomplete type New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2077:35: note: in definition of macro ‘MEM_LOG_ALLOC’ #define MEM_LOG_ALLOC(n,t,a) (a) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:370:3: note: in expansion of macro ‘New’ New(0xc0debabe, cepv, fe->NUM_CEPSTRA, float32); ^ In file included from MFCC.xs:12:0: MFCC.xs:379:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1994:9: note: in expansion of macro ‘_MEM_WRAP_NEEDS_R +UNTIME_CHECK’ ((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:379:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ MFCC.xs:379:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3668:62: note: in definition of macro ‘EXPECT’ # define EXPECT(expr,val) __builtin_expect(expr,val +) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/perl.h:3673:52: note: in expansion of macro ‘cBOOL’ #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:9: note: in expansion of macro ‘UNLIKELY’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:1998:18: note: in expansion of macro ‘_MEM_WRAP_WILL_W +RAP’ (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2005:30: note: in expansion of macro ‘MEM_WRAP_CHECK’ #define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2086:27: note: in expansion of macro ‘MEM_WRAP_CHECK_’ #define Newx(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t, +safemalloc((MEM_SIZE)((n)*sizeof(t)))))) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:379:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ In file included from /home/superfly/perl5/perlbrew/perls/perl-5.24.1/ +lib/5.24.1/x86_64-linux/CORE/perl.h:2684:0, from MFCC.xs:12: MFCC.xs:379:27: error: dereferencing pointer to incomplete type New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2077:35: note: in definition of macro ‘MEM_LOG_ALLOC’ #define MEM_LOG_ALLOC(n,t,a) (a) ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/handy.h:2092:22: note: in expansion of macro ‘Newx’ #define New(x,v,n,t) Newx(v,n,t) ^ MFCC.xs:379:4: note: in expansion of macro ‘New’ New(0xdeadbeef, svs, fe->NUM_CEPSTRA, SV *); ^ MFCC.xs:380:22: error: dereferencing pointer to incomplete type for (i = 0; i < fe->NUM_CEPSTRA; ++i) ^ In file included from /home/superfly/perl5/perlbrew/perls/perl-5.24.1/ +lib/5.24.1/x86_64-linux/CORE/perl.h:5615:0, from MFCC.xs:12: MFCC.xs:383:20: error: dereferencing pointer to incomplete type vec = av_make(fe->NUM_CEPSTRA, svs); ^ /home/superfly/perl5/perlbrew/perls/perl-5.24.1/lib/5.24.1/x86_64-linu +x/CORE/embed.h:59:42: note: in definition of macro ‘av_make’ #define av_make(a,b) Perl_av_make(aTHX_ a,b) ^ MFCC.xs:385:22: error: dereferencing pointer to incomplete type for (i = 0; i < fe->NUM_CEPSTRA; ++i) ^ make[1]: *** [MFCC.o] Error 1 make[1]: Leaving directory `/home/superfly/.cpanm/work/1488249050.2025 +1/Speech-Recognizer-SPX-0.09/FE' make: *** [subdirs] Error 2 -> FAIL Installing Speech::Recognizer::SPX failed. See /home/superfly/ +.cpanm/work/1488249050.20251/build.log for details. Retry with --forc +e to force install it.

Replies are listed 'Best First'.
Re: Problem installing Speech::Recognizer::SPX
by Anonymous Monk on Feb 28, 2017 at 03:28 UTC
      That accurately describes what I am finding... Hmmm 8+ year old bug is still current and sphinxbase has moved on several versions... I guess this module is not maintained. Are there any other more current options for speech recognition in perl?
        I am not thinking I have the skills to fix the module. Would be nice. But I have noticed that current versions of pocketsphinx have command line options so perhaps I could just call it with options from perl to do what I need to do.