[R] configure problem
Govind Vinjamuri
gvinjamu at cceb.upenn.edu
Tue Sep 25 15:49:36 CEST 2001
Hello Sir, I get this following error when I try to build R.
make
gcc -I. -I../../src/include -I../../src/include -I/usr/local/include
-DHAVE_CONFIG_H -g -O2 -c bakslv.c -o bakslv.o
In file included from ../../src/include/R_ext/Arith.h:27,
from ../../src/include/Rinternals.h:24,
from bakslv.c:31:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.1/include/math.h:5: math.h: No
such file or directory
*** Error code 1
make: Fatal error: Command failed for target `bakslv.o'
Current working directory /usr/local/R-1.3.1/src/appl
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /usr/local/R-1.3.1/src/appl
*** Error code 1
make: Fatal error: Command failed for target `R'
Current working directory /usr/local/R-1.3.1/src
*** Error code 1
make: Fatal error: Command failed for target `R'
But I can see the file:
ls -l /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.1/include/math.h
-rwxr--r-- 1 bin bin 206 Sep 22 1999
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.1/include/math.h
I can not figure what is wrong.
Thank you very much for your time.
Prof Brian D Ripley wrote:
> On Mon, 24 Sep 2001, Govind Vinjamuri wrote:
>
> > On solaris 8 with forte 6.1 for F77 and CC. I try to configure I get
>
> What exactly did you set? You want to be using FC=f77 and CC=cc when
> configuring R. You definitely do not want CC=CC.
>
> > the following message.
> > checking whether f77 appends underscores... yes
> > checking whether f77 and cc agree on int and double... configure:
> > warning: f77 and cc disagree on int and double
> > configure: error: Maybe change CFLAGS or FFLAGS?
>
> Look in the config.log to see more details. This is also a test of calling
> Fortran from a C main program. So it will fail if Fortran cannot be mixed
> with C (for example, if CC was set to a C++ compiler), or if
> LD_LIBRARY_PATH needs to be set to find the Fortran libraries, ....
>
> I am not entirely sure what `Forte 6.1' is, but think it is a marketing
> name for what were SunPro WorkShop compilers. If so f77 and cc on Solaris
> 7 are part of our regular tests.
>
> --
> 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 272860 (secr)
> Oxford OX1 3TG, UK Fax: +44 1865 272595
--
Govind
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list