I just download R-1.6.2 source code for unix to install. I am intalling it under redhat linux. But after ./configure, when I try to make, there always error showed: /usr/bin/install: cannot change ownership of `../../bin/BATCH': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/LINK': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rcmd': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rdiff': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rd2dvi': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/Rd2txt': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/config': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/pager': Operation not permitted /usr/bin/install: cannot change ownership of `../../bin/texi2dvi': Operation not permitted Does anyone know what is the problem? (Oh, I install it as a common user to linux, not as root)?
If you just run the `configure' script without other arguments, it will try to install in /usr/local, which you probably don't have permission to write to. Just pick a directory that you have permission to write to and use the --prefix argument to configure. For example, ./configure --prefix=/home/rpeng/R -roger _______________________________ UCLA Department of Statistics rpeng at stat.ucla.edu http://www.stat.ucla.edu/~rpeng On Sat, 8 Feb 2003, Yuhong Guo wrote:> > I just download R-1.6.2 source code for unix > to install. I am intalling it under redhat linux. > > But after ./configure, when I try to make, > there always error showed: > > /usr/bin/install: cannot change ownership of `../../bin/BATCH': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/LINK': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rcmd': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rdiff': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rd2dvi': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rd2txt': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/config': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/pager': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/texi2dvi': > Operation not permitted > > Does anyone know what is the problem? (Oh, I install it as a common user > to linux, not as root)? > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > http://www.stat.math.ethz.ch/mailman/listinfo/r-help >
Good morning Yuhong! I've just done a rebuild of R-1.6.2 on my machine here using the following commands (from my history)... 48 mkdir tmpR 49 cd tmpR 50 tar xzvf ../R-1.6.2.tgz 51 pwd 52 cd R-1.6.2/ 53 ./configure --prefix=/home/sean/software/R/tmpR 54 make 55 nice make check 56 nice make install it installed with no problem... creating the following directories... [sean at sean4 R-1.6.2]$ pwd /home/sean/software/R/tmpR/R-1.6.2 [sean at sean4 R-1.6.2]$ cd .. [sean at sean4 tmpR]$ ll total 16 drwxrwxr-x 2 sean sean 4096 Feb 9 08:13 bin drwxrwxr-x 3 sean sean 4096 Feb 9 08:13 lib drwxrwxr-x 3 sean sean 4096 Feb 9 08:13 man drwxr-xr-x 15 sean sean 4096 Feb 9 07:56 R-1.6.2 where the last line is the build directory... note that I have full permissions from my home directory /home/sean downwards. could you be low on quota or disk space? cheers, Sean Yuhong Guo wrote:> I just download R-1.6.2 source code for unix > to install. I am intalling it under redhat linux. > > But after ./configure, when I try to make, > there always error showed: > > /usr/bin/install: cannot change ownership of `../../bin/BATCH': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/LINK': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rcmd': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rdiff': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rd2dvi': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/Rd2txt': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/config': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/pager': Operation > not permitted > /usr/bin/install: cannot change ownership of `../../bin/texi2dvi': > Operation not permitted > > Does anyone know what is the problem? (Oh, I install it as a common user > to linux, not as root)?