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

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Aug 19 19:32:18 CEST 2009


Why not try to compile R-patched, aka 2.9.2 RC?

It works for me on Mac OS X, but then 2.9.1 did too?


On Wed, 19 Aug 2009, 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:

But is libiconv?  It is the C function that it is not finding, not the 
executable.  (It might be part of Xcode: both my Macs have Xcode 3.1.2 
on, so I can't tell.)  E.g.

tystie% otool -L ~/R/R-patched/lib/i386/libR.dylib | grep iconv
 	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)


> 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?
>
> Thank you very much,
>
> benilton
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac

-- 
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-SIG-Mac mailing list