During install I get this error when running make

Get help with installing, upgrading and running Asterisk.

Moderators: muppetmaster, Moderator, Support

During install I get this error when running make

Postby urtkarts » Fri Dec 11, 2015 12:54 pm

Hello all,

New to asterisk and trying to get it installed to test. When running the "Make" command I get this fatal error:

[CC] codec_speex.c -> codec_speex.o
codec_speex.c:50:36: fatal error: speex/speex_preprocess.h: No such file or dire
ctory
compilation terminated.
/usr/local/src/asterisk-13.6.0/Makefile.rules:123: recipe for target 'codec_spee
x.o' failed
make[1]: *** [codec_speex.o] Error 1
Makefile:393: recipe for target 'codecs' failed
make: *** [codecs] Error 2

I made sure speex was installed so not sure what else to try

Thanks,
Tony
urtkarts
Newsterisk
 
Posts: 4
Joined: Sat Dec 05, 2015 11:10 am

Re: During install I get this error when running make

Postby mkozusnik » Fri Dec 11, 2015 10:18 pm

Run:
./configure
then
make menuconfig

Look for codec_speex. It says it requires the following:

Speex Coder/Decoder
Depends on: speex(E), speex_preprocess(E)
Can use: speexdsp(E)

Must be missing one of the *-dev (or *-devel) packages.

Maybe one, or both, of these? I don't use speex, but have run into package issues.
libspeex-dev - The Speex codec library development files
libspeexdsp-dev - The Speex extended library development files
mkozusnik
Newsterisk
 
Posts: 45
Joined: Fri Nov 13, 2015 8:31 am
Location: Wheeling, WV

Re: [solved] During install I get this error when running make

Postby urtkarts » Sat Dec 12, 2015 6:35 am

Thank you very much for your reply and pointing me in the right direction.
The correct solution was to install speexdsp-devel

Thanks again,

Tony
urtkarts
Newsterisk
 
Posts: 4
Joined: Sat Dec 05, 2015 11:10 am


Return to Asterisk Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest