On Sun, 25 Jan 2009, Karun Gahlawat wrote:
Prof Ripely,
Thanks. SUN gnu-iconv package should overwrite the sun version and so
it does. Apparently, it does not work.
As I said, you also need to pick up the correct header.
I built this library from gnu source with gcc and now it configures
and builds but fails on make check for regressions.
This topic is touched in the manual with some 'blas' and 'lapack'
libraries. Not sure if these are related though. I am not sure either
where and what to get for this. Apologize as this is all new to me.
You need to look at the end of tests/reg-tests-1.R to see the error.
BTW< according to the posting guide this topic was for the R-devel
list.
Here is the extract from make check logs..
running code in 'reg-tests-1.R' ...*** Error code 1
The following command caused the error:
LC_ALL=C SRCDIR=. R_DEFAULT_PACKAGES= ../bin/R --vanilla <
reg-tests-1.R > reg-tests-1.Rout 2>&1 || (mv reg-tests-1.Rout
reg-tests-1.Rout.fail && exit 1)
make: Fatal error: Command failed for target `reg-tests-1.Rout'
Current working directory /opt/R-2.8.1/tests
*** Error code 1
The following command caused the error:
make reg-tests-1.Rout reg-tests-2.Rout reg-IO.Rout reg-IO2.Rout
reg-plot.Rout reg-S4.Rout RVAL_IF_DIFF=1
make: Fatal error: Command failed for target `test-Reg'
Current working directory /opt/R-2.8.1/tests
*** Error code 1
The following command caused the error:
for name in Examples Specific Reg Internet; do \
make test-${name} || exit 1; \
done
make: Fatal error: Command failed for target `test-all-basics'
Current working directory /opt/R-2.8.1/tests
*** Error code 1
The following command caused the error:
(cd tests && make check)
make: Fatal error: Command failed for target `check'
On Sun, Jan 25, 2009 at 2:05 PM, Prof Brian Ripley
<rip...@stats.ox.ac.uk> wrote:
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
<lig...@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, rip...@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
--
Brian D. Ripley, rip...@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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.