Re: [Rd] problems with iconv

From: Prof Brian Ripley <>
Date: Tue, 13 Dec 2011 19:29:18 +0000

On 13/12/2011 17:12, RogerP wrote:
> I'm at wit's ends here and need some help.

Like reading the manual?

You need to ensure that GNU libiconv is actually used: you are obviously not finding it, and I suspect your error is in not setting the path to its header file.

There are explicit instructions for libiconv on Solaris in the manual which the INSTALL file asked you to read before trying to install R and to resolve any problems.

> I've downloaded and compiled iconv versions 1.13 and 1.14 -
> and 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
> no
> 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,
> roger
> --
> View this message in context:
> Sent from the R devel mailing list archive at
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Tue 13 Dec 2011 - 19:31:27 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 13 Dec 2011 - 23:50:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive