Dear all, I just changed from linux to a solaris server and I'm having trouble building R from source. I can't use the binaries because I don't have a permission to write to /usr/local. I followed the online instructions regarding the configuration with readline and the GNU version of iconv:
./configure --prefix=/u/fox/binaries CPPFLAGS='-I/u/fox/binaries/libiconv-1.10/include' LDFLAGS='-L/u/fox/binaries/readline-5.2 -L/u/fox/binaries/libiconv-1.10/lib' After configuration I get the following: ################################################# R is now configured for sparc-sun-solaris2.10 Source directory: . Installation directory: /u/fox/binaries C compiler: gcc -std=gnu99 -g -O2 Fortran 77 compiler: f95 -g C++ compiler: g++ -g -O2 Fortran 90/95 compiler: f95 -g Obj-C compiler: Interfaces supported: X11, tcltk External libraries: readline, ICU Additional capabilities: PNG, JPEG, TIFF, NLS Options enabled: shared BLAS, R profiling, Java Recommended packages: yes configure: WARNING: you cannot build DVI versions of the R manuals configure: WARNING: you cannot build DVI versions of all the help pages configure: WARNING: you cannot build PDF versions of the R manuals configure: WARNING: you cannot build PDF versions of all the help pages ######################################################## But I can't understand the error after trying to make: ######################################################## Undefined first referenced symbol in file libiconv_close libR.a(sysutils.o) libiconv_open libR.a(sysutils.o) __builtin_isnan libR.a(plot.o) libiconv libR.a(sysutils.o) ld: fatal: Symbol referencing errors. No output written to R.bin collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `R.bin' Current working directory /u/fox/binaries/R-2.11.1/src/main *** Error code 1 The following command caused the error: make install-bin-local make: Fatal error: Command failed for target `R' Current working directory /u/fox/binaries/R-2.11.1/src/main *** Error code 1 The following command caused the error: for d in scripts include extra appl nmath unix main modules library; do \ (cd ${d} && make R) || exit 1; \ done make: Fatal error: Command failed for target `R' Current working directory /u/fox/binaries/R-2.11.1/src *** Error code 1 The following command caused the error: for d in m4 tools doc etc share src tests po; do \ (cd ${d} && make R) || exit 1; \ done make: Fatal error: Command failed for target `R' ######################################################## Does anybody have any suggestions? Thanks, M. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.