Re: [Rd] Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed 26 Jul 2006 - 06:37:21 GMT

On Wed, 26 Jul 2006, Latchezar Dimitrov wrote:

> Dear R-developers:
>
> I'm trying to build a 64-bit R-patched_2006-07-24 on SunFire V40z with
> on Solaris OS 10 64-bit kernel and using Sun Studio 11 compilers.
> Everything runs OK until it gets to building package tools (all.R) where
> it fails. Bellow is how I tried it (I can provide any other additional
> info if needed). Any help please?

You seem to have gcc 4.1.1 in your paths, so can you try that instead.

This looks like a fairly fundamental problem with your current build, possibly a mis-compile.

>
> Thank you very much
>
> Latchezar Dimitrov
> Wake Forest Univ. School of Medicine
>
>
>
> root@Huba # echo $PATH
> /opt/SUNWspro/bin:/usr/sbin:/usr/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/
> openwin/bin:/usr/dt/bin:/usr/platform/i86pc/sbin:/opt/SUNWvts/bin:/opt/S
> UNWexplo/bin:/usr/local/bin
> root@Huba # echo $CC
> cc
> root@Huba # echo $CXX
> CC
> root@Huba # echo $CFLAGS
> -xarch=amd64 -xmodel=medium
> root@Huba # echo $CXXFLAGS
> -xarch=amd64 -xmodel=medium
> root@Huba # echo $FCFLAGS
> -xarch=amd64 -xmodel=medium
> root@Huba # echo $FFLAGS
> -xarch=amd64 -xmodel=medium
> root@Huba # echo $LDFLAGS
> -xarch=amd64 -xmodel=medium
> root@Huba # echo $R_BROWSER
> /usr/sfw/bin/mozilla
> root@Huba # echo $r_arch
> amd64
> root@Huba # echo $LD_LIBRARY_PATH
> /usr/openwin/lib:/usr/local/gcc-4.1.1-x86-bootstrap/lib/gcc/i386-pc-sola
> ris2.10/4.1.1/amd64:/usr/local/lib:/usr/local/gcc-4.1.1-x86-bootstrap/li
> b/gcc/i386-pc-solaris2.10/4.1.1/amd64:/usr/local/lib:/usr/local/gcc-4.1.
> 1-x86-bootstrap/lib/gcc/i386-pc-solaris2.10/4.1.1/amd64:/usr/local/lib
> root@Huba #
>
>
> ../src/R-patched_2006-07-24/configure
> --prefix=/opt/R-2.3.1-patched_2006-07-24-Sun_Studio_11 --with-readline
> --disable-mbcs R_PAPERSIZE=letter --disable-rpath --with-bzlib
> --with-zlib --with-spcre --with-tcltk --disable-R-profiling
> --disable-nls
>
>
>
> Error in parseNamespaceFile(package, package.lib, mustExist = FALSE) :
> subscript out of bounds
> Execution halted
> *** Error code 1
> The following command caused the error:
> (cat
> ../../../../src/R-patched_2006-07-24/src/library/tools/R/makeLazyLoad.R;
> \
> echo "makeLazyLoading(\"tools\")") | \
> R_DEFAULT_PACKAGES=NULL LC_COLLATE=C ../../../bin/R --vanilla --slave
> > /dev/null
> dmake: Fatal error: Command failed for target `all'
> Current working directory /export/data/obj-R/src/library/tools
> *** Error code 1
> The following command caused the error:
> for pkg in profile base tools utils grDevices graphics stats datasets
> methods grid splines stats4 tcltk; do \
> (cd ${pkg} && dmake) || exit 1; \
> done
> dmake: Fatal error: Command failed for target `R'
> Current working directory /export/data/obj-R/src/library
> *** Error code 1
> The following command caused the error:
> for d in scripts include extra appl nmath unix main modules library; do
> \
> (cd ${d} && dmake R) || exit 1; \
> done
> dmake: Fatal error: Command failed for target `R'
> Current working directory /export/data/obj-R/src
> *** Error code 1
> The following command caused the error:
> for d in m4 tools doc etc share src tests; do \
> (cd ${d} && dmake R) || exit 1; \
> done
> dmake: Fatal error: Command failed for target `R'
> root@Huba #
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley@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-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Jul 26 16:40:24 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 26 Jul 2006 - 14:27:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.