[R] Build Error on Opensolaris iconvlist
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Jan 25 20:05:59 CET 2009
On Sun, 25 Jan 2009, Karun Gahlawat wrote:
> Uwe,
> Sorry I missed it. I do have gnu iconv..
> SUNWgnu-libiconv
>
> ls -lra /usr/lib/*iconv* | more
> lrwxrwxrwx 1 root root 14 Jan 23 21:23 /usr/lib/libiconv.so -> li
> bgnuiconv.so
> lrwxrwxrwx 1 root root 22 Jan 23 21:23 /usr/lib/libgnuiconv.so ->
> ../gnu/lib/libiconv.so
>
> And hence the confusion..
Did you tell R to use that one? You need the correct header files set
as well as the library, or you will get the system iconv. (The header
file remaps the entry point names.)
Perhaps you need to study the R-admin manual carefully, which
describes how to get the correct iconv.
> On Sat, Jan 24, 2009 at 1:00 PM, Uwe Ligges
> <ligges at statistik.tu-dortmund.de> wrote:
>>
>>
>> Karun Gahlawat wrote:
>>>
>>> Hi!
>>>
>>> Trying to build R-2.8.1. while configuring, it throws error
>>>
>>> ./configure
>>>
>>> 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" and "UCS-*"... no
>>> checking for iconvlist... no
>>> configure: error: --with-iconv=yes (default) and a suitable iconv is
>>> not available
>>>
>>> I am confused.. sorry new to this..
>>> I can see the iconv binary, headers and libs all in the standard
>>> directory. Please help or redirect!
>>
>>
>> Please read the documentation, the R Installation and Administration manuals
>> tells you:
>>
>> "You will need GNU libiconv: the Solaris version of iconv is not
>> sufficiently powerful. "
>>
>> Uwe Ligges
>>
>>
>>> SunOS 5.11 snv_101b i86pc i386 i86pc
>>>
>>> CC: Sun Ceres C++ 5.10 SunOS_i386 2008/10/22
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list