From ldimitro at wfubmc.edu  Wed Jul 26 07:33:14 2006
From: ldimitro at wfubmc.edu (Latchezar Dimitrov)
Date: Wed, 26 Jul 2006 01:33:14 -0400
Subject: [Rd] Install R-patched_2006-07-13 on i386-pc-solaris2.10 with Sun
	Studio 11
Message-ID: <F160BE32A2E5E04497668BBDFE83FEDF11CF7F6B@EXCHVS1.medctr.ad.wfubmc.edu>

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?

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 #



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