[R] help with compiling under hpux

Frank Mattes mattes at mailhost.rfc.ucl.ac.uk
Sun Nov 11 02:08:11 CET 2001


Dear all,

to begin with, I'm not a professional programmer and this might 
explain my problems. I apologize tis in advance.
I tried to compile R-1.3.1 under hpux 10.20 and have problems with 
the configure script.
I have installed the hpux c and f77 compiler and gcc 3.01

The configue script (started with ./configure) stops with the following lines:

checking for unzip... no
checking for zip... no
checking for main in -lm... yes
defining F77 to be f77
checking whether the Fortran 77 compiler (f77  ) works... no
configure: error: installation or configuration problem: Fortran 77 
compiler can
not create executables.

the config.log shows:

----------------------------
configure:6749: checking whether the Fortran 77 compiler (f77  ) works
configure:6762: f77 -o conftest   conftest.f -L/usr/local/lib 1>&5
f77: Option not recognized: -/
f77: Option not recognized: -r
f77: Option not recognized: -/
conftest.f:
    MAIN conftest:
HP FORTRAN 77                               Sat Nov 10 23:57:50 2001
Ver: B.10.20                                conftest.f               Page     1

     1
     2         program conftest
     3         end


Compilation statistics for procedure: conftest

Number of errors:       0               Number of Warnings:     0
Procedure number:     1

Accumulated number of source lines read:      3

     4


Final Compilation Statistics for file: conftest.f

Accumulated errors:     0               Number of Warnings:     0
Total number of procedures:     1

Accumulated number of source lines read:      4


Timing Statistics for:

f77pass1:       real:   0.08s   user:   0.00s    sys:   0.00s

/usr/ccs/bin/ld: Can't find library for -local/lib
configure: failed program was:

       program conftest
       end
--------------------------------------
Could anybody advise me how to fix these problems ?
Or has someone already generated hpux binaries ?

Many thanks

Frank Mattes
London

Many t
-- 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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