[Home]

Summary:ASTERISK-03221: Speex Makefile header location
Reporter:denon (denon)Labels:
Date Opened:2005-01-08 16:35:03.000-0600Date Closed:2008-01-15 15:21:27.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/CodecInterface
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:More or less trivial, but it seems that Speex 1.1.6, built from source, puts speex.h into /usr/local/include/speex/speex.h, which the Asterisk/codecs/Makefile doesn't check for.

I modified my MODSPEEX to:
MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so")

and a CFLAGS of:
CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex")

and everything works perfectly. I didn't check the install location of 1.0.4, but I suspect it's just an issue on 1.1.6.
Comments:By: Clod Patry (junky) 2005-01-09 08:29:36.000-0600

can you provide this as an attachment (diff -u format) ?

By: Mark Spencer (markster) 2005-01-09 14:35:16.000-0600

Fixed in CVS

By: Russell Bryant (russell) 2005-01-12 22:18:24.000-0600

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:20:56.000-0600

Repository: asterisk
Revision: 4739

U   trunk/codecs/Makefile

------------------------------------------------------------------------
r4739 | markster | 2008-01-15 15:20:55 -0600 (Tue, 15 Jan 2008) | 2 lines

Handle speex subdirectories peroperly (bug ASTERISK-3221)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4739

By: Digium Subversion (svnbot) 2008-01-15 15:21:27.000-0600

Repository: asterisk
Revision: 4775

U   branches/v1-0/codecs/Makefile

------------------------------------------------------------------------
r4775 | russell | 2008-01-15 15:21:26 -0600 (Tue, 15 Jan 2008) | 2 lines

look in another location for speex.h (bug ASTERISK-3221)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4775