Dear R user,
I try to build R-2.8.1 on SunOS 5.9, and use following command: CC="cc -xarch=v9" CFLAGS="-xO5 -xlibmil -dalign" F77="f95 -xarch=v9" FFLAGS="-xO5 -xlibmil -dalign" CXX="CC -xarch=v9" CXXFLAGS="-xO5 -xlibmil -dalign" FC="f95 -xarch=v9" FCFLAGS="-xO5 -xlibmil -dalign" LIBnn="lib" ./configure --prefix=/where/R/installed--enable-R-shlib --with-x --with-readline=no it throws below error message cc -xarch=v9 -I/R/src/R-2.8.1/include -I/myiconv/include -I/mypng/SunOS/include -I/myjpeg/SunOS/include -I/myzlib/SunOS/include -Wno-long-long -KPIC -xO5 -xlibmil -dalign -c R_systat.c -o R_systat.o cc: illegal option -Wno-long-long *** Error code 1 make: Fatal error: Command failed for target `R_systat.o' Current working directory /tmp/R.INSTALL.293-0223020058/foreign/src chmod: WARNING: can't access /R/src/R-2.8.1/library/foreign/libs/* ERROR: compilation failed for package 'foreign' ** Removing '/R/src/R-2.8.1/library/foreign' *** Error code 1 make: Fatal error: Command failed for target `foreign.ts' Current working directory /R/src/R-2.8.1/src/library/Recommended *** Error code 1 make: Fatal error: Command failed for target `recommended-packages' Current working directory /R/src/R-2.8.1/src/library/Recommended *** Error code 1 make: Fatal error: Command failed for target `stamp-recommended' I want to know who can help me to solve this problem. Thanks, Jin _________________________________________________________________ [[elided Hotmail spam]] [[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.