Skip to content

Compilation fails (PR#209)

2 messages · beimfohr@statistik.uni-dortmund.de, Kurt Hornik

#
Full_Name: Frank Beimfohr
Version: 0.64.1, devel.
OS: Solaris 2.5.1
Submission from: (NULL) (129.217.131.31)


I try to compile R on my Sparc 4 (Solaris 2.5.1) but the compilation fails. I
tried 
the developer-version and the contributed 0.64.1-Version.
I start configure with the --g77-Option. During the compilation it stops with an

error, which says that the R/src/library/modreg/src/bsplvd.f isn't a valid 
Fortran77-File. Then, I installed f2c. But the compilation fails again with the
message:

gcc: unrecognized option `-PIC'
./../../../bin/R SHLIB -o modreg.so bsplvd.o bvalue.o bvalus.o ksmooth.o
loessc.o loessf.o ppr.o qsbart.o sbart.o sgram.o sinerp.o sslvrg.o stxwx.o
Usage : make [ -f makefile ]... [ -d ][ -dd ][ -D ][ -DD ][ -e ][ -i ][ -k ]
             [ -K statefile ][ -n ][ -p ][ -P ][ -q ][ -r ][ -s ][ -S ][ -t ]
             [ -V ][ target ... ][ macro=value... ]
make: Fatal error: Unknown option `-w'
gmake[4]: *** [modreg.so] Error 1
gmake[4]: Leaving directory `/sw/sun4_55/R-0.64.1a/src/library/modreg/src'

I don't know what to do now...

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
which should not be there.

Can you pls send

* the exact configure and make command you issued

* the final output of configure, such as

R is now configured for i586-unknown-linux

  Source directory:         /home/Hornik/src/apps/R/r-devel/R
  Installation directory:   /usr/local
  C compiler:               gcc -O2 -g -Wall
  FORTRAN compiler:         g77 -O2
  Gnome support:            no

Thanks

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._