[asterisk-bugs] [Asterisk 0017314]: [patch] ./configure --with-pri=LIBPATH does not use libpri from LIBPRI_PATH

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Oct 7 15:59:38 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17314 
====================================================================== 
Reported By:                tzafrir
Assigned To:                qwell
====================================================================== 
Project:                    Asterisk
Issue ID:                   17314
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.4.38
Asterisk Version:           SVN 
JIRA:                       SWP-1442 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 268534 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-10 12:58 CDT
Last Modified:              2010-10-07 15:59 CDT
====================================================================== 
Summary:                    [patch] ./configure --with-pri=LIBPATH does not use
libpri from LIBPRI_PATH
Description: 
I have svn branch 1.4 under /usr/src/svn/libpri
I added the required symlinks there so it could be used as if installed.

I try:

  ./configure --with-libpri=/usr/src/svn/libpri

In config.log I see:
configure:33176: checking for pri_connected_line_update in -lpri
configure:33211: gcc -o conftest -g -O2   conftest.c -lpri   -lm  >&5
/usr/bin/ld: cannot find -lpri
collect2: ld returned 1 exit status

Work around:

CFLAGS=-I/usr/src/svn/libpri LDFLAGS=-L/usr/src/svn/libpri ./configure

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017315 pri_cc_enable not in current libpri
====================================================================== 

---------------------------------------------------------------------- 
 (0127794) svnbot (reporter) - 2010-10-07 15:59
 https://issues.asterisk.org/view.php?id=17314#c127794 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 290753

_U  trunk/
U   trunk/autoconf/ast_ext_lib.m4
U   trunk/configure
U   trunk/include/asterisk/autoconfig.h.in

------------------------------------------------------------------------
r290753 | qwell | 2010-10-07 15:59:38 -0500 (Thu, 07 Oct 2010) | 30 lines

Merged revisions 290752 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

................
  r290752 | qwell | 2010-10-07 15:58:47 -0500 (Thu, 07 Oct 2010) | 23
lines
  
  Merged revisions 290751 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.6.2
  
  ................
    r290751 | qwell | 2010-10-07 15:57:14 -0500 (Thu, 07 Oct 2010) | 16
lines
    
    Merged revisions 290750 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.4
    
    ........
      r290750 | qwell | 2010-10-07 15:56:04 -0500 (Thu, 07 Oct 2010) | 9
lines
      
      Allow PRI to build properly when using --with-pri.
      
      Use the directories found for the parent when using lib
dependencies.
      
      (closes issue https://issues.asterisk.org/view.php?id=17314)
      Reported by: tzafrir
      Patches: 
            17314-withdeps.diff uploaded by qwell (license 4)
    ........
  ................
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-07 15:59 svnbot         Checkin                                      
2010-10-07 15:59 svnbot         Note Added: 0127794                          
======================================================================




More information about the asterisk-bugs mailing list