p.smith at auckland.ac.nz
2006-Oct-12 11:46 UTC
[Rd] Installation fails on FreeBSD (PR#9293)
Full_Name: Peter Smith Version: 2.3.1 OS: FreeBSD 5.3 Submission from: (NULL) (219.88.191.10) I'm installing R from the FreeBSD ports tree (i.e. running make from /usr/ports/math/R). During the make, the following error message is generated. <snip> Formats: text html latex example >>> Building/Updating help pages for package 'tcltk' Formats: text html latex example building/updating package indices ... begin installing recommended package foreign * Installing *source* package 'foreign' ... eval: ./configure: Permission denied ERROR: configuration failed for package 'foreign' <snip> The problem seems to occur when the following command is executed. MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL --no-lock -l "../../../library" foreign.tgz > foreign.ts.out 2>&1 || (cat foreign.ts.out && exit 1) The contents of foreign.ts.out is: * Installing *source* package 'foreign' ... eval: ./configure: Permission denied ERROR: configuration failed for package 'foreign' ** Removing '/usr/ports/math/R/work/R-2.3.1/library/foreign
p.smith at auckland.ac.nz writes:> Full_Name: Peter Smith > Version: 2.3.1 > OS: FreeBSD 5.3 > Submission from: (NULL) (219.88.191.10) > > > I'm installing R from the FreeBSD ports tree (i.e. running make from > /usr/ports/math/R). During the make, the following error message is generated. > > <snip> > Formats: text html latex example > >>> Building/Updating help pages for package 'tcltk' > Formats: text html latex example > building/updating package indices ... > begin installing recommended package foreign > * Installing *source* package 'foreign' ... > eval: ./configure: Permission denied > ERROR: configuration failed for package 'foreign' > <snip> > > The problem seems to occur when the following command is executed. > > MAKE="make" R_LIBS= ../../../bin/R CMD INSTALL --no-lock -l "../../../library" > foreign.tgz > foreign.ts.out 2>&1 || (cat foreign.ts.out && exit 1) > > > The contents of foreign.ts.out is: > * Installing *source* package 'foreign' ... > eval: ./configure: Permission deniedI don't think this is a bug in R. More likely, you have a permission problem in your setup, possibly a too restrictive umask setting. The system is complaining that it cannot run the configure script. [In principle, R could try and remedy such problems by overriding system defaults. We have discussed this before and come down on the side that if the user or the system adminstrator sets things up so that there are things that users cannot do by default (such as running arbitrary downloaded scripts), then it is not our business to fix it behind their backs.]> ERROR: configuration failed for package 'foreign' > ** Removing '/usr/ports/math/R/work/R-2.3.1/library/foreign-- O__ ---- Peter Dalgaard ?ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907