Skip to content

configure problem

4 messages · Govind Vinjamuri, Jan de Leeuw, Brian Ripley

#
On solaris 8 with forte 6.1 for F77 and  CC. I try to configure I get
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?


Thanks in advance

--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
I get the same message on Darwin if I try to use g77 and gcc --
strangely enough.
On Monday, September 24, 2001, at 02:49 PM, Govind Vinjamuri wrote:

            
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw at stat.ucla.edu
homepage: http://www.stat.ucla.edu/~deleeuw
========================================================
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Mon, 24 Sep 2001, Govind Vinjamuri wrote:

            
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.
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.
#
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:

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