Hi,
I've been trying to install the statnet package on my Solaris 10/Intel system.

I've been having problems with one of the dependencies, sna. During the compile, it always fails and complains about __builtin_isnan (please see below for output). I have tried installing this using Sun Studio 12, as well as gcc4 from opencsw.org. I am thinking it may have to do with what R thinks is the default paths to libraries and include files, but I have no idea how those are controlled from within R (should I be setting environment variables? Is there a configuration file I can tweek?)

Tia,
-y


* Installing *source* package 'sna' ...
** libs
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c components.c -o components.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c geodist.c -o geodist.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c gli.c -o gli.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c layout.c -o layout.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c likelihood.c -o likelihood.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c nli.c -o nli.o
gcc -std=gnu99 -I/tmp/rtest/foo/lib/R/include  -I/usr/local/include    -fpic  -g -O2 -c paths.c -o paths.o
paths.c: In function 'cycleCensus_R':
paths.c:383: error: non-floating-point argument to function '__builtin_isnan'
*** Error code 1

	[[alternative HTML version deleted]]


