Skip to content
Prev 3002 / 12125 Next

[R-pkg-devel] Replicate solaris errors

In this case, using r-hub while removing the suggested dependencies (and
commenting related unit tests) should work. The drawback is that r-hub for
solaris installs all the dependencies at every build (as far as I
understand), so hunting for a segfault will be extremely time-consuming,
but I will still probably do that if I can't build R on solaris' VM.

I was hoping that other people faced similar issues with replicating
solaris builds. At
https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Solaris, it
is mentioned that "a little juggling of paths was needed to ensure GNU
libiconv (in /usr/local) was used rather than the Solaris iconv". If I
understand correctly, this is done through adding the line
R_LD_LIBRARY_PATH="/opt/developerstudio12.5/lib:/usr/local/lib:/opt/csw/lib"
to config.site (as is done in my gist). However, I don't get why this is
not taken into account when doing ./configure afterwards.

Somewhat related: if being able to build and unit test on an R build for
solaris 10 with solaris studio 12.5 as a compiler is mandatory for a
package to remain on CRAN, why is no such R build on CRAN website? This
would be extremely helpful. Or does someone has more detailed guidelines to
build R for build for solaris 10 with solaris studio 12.5 that would be
targeted at a complete solaris noob? While I appreciate the guidelines in
the R manual and the detailed config.site used for the checks by CRAN (
https://www.stats.ox.ac.uk/pub/bdr/Rconfig/r-patched-solaris-x86), they are
unfortunately insufficient for me, although it's likely due to the fact
that I don't know anything about solaris in the first place.
On Sat, Aug 11, 2018 at 3:29 PM I?aki ?car <i.ucar86 at gmail.com> wrote: