[asterisk-bugs] [Asterisk 0016342]: [patch] configure fails to detect spandsp/expose.h when not in system include path

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 24 10:15:09 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16342 
====================================================================== 
Reported By:                bklang
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16342
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-28 17:04 CST
Last Modified:              2010-06-24 10:15 CDT
====================================================================== 
Summary:                    [patch] configure fails to detect spandsp/expose.h
when not in system include path
Description: 
configure has a flag to specify the path to spandsp, if it is not installed
into the system default path.  This works well for most of the spandsp
checks (such as spandsp.h), however it fails to properly detect the
spandsp/expose.h header.  This is partly due to the fact that the autoconf
check is different (AC_CHECK_HEADER vs. AST_EXT_LIB_CHECK) and so does not
inherit the proper CFLAGS.
====================================================================== 

---------------------------------------------------------------------- 
 (0123823) bklang (reporter) - 2010-06-24 10:15
 https://issues.asterisk.org/view.php?id=16342#c123823 
---------------------------------------------------------------------- 
I saw this ticket was listed in the recent post on the Asterisk-Users
mailing list as one that is Ready For Testing.  I just tried the patch
again, against the latest 1.6.2 SVN checkout, and it still does not work:

./configure --prefix=/opt/asterisk --with-spandsp=/opt/spandsp
<snip output>
checking for minimum version of SpanDSP... yes
checking for span_set_message_handler in -lspandsp... yes
checking spandsp.h usability... yes
checking spandsp.h presence... yes
checking for spandsp.h... yes
checking for t38_terminal_init in -lspandsp... yes
checking for spandsp.h... (cached) yes
checking spandsp/expose.h usability... no
checking spandsp/expose.h presence... no
checking for spandsp/expose.h... no
<snip more>
checking for mandatory modules:  SPANDSP SPANDSP_EXPOSE_H... fail

configure: ***
configure: *** The SPANDSP_EXPOSE_H installation appears to be missing or
broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-spandsp. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-24 10:15 bklang         Note Added: 0123823                          
======================================================================




More information about the asterisk-bugs mailing list