[Bug 8018] New: configure doesn't find iconv library
samba-bugs at samba.org
samba-bugs at samba.org
Wed Mar 16 13:29:15 MDT 2011
https://bugzilla.samba.org/show_bug.cgi?id=8018
Summary: configure doesn't find iconv library
Product: rsync
Version: 3.0.8
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: mike at bombich.com
QAContact: rsync-qa at samba.org
Created attachment 6296
--> https://bugzilla.samba.org/attachment.cgi?id=6296
Adds "AC_SEARCH_LIBS(iconv, iconv)" to configure.ac
The configure script looks for libiconv_open when determining if support is
available for iconv. It should look for simply "iconv" on Mac OS X. I have
attached a patch to adds this search criteria to configure.ac.
[bombich:~/Desktop/rsync-3.0.8] ./configure | grep iconv
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing libiconv_open... no
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for iconv_open... no
checking for libiconv_open... no
[bombich:~/Desktop/rsync-3.0.8] make
...
[bombich:~/Desktop/rsync-3.0.8] ./rsync --version
rsync version 3.0.8pre1 protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, no iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
[bombich:~/Desktop/rsync-3.0.8] patch -p1 < ~/Desktop/rsync-iconv-osx.diff
patching file configure.ac
[bombich:~/Desktop/rsync-3.0.8] make reconfigure | grep iconv
running CONFIG_SHELL=/bin/sh /bin/sh
/Users/bombich/Desktop/rsync-3.0.8/configure.sh --no-create
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv... -liconv
checking for library containing libiconv_open... no
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft,
char * *outbuf, size_t *outbytesleft);
checking for iconv_open... yes
[bombich:~/Desktop/rsync-3.0.8] make
...
[bombich:~/Desktop/rsync-3.0.8] ./rsync --version
rsync version 3.0.8pre1 protocol version 30
Copyright (C) 1996-2011 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list