From kasperdanielhansen at gmail.com  Tue Dec 13 22:56:30 2011
From: kasperdanielhansen at gmail.com (Kasper Daniel Hansen)
Date: Tue, 13 Dec 2011 16:56:30 -0500
Subject: [Rd] problems with iconv
In-Reply-To: <4EE7C608.9070906@statistik.tu-dortmund.de>
References: <1323796332274-4191177.post@n4.nabble.com>
	<4EE7A78E.7060401@stats.ox.ac.uk>
	<1323808345478-4191892.post@n4.nabble.com>
	<4EE7C608.9070906@statistik.tu-dortmund.de>
Message-ID: <CAC2h7ut=ts1BBRAuTc=GTZJX286yw1g+7jMp-vjN4W-y4jEhYA@mail.gmail.com>

Roger,

Since Ripley is usually right, if I was you, I would focus on

"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."

Based on your description

"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."

I would guess you have not copied over the header files.  Although
that is really hard to guess since you don't provide any details.  It
certainly sounds like you have done some hacking.

I agree that it can sometimes be bewildering to figure out which
library gets picked up from the output ... but the way configure works
on R is the same as for almost all other unix tools.  And you can see
the compiler command on the command line.

Kasper

2011/12/13 Uwe Ligges <ligges at statistik.tu-dortmund.de>:
> Please cite the original messages!
>
>
>
> On 13.12.2011 21:32, RogerP wrote:
>>
>> As I said in my email: help I appreciate - sarcasm not so much.
>>
>> I re-read the manual - just in case I'd missed something and still do not
>> have any idea. ?The manual, BTW, needs some serious help for it to be
>> useful
>> to its intended audiance - people who don't already know how to install R.
>> For example, too many times example are given as to what changes to make,
>> but oh, there is no mention of where to make the changes. ?It is assumed
>> that the reader knows where to make the changes.
>
>
> Where are the patches to improve that?
>
>
>
>> Anyway, configure states that if found the iconv header - iconv.h, which i
>> put in the includes directory. ?It says it finds iconv - though it does
>> not
>> say where.
>>
>> Anyone with some useful help?
>
>
> You altready got useful help but you are not accepting it.
>
> Please read the manual and follow the advice given there (for R-release in
> Section C.5), as Brian asked you already. If something is not clear enough,
> tell us what you do not understand.
> Saying that it does not work if you do not follow the advice is not helpful
> at all for people who try to help!
>
> Uwe Ligges
>
>
>
>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/problems-with-iconv-tp4191177p4191892.html
>> Sent from the R devel mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] problems with iconv
Kasper Daniel Hansen