I am having trouble installing cluster from R-1.5.0-recommended : R CMD INSTALL *.tar.gz ... g77 -fPIC -g -O2 -c pam.f -o pam.o g77 -fPIC -g -O2 -c spannel.f -o spannel.o g77 -fPIC -g -O2 -c twins.f -o twins.o cp: cannot access *.so ERROR: compilation failed for package 'cluster' [34] /home/com1/gilp/Rlibs/R-1.5.0-recommended : This is with R-1.5.0 on Solaris 5.8 using gcc 2.95.2. I have been messing around with gcc (trying to install a newer version), so it is possible R was compiled with slightly different settings than I currently have, but it was compiled with the same version. Hints about what might cause this problem would be appreciated. Thanks, Paul Gilbert -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "PaulG" == Paul Gilbert <pgilbert at bank-banque-canada.ca> writes:PaulG> I am having trouble installing cluster from R-1.5.0-recommended : PaulG> R CMD INSTALL *.tar.gz PaulG> ... PaulG> g77 -fPIC -g -O2 -c pam.f -o pam.o PaulG> g77 -fPIC -g -O2 -c spannel.f -o spannel.o PaulG> g77 -fPIC -g -O2 -c twins.f -o twins.o PaulG> cp: cannot access *.so this means that cluster.so was not built at all. On my home Debian Linux system, I get one line of linker call after the *.f -> *.o compilation ones : gcc -shared -o cluster.so clara.o daisy.o fanny.o meet.o mona.o pam.o spannel.o twins.o -L/usr/local/lib -L/usr/lib/gcc-lib/i386-linux/2.95.2 -lreadline -ldl -lncurses -lg2c -lm If such line does not appear, I think it means that your R configuration and your current compiler/linker setup don't match and you probably won't be able to build any other package using compiled code either. Try to (partly) re-install R itself by ..../configure make and then try again to install a package with C/F source. Martin -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._