[R] R compilation error on Solaris

Prof Brian Ripley ripley at stats.ox.ac.uk
Mon Jul 28 17:39:19 CEST 2003


Looks like a gcc/as mismatch.  You are using a version of gcc compiled on 
that machine with those exact paths (and not one using GNU as or a 
different version of Solaris)?

BTW, qtl does compile on a properly installed Solaris 8 system using gcc 
3.3: I've just checked.

On Mon, 28 Jul 2003, Saunak Sen wrote:

> Hello...
> 
> I tried to compile an R addon package, R/qtl on a Solaris machine and
> I get this error.  I know that R/qtl complies correctly on other
> platforms (Windows, Mac, Linuxes, etc), so I am wondering what the
> problem might be. 
> 
> Any ideas?
> 
> Thanks,
> Saunak
> 
>                 -----------------------------------
> /export/home/sen/tmp <howrahbridge> <pts/5> R INSTALL --library=/export/home/sen/Rlibs qtl_0.96-5.tar.gz
> * Installing *source* package 'qtl' ...
> ** libs
> gcc -I/usr/local/lib/R/include  -I/usr/local/include   -fPIC  -g -O2 -c discan.c -o discan.o
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: invalid character (0x40)
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: quoted-string operand required
> /usr/ccs/bin/as: "/var/tmp//ccyMYLD1.s", line 641: error: statement syntax
> *** Error code 1
> make: Fatal error: Command failed for target `discan.o'
> ERROR: compilation failed for package 'qtl'
>                 -----------------------------------
> 
> 
> 

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