Dear Sirs, I try to compile the R ver 65.1 in my UNIX machine, but I have some difficulties. In particular running the ./configure I have the following results (I give only the no, all the others are yes) checking whether gcc needs -traditional... no checking for g77... no checking for sin in -lmoto... no chechecking for main in -lhdf5... no cking for main in -lncurses... no checking for main in -ldxml... no checking for main in -lblas_risc... no checking for rl_callback_read_char in -lreadline... no checking for ANSI C header files... no checking for vfork.h... no checking for working vfork... no checking for __setfpucw... no checking for dl.h... no checking for fpu_control.h... no checking for hdf5.h... no checking for ieee754.h... no checking for readline/history.h... no checking for blkcnt_t... no checking how to deal with shared libraries... "/usr/openwin/lib/config/sun.cf", line 154: macro ExtraLoadOptions redefines previous macro at "/usr/openwin/lib/config/site.def", line 64 "/usr/openwin/lib/config/site.def", line 64: macro ExtraLoadOptions redefines previous macro at "/usr/openwin/lib/config/sun.cf", line 154 done checking whether -R must be followed by a space... no checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... no checking for connect... no checking for IceConnectionNumber in -lICE... no R is now configured for sparc-sun-solaris2.5 Source directory: . Installation directory: /usr/local C compiler: gcc -g -O2 FORTRAN compiler: f2c Gnome support: no and when I run the make command I have the following (after all the lines) drotg.o(.text+0x170): undefined reference to `__d_sign' *** Error code 1 make: Fatal error: Command failed for target `../../bin/R.X11' Current working directory /udd/szimeras/rhome/R-0.65.1/src/main *** Error code 1 make: Fatal error: Command failed for target `R' Current working directory /udd/szimeras/rhome/R-0.65.1/src/main *** Error code 1 make: Fatal error: Command failed for target `R' Current working directory /udd/szimeras/rhome/R-0.65.1/src *** Error code 1 make: Fatal error: Command failed for target `R' Ofcourse I can run R. Could you give me some directions about the problem? Many thanks Stelios Zimeras -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Compilation problem with R
2 messages · Stelios Zimeras, Peter Dalgaard
Stelios Zimeras <szimeras@irisa.fr> writes:
R is now configured for sparc-sun-solaris2.5
^^^^^^^^^^^^^^^^^^^^ Aha. Now you're telling us...
Source directory: . Installation directory: /usr/local C compiler: gcc -g -O2 FORTRAN compiler: f2c
^^^
Gnome support: no and when I run the make command I have the following (after all the lines) drotg.o(.text+0x170): undefined reference to `__d_sign' *** Error code 1
This looks like a fortran library gone missing. Perhaps the linker doesn't know where to find it? You may need to hand-edit the Makeconf file to tell it where to look (-L/opt/local/lib in FLIBS is a guess, but it is completely dependent on your setup). Another option could be to install a g77 compiler.
O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._