[R] Need help compiling R

Kurt Hornik Kurt.Hornik at ci.tuwien.ac.at
Fri Mar 17 17:41:42 CET 2000


>>>>> J  writes:

> Hi,
> I am trying to compile R but it keeps failing.  My platform is HP-UX 10.20
> and I am having trouble getting pass the configure stage.  It continues
> to fail at the warning "f90 and gcc disagree on int and double"

> Here is some output:

> + gcc -g -O2 -c conftest.c
> + 1>& 5 2>& 5
> + gcc -o conftest conftest.o conftestf.o
> /usr/bin/ld: Unsatisfied symbols:
>    FTN_DTOI$ (code)
>    pow (code)
> collect2: ld returned 1 exit status
> + -l:libF90.a -lcl -lisamstub -lm
> ./configure[2344]: -l:libF90.a:  not found.
> + test -n 
> + echo configure: warning: f90 and gcc disagree on int and double
> + 1>& 2
> configure: warning: f90 and gcc disagree on int and double
> + echo configure: error: Maybe change CFLAGS or FFLAGS?
> + 1>& 2
> configure: error: Maybe change CFLAGS or FFLAGS?
> + exit 1



> Maybe someone has done this before on HP-UX 10.20 and can
> offer some help.

Looks like you end up with f90 as your Fortran compiler and it wants to
link using -l:libF90.a which is not found.  So maybe your Fortran
installation is not complete.

Can you successfully compile and link a trivial Fortran 77 program?

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