[R] [Fwd: Sun Solaris 8 compile problem.]
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Nov 8 07:15:17 CET 2003
Actually not, 3.2.2 works in 64-bit mode (although I would recommend a
later version of gcc).
The issue seems more basic: the environment does not have a working
compiler. A likely reason is the the 64-bit shared libraries are not in
the LD_LIBRARY_PATH, or not high enough up it. That Fortran has a shared
libg2c, normally in /usr/local/lib/sparcv9.
This is not an R problem, and local Solaris expertise should be sought.
FWIW, my `I.USED' script is
markov% cat I.USED
setenv LD_LIBRARY_PATH /usr/local/lib/sparcv9/:${LD_LIBRARY_PATH}
env CONFIG_SITE=$PWD/config.site ~/R/cvs/R-devel/configure --without-tcltk -C
On Fri, 7 Nov 2003, Dirk Eddelbuettel wrote:
> On Fri, Nov 07, 2003 at 06:19:26PM -0700, Jack Matthews wrote:
> > I am new to the list was wondering if anyone can help me find the reason
> > and remedy for compiling R on an ultrasparc 60 solaris 8 with gcc 3.2.2
> > in 64 bit mode? Fails in checking for a fortran library.....
>
> RTFM, in this case the R-admin manual, and I cite from the .texi source:
>
> @node Solaris, HP-UX, MacOS X, Platform notes
> @subsection Solaris on Sparc
> @cindex Solaris
> [...]
> @command{gcc} 3.2.1 and 3.2.2 generate incorrect code on 32-bit Solaris
> builds with optimization, but versions 3.1, 3.2, 3.2.3 and 3.3 work
> correctly. At least files @file{src/main/engine.c},
> @file{src/main/graphics.c} and @file{src/modules/devX11.c} are affected.
>
> Hth, Dirk
>
>
--
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
More information about the R-help
mailing list