From david.kirkby at onetel.net  Sat Jun  7 14:35:11 2008
From: david.kirkby at onetel.net (Dr. David Kirkby)
Date: Sat, 07 Jun 2008 13:35:11 +0100
Subject: [Rd] Fail to call AC_CACHE_CHECK on R 2.7.0 for Solaris
In-Reply-To: <alpine.LFD.1.10.0806071308510.13253@gannet.stats.ox.ac.uk>
References: <484A6EEB.10704@onetel.net>
	<alpine.LFD.1.10.0806071308510.13253@gannet.stats.ox.ac.uk>
Message-ID: <484A807F.5050207@onetel.net>

Prof Brian Ripley wrote:
> This is covered in the 'R Installation and Administration' manual that
> INSTALL asked you to read.  Specifically for Solaris:
>
>  Modern Solaris systems allow a large selection of Open Source software
>  to be installed via @command{pkg-get}: a Sparc Solaris 10 system came
>  with @code{libreadline} and @code{libiconv} and a choice of @code{gcc3}
>  and @code{gcc4} compilers, installed under @file{/opt/csw}.  (You will
>  need GNU @code{libiconv}: the Solaris version of @code{iconv} is not
>  sufficiently powerful.)
>
> R 2.7.0 is documented to build on several versions of Solaris in that 
> manual, so the problem is definitely not 'R on Solaris'.
>
> You analysis is plain wrong.  Search for r_cv_iconv_latin1 in 
> configure and you will see three lines which set it (plus one that 
> checks if it was set in the cache). 


Thanks a lot. Clearly when I compiled R directly, it see my GNU libiconv 
rather than the Sun supplied one, but when built as part of Sage, it see 
the Sun one. That should be easy to fix.

Dave



[Rd] Fail to call AC_CACHE_CHECK on R 2.7.0 for Solaris
Dr. David Kirkby