[Home]

Summary:ASTERISK-00721: [patch] cdr_odbc not built with default unixODBC install
Reporter:iain (iain)Labels:
Date Opened:2003-12-28 13:35:06.000-0600Date Closed:2008-01-15 14:39:34.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) cdr_odbc_Makefile.diff.txt
Description:unixODBC defaults to installing libraries, includes  etc below /usr/local.  The Makefile for cdr_odbc assumes installation in /usr and won't build the cdr module if the user has accepted the default unixODBC locations.  Easy fix is to add this to the Makefile:

MODS+=$(shell if [ -f "/usr/local/include/odbcinst.h" ]; then echo "cdr_odbc.so"; fi)
Comments:By: jerjer (jerjer) 2003-12-28 14:30:30.000-0600

Applied to cvs

By: Digium Subversion (svnbot) 2008-01-15 14:39:34.000-0600

Repository: asterisk
Revision: 1885

U   trunk/cdr/Makefile

------------------------------------------------------------------------
r1885 | jeremy | 2008-01-15 14:39:33 -0600 (Tue, 15 Jan 2008) | 2 lines

check another possible location for unix-odbc install. Bug ASTERISK-721

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

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