Problem during "make" with the devel version R-2.3.0 under Sun OS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem during "make" with the devel version R-2.3.0 under Sun OS

Simon Penel
Hello R users and developers,

I had a problem when I tried to install  the last version of R-devel.
I know that this R version is an unstable version and that this problem
may be irrelevant.
I am  maintaining a R package  thus I check if this package can be
installed with the development version.
( Everinthing is fine with the R-patched)

The details are the following:

My machine:
System:  SunOS
Release: 5.9
Kernel ID : Generic_117171-07
Machine : sun4u
Processor :sparc
Platform : SUNW Sun-Fire-880

R version
 2.3.0 Under development (unstable)

SVN:
Revision: 37414
Last Changed Date: 2006-02-22

Results    affer configure:

R is now configured for sparc-sun-solaris2.9

  Source directory:          .
  Installation directory:    /usr/local

  C compiler:                gcc  -g -O2 -std=gnu99
  Fortran 77 compiler:       g77  -g -O2

  C++ compiler:              g++  -g -O2
  Fortran 90/95 compiler:    f90

  Interfaces supported:      X11, tcltk
  External libraries:        readline
  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
  Options enabled:           R profiling


The problem during make:


gcc -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot.c -o plot.o
gcc -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot3d.c -o
plot3d.o
/usr/ccs/bin/as: "/tmp/ccYv732b.s", line 7057: error: constant value
must be between -4096 and 4095
make[3]: *** [plot3d.o] Error 1
make[3]: Leaving directory `/bge/penel/R-devel/src/main'
make[2]: *** [R] Error 2
make[2]: Leaving directory `/bge/penel/R-devel/src/main'
make[1]: *** [R] Error 1
make[1]: Leaving directory `/bge/penel/R-devel/src'
make: *** [R] Error 1

I did not found any report about this problem in the R-devel archives .
Should I wait and try a next version of R-devel?

thanks for your help, I hope this mail is not irrelevant

Simon

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem during "make" with the devel version R-2.3.0 under Sun OS

Brian Ripley
This is a compiler error (generating invalid assembler), not an R error.
What compiler version is this?

I have no problem compiling the current R-devel (37422) on Solaris with
gcc-3.4.5 or gcc-4.0.2 (and using the Sun assembler as you are).  I have
seen problems with plot3d with earlier versions of gcc-4.


On Thu, 23 Feb 2006, Simon Penel wrote:

> Hello R users and developers,
>
> I had a problem when I tried to install  the last version of R-devel.
> I know that this R version is an unstable version and that this problem
> may be irrelevant.
> I am  maintaining a R package  thus I check if this package can be
> installed with the development version.
> ( Everinthing is fine with the R-patched)
>
> The details are the following:
>
> My machine:
> System:  SunOS
> Release: 5.9
> Kernel ID : Generic_117171-07
> Machine : sun4u
> Processor :sparc
> Platform : SUNW Sun-Fire-880
>
> R version
> 2.3.0 Under development (unstable)
>
> SVN:
> Revision: 37414
> Last Changed Date: 2006-02-22
>
> Results    affer configure:
>
> R is now configured for sparc-sun-solaris2.9
>
>  Source directory:          .
>  Installation directory:    /usr/local
>
>  C compiler:                gcc  -g -O2 -std=gnu99
>  Fortran 77 compiler:       g77  -g -O2
>
>  C++ compiler:              g++  -g -O2
>  Fortran 90/95 compiler:    f90
>
>  Interfaces supported:      X11, tcltk
>  External libraries:        readline
>  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
>  Options enabled:           R profiling
>
>
> The problem during make:
>
>
> gcc -I../../src/extra/zlib -I../../src/extra/bzip2
> -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot.c -o plot.o
> gcc -I../../src/extra/zlib -I../../src/extra/bzip2
> -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot3d.c -o
> plot3d.o
> /usr/ccs/bin/as: "/tmp/ccYv732b.s", line 7057: error: constant value
> must be between -4096 and 4095
> make[3]: *** [plot3d.o] Error 1
> make[3]: Leaving directory `/bge/penel/R-devel/src/main'
> make[2]: *** [R] Error 2
> make[2]: Leaving directory `/bge/penel/R-devel/src/main'
> make[1]: *** [R] Error 1
> make[1]: Leaving directory `/bge/penel/R-devel/src'
> make: *** [R] Error 1
>
> I did not found any report about this problem in the R-devel archives .
> Should I wait and try a next version of R-devel?
>
> thanks for your help, I hope this mail is not irrelevant
>
> Simon
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

--
Brian D. Ripley,                  [hidden email]
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

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem during "make" with the devel version R-2.3.0 under Sun OS

Simon Penel
Thank you very much for your help, and sorry for any inconvevience.
Your are rigth my current compiler version is  too old : 3.3.2.
I will upgrade it  immediately.
All the best and thanks again

Simon



Prof Brian Ripley wrote:

> This is a compiler error (generating invalid assembler), not an R
> error. What compiler version is this?
>
> I have no problem compiling the current R-devel (37422) on Solaris
> with gcc-3.4.5 or gcc-4.0.2 (and using the Sun assembler as you are).  
> I have seen problems with plot3d with earlier versions of gcc-4.
>
>
> On Thu, 23 Feb 2006, Simon Penel wrote:
>
>> Hello R users and developers,
>>
>> I had a problem when I tried to install  the last version of R-devel.
>> I know that this R version is an unstable version and that this problem
>> may be irrelevant.
>> I am  maintaining a R package  thus I check if this package can be
>> installed with the development version.
>> ( Everinthing is fine with the R-patched)
>>
>> The details are the following:
>>
>> My machine:
>> System:  SunOS
>> Release: 5.9
>> Kernel ID : Generic_117171-07
>> Machine : sun4u
>> Processor :sparc
>> Platform : SUNW Sun-Fire-880
>>
>> R version
>> 2.3.0 Under development (unstable)
>>
>> SVN:
>> Revision: 37414
>> Last Changed Date: 2006-02-22
>>
>> Results    affer configure:
>>
>> R is now configured for sparc-sun-solaris2.9
>>
>>  Source directory:          .
>>  Installation directory:    /usr/local
>>
>>  C compiler:                gcc  -g -O2 -std=gnu99
>>  Fortran 77 compiler:       g77  -g -O2
>>
>>  C++ compiler:              g++  -g -O2
>>  Fortran 90/95 compiler:    f90
>>
>>  Interfaces supported:      X11, tcltk
>>  External libraries:        readline
>>  Additional capabilities:   PNG, JPEG, iconv, MBCS, NLS
>>  Options enabled:           R profiling
>>
>>
>> The problem during make:
>>
>>
>> gcc -I../../src/extra/zlib -I../../src/extra/bzip2
>> -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
>> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot.c -o
>> plot.o
>> gcc -I../../src/extra/zlib -I../../src/extra/bzip2
>> -I../../src/extra/pcre  -I. -I../../src/include -I../../src/include
>> -I/usr/local/include -DHAVE_CONFIG_H   -g -O2 -std=gnu99 -c plot3d.c -o
>> plot3d.o
>> /usr/ccs/bin/as: "/tmp/ccYv732b.s", line 7057: error: constant value
>> must be between -4096 and 4095
>> make[3]: *** [plot3d.o] Error 1
>> make[3]: Leaving directory `/bge/penel/R-devel/src/main'
>> make[2]: *** [R] Error 2
>> make[2]: Leaving directory `/bge/penel/R-devel/src/main'
>> make[1]: *** [R] Error 1
>> make[1]: Leaving directory `/bge/penel/R-devel/src'
>> make: *** [R] Error 1
>>
>> I did not found any report about this problem in the R-devel archives .
>> Should I wait and try a next version of R-devel?
>>
>> thanks for your help, I hope this mail is not irrelevant
>>
>> Simon
>>
>> ______________________________________________
>> [hidden email] mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>>
>

--
Simon Penel
Laboratoire de Biometrie et Biologie Evolutive          
Bat 711  -   CNRS UMR 5558  -    Universite Lyon 1              
43 bd du 11 novembre 1918 69622 Villeurbanne Cedex      
Tel:   04 72 43 12 87      Fax:  04 72 43 13 88
http://pbil.univ-lyon1.fr/members/penel

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel