[R-SIG-Mac] Compiling R-2.9.1 from the source

Benilton Carvalho bcarvalh at jhsph.edu
Wed Aug 19 20:50:08 CEST 2009


Hi,

I didn't expect to have anything outside standard locations... but  
looking at config.log, I noticed it was looking for libiconv in /usr/ 
local/lib (strange... but I do have libiconv* files there - I can't  
explain how).

Setting CPPFLAGS and LIBS correctly fixed the problem.

Thank you very much,

b

On Aug 19, 2009, at 3:06 PM, Simon Urbanek wrote:

>
> On Aug 19, 2009, at 13:14 , Benilton Carvalho wrote:
>
>> Hi,
>>
>> I was hoping to be to able to compile R-2.9.1 from the source as
>> I've always done.
>>
>> './configure' always worked nice, but now it fails to find 'iconv',
>> which is installed:
>>
>> bcarvalh$ which iconv
>> /usr/bin/iconv
>>
>> bcarvalh$ iconv --version
>> iconv (GNU libiconv 1.11)
>> Copyright (C) 2000-2006 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There
>> is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>> PURPOSE.
>> Written by Bruno Haible.
>>
>>
>> Here's what I get with ./configure
>>
>> checking iconv.h usability... yes
>> checking iconv.h presence... yes
>> checking for iconv.h... yes
>> checking for iconv... no
>> checking for iconvlist... no
>> configure: error: --with-iconv=yes (default) and a suitable iconv is
>> not available
>>
>>
>> I'm running Mac OS X 10.5.8... any ideas on what I may be missing?
>> Or suggestions on what to report in order to try to find the source
>> of the problem?
>>
>
> Chances are that you may have some broken 3rd party iconv - do you
> have any custom stuff in /usr/local, /sw or similar hiding places? The
> right thing to report is config.log since that contains the reason why
> the iconv tests failed ...
>
> Cheers,
> Simon
>
>



More information about the R-SIG-Mac mailing list