From ripley at stats.ox.ac.uk  Wed Jul 26 08:37:21 2006
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 26 Jul 2006 07:37:21 +0100 (BST)
Subject: [Rd] Install R-patched_2006-07-13 on i386-pc-solaris2.10 with
 Sun Studio 11
In-Reply-To: <F160BE32A2E5E04497668BBDFE83FEDF11CF7F6B@EXCHVS1.medctr.ad.wfubmc.edu>
References: <F160BE32A2E5E04497668BBDFE83FEDF11CF7F6B@EXCHVS1.medctr.ad.wfubmc.edu>
Message-ID: <Pine.LNX.4.64.0607260735570.32047@gannet.stats.ox.ac.uk>

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 at 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 at Huba #   echo   $CC
> cc
> root at Huba #   echo   $CXX
> CC
> root at Huba #   echo   $CFLAGS
> -xarch=amd64 -xmodel=medium
> root at Huba #   echo   $CXXFLAGS
> -xarch=amd64 -xmodel=medium
> root at Huba #   echo   $FCFLAGS
> -xarch=amd64 -xmodel=medium
> root at Huba #   echo   $FFLAGS
> -xarch=amd64 -xmodel=medium
> root at Huba #   echo   $LDFLAGS
> -xarch=amd64 -xmodel=medium
> root at Huba #   echo   $R_BROWSER
> /usr/sfw/bin/mozilla
> root at Huba #   echo   $r_arch
> amd64
> root at 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 at 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 at Huba #
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> 

-- 
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



[Rd] Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun Studio 11
Prof Brian Ripley