[asterisk-bugs] [Asterisk 0015169]: When building with uClibc, configure script mistakenly assumes iconv is always available
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Aug 25 17:40:29 CDT 2009
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=15169
======================================================================
Reported By: pprindeville
Assigned To: tilghman
======================================================================
Project: Asterisk
Issue ID: 15169
Category: Functions/func_iconv
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Asterisk Version: 1.6.1.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-05-21 02:10 CDT
Last Modified: 2009-08-25 17:40 CDT
======================================================================
Summary: When building with uClibc, configure script
mistakenly assumes iconv is always available
Description:
I'm building i586 images for Astlinux using gcc and the uClibc libraries,
but I can't build func_iconv.c because there is no <iconv.h> supplied by
uClibc.
Nor is there a way to turn off func_iconv.c. I've tried "./configure ...
--with-iconv=no ..." but it still gets turned on.
Seems to come down to:
if test "${host_os}" != "linux-gnu" ; then
AST_EXT_LIB_CHECK([ICONV], [iconv], [iconv_open], [iconv.h])
else
PBX_ICONV=1
fi
which erroneously assumes that building with gcc on Linux means you have
iconv.h ... it doesn't mean that at all (at least not for uClibc users).
Turning off iconv (a la --with-iconv=no) should also turn off PBX_ICONV.
======================================================================
----------------------------------------------------------------------
(0109647) svnbot (reporter) - 2009-08-25 17:40
https://issues.asterisk.org/view.php?id=15169#c109647
----------------------------------------------------------------------
Repository: asterisk
Revision: 214152
U trunk/configure
U trunk/configure.ac
U trunk/include/asterisk/autoconfig.h.in
------------------------------------------------------------------------
r214152 | tilghman | 2009-08-25 17:40:28 -0500 (Tue, 25 Aug 2009) | 4
lines
Not all versions of gnu-linux use glibc, which contains iconv. Some
(especially embedded systems) don't have iconv at all.
(closes issue https://issues.asterisk.org/view.php?id=15169)
Reported by: pprindeville
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=214152
Issue History
Date Modified Username Field Change
======================================================================
2009-08-25 17:40 svnbot Note Added: 0109647
2009-08-25 17:40 svnbot Status new => assigned
2009-08-25 17:40 svnbot Assigned To => tilghman
2009-08-25 17:40 svnbot Status assigned => resolved
2009-08-25 17:40 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list