Thank you Dave for the reply. I used solstudio12.2, and followed the R admin 
installation instruction for Solaris. When I run R as the compiled result, 
there is a line "Platform: sparc-sun-solaris2.10 (32-bit)". 

Jun


CC="cc -xc99"
CPPFLAGS="-I/opt/csw/include" 
CFLAGS="-O -xlibmieee"
F77=f95
FFLAGS=-O4
CXX="CC -library=stlport4"
CXXFLAGS=-O
FC=f95
FCFLAGS=$FFLAGS
LDFLAGS="-L/opt/csw/lib" 
export CC CPPFLAGS CFLAGS F77 FFLAGS CXX CXXFLAGS FC FCFLAGS LDFLAGS
./configure --prefix=/apps/R-2.12.0 --with-tcl-config=/opt/csw/lib/tclConfig.sh 
--with-tk-config=/opt/csw/lib/tkConfig.sh --disable-nls 
--with-recommended-packages=no

-----Original Message-----
From: Dr. David Kirkby [mailto:david.kir...@onetel.net] 
Sent: Tuesday, November 09, 2010 5:07 PM
To: Zhang,Jun; r-help@r-project.org
Subject: Re: [R] R-2.12.0 problem on Solaris 10

On 11/ 9/10 10:30 PM, Dr. David Kirkby wrote:
> On 11/ 9/10 09:22 PM, Zhang,Jun wrote:
>> It's been a few days I cannot compile to get R-2.12.0 working at sparc
>> Solaris 10. Seems the R software installation is OK, but the
>> recommended package called Matrix stopped me, since I can finish the
>> installation with the configure option -with-recommended-packages=no.
>> I then run
>
> Is this a 32-bit or 64-bit build? Is it Sun Studio or gcc?
>
> There are issues with the R libraries when built with Sun Studio - they
> have relocations to read-only segments.

I meant the issues are with gcc - SunStudio is ok.

I would be nice to be able to build R with gcc though. I know the gcc compiler 
is inferior, but some systems don't have SunStudio. For a project like Sage, we 
have 100 packages, and R is the only one that needs SunStudio to build. (I'd 
rather build the whole of Sage with SunStudio, but there are too many GNUisms 
for that). So I might have to use two compilers, which is a real pain in the 
butt

Dave

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

Reply via email to