[Rd] problems with iconv

RogerP rpickeri at mail.nih.gov
Tue Dec 13 18:12:12 CET 2011

I'm at wit's ends here and need some help.

I've downloaded and compiled iconv versions 1.13 and 1.14  -
libiconv.so.2.5.0 and libiconv.so.2.5.1 and copied the iconv all over,
replacing the native iconv on my Solaris machine.

Still when I try to run the configure I get:

checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for iconv... yes
checking whether iconv accepts "UTF-8", "latin1", "ASCII" and "UCS-*"...
ac_fn_c_try_run  29941
configure: error: a suitable iconv is essential

If I cheat and rig the configure file so that it continues even with the
error, I get a nice version of R that runs several of the demos, but should
I try to update the packages I get:

* installing *source* package 'foreign' ...
** package 'foreign' successfully unpacked and MD5 sums checked
Error in iconv(x, "latin1", "ASCII") :
  unsupported conversion from 'latin1' to 'ASCII'

So, what is wrong with iconv 1.14?  It should be latest and greatest.  What
other iconv should I have used?  Where should I have put iconv?

Thanks very much in advance and I promise to share the binaries with who
ever wants them,

View this message in context: http://r.789695.n4.nabble.com/problems-with-iconv-tp4191177p4191177.html
Sent from the R devel mailing list archive at Nabble.com.

More information about the R-devel mailing list