Skip to content
Prev 38526 / 63424 Next

Install package 'Matrix' problem

We need more information, at the minimum the line which compiled 
CHMfactor.o.  Can you make the install log (you may need to run this 
again) and your etc/Makeconf available on-line?

At first sight your C++ compiler is missing -m64: the R-admin manual 
says

'For a 64-bit target add -m64 to the compiler macros and use something 
like LDFLAGS=-L/opt/csw/lib/sparcv9 or LDFLAGS=-L/usr/local/lib/amd64 
as appropriate.'

I see I used

CC="cc -xc99 -m64"
CFLAGS="-O -xlibmieee"
F77="f95 -m64"
FFLAGS=-O4
CXX="CC -m64 -library=stlport4"
CXXFLAGS=-O
FC=$F77
FCFLAGS=$FFLAGS
LDFLAGS=-L/usr/local/lib/sparcv9
FCLIBS="-lfai -lfsu -lfai2"

in config.site.  And BTW, it is always worth checking the manuals of 
current R-patched: your compiler postdates the pre-release period for 
R 2.12.0.
On Wed, 1 Dec 2010, Zhang,Jun wrote:

            
You need to give references for what you are quoting here (there is 
much misinformation on the Internet).  I suspect it is simply that you 
didn't specify the C++ compiler correctly.
Maybe, but really your local IT support is there to help your use of 
your OS: this is a Solaris issue, not an R one.