[Home]

Summary:ASTERISK-18535: [regression] Asterisk 1.8.7.0-rc1: configure error (libpri related)
Reporter:Michael Keuter (mkeuter)Labels:
Date Opened:2011-09-13 11:39:59Date Closed:2011-09-14 13:21:40
Priority:MajorRegression?Yes
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:1.8.7.0 Frequency of
Occurrence
Constant
Related
Issues:
must be completed before resolvingASTERISK-18393 Asterisk 1.8.7.0 Blockers
must be completed before resolvingASTERISK-18532 Asterisk 10.0.0-beta2 Blockers
is the original version of this clone:ASTERISK-18687 CLONE - [regression] Asterisk 1.8.7.0-rc1: configure error (libpri related)
Environment:Astlinux Development Environment on Debian SqueezeAttachments:( 0) config.log
Description:Asterisk 1.8.7.0-rc1 shows an libpri related error when running "configure". libpri 1.4.12 is used (no svn-version!).
This worked fine in 1.8.6.0.

...
checking for LOG_SYSLOG in syslog.h... yes
checking for LOG_UUCP in syslog.h... yes
checking for mandatory modules:  DAHDI ISDNNET LIBXML2 LTDL MISDN PRI PRI_L2_PERSISTENCE PRI_MWI PRI_MCID PRI_CALL_WAITING PRI_AOC_EVENTS PRI_TRANSFER PRI_CCSS PRI_HANGUP_FIX PRI_SUBADDR PRI_CALL_HOLD PRI_CALL_REROUTING PRI_SETUP_KEYPAD PRI_INBANDDISCONNECT PRI_PROG_W_CAUSE PRI_SERVICE_MESSAGES PRI_REVERSE_CHARGE SQLITE3 SRTP SUPPSERV TONEZONE... fail

configure: ***
configure: *** The PRI_L2_PERSISTENCE installation appears to be missing or broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-pri.
make: *** [/home/mk/source-control/astlinux-0.7/build_i586/asterisk-1.8.7.0-rc1/.configured] Error 1
Comments:By: Michael Spiceland (mspiceland) 2011-09-13 13:14:42.731-0500

Michael Keuter,

Could you attach your config.log or at least the part at the top which shows the options passed to the configure script?

Richard Mudgett,

I was able to verify that I get the same thing with 1.8.7.0-rc by simply running './configure --with-pri'.  Like the reporter, I verified this does not happen with 1.8.6.0.  I would have thought that --with-pri would have been the default and would be the same as running ./configure without it.

[r332264|http://svnview.digium.com/svn/asterisk?view=revision&revision=332264] was the change that introduced the change/feature that is likely the root cause here.  It seems likely to be [this|http://svnview.digium.com/svn/asterisk/branches/1.8/configure.ac?r1=332264&r2=332263&pathrev=332264] and/or [this|http://svnview.digium.com/svn/asterisk/branches/1.8/configure?r1=332264&r2=332263&pathrev=332264].


By: Michael Keuter (mkeuter) 2011-09-13 13:43:32.883-0500

@Michael Sp.
I attached the Asterisk 1.8.7.0-rc1 config.log and a URL to the Astlinux makefile.

By: Leif Madsen (lmadsen) 2011-09-19 11:42:25.711-0500

r335911 | rmudgett | 2011-09-14 13:21:35 -0500 (Wed, 14 Sep 2011) | 13 lines


By: Norbert (norbert) 2011-10-04 07:44:32.204-0500

Please revert this change. It breaks the bri_net_ptmp at chan_dahdi.c which need the HAVE_PRI_CALL_HOLD symbol.

To solve this problem remove only the line

AST_EXT_LIB_SETUP_DEPENDENT([PRI_L2_PERSISTENCE], [ISDN Layer 2 persistence option], [PRI], [pri])

from configure.ac