Edward, My experiences here are limited; what I always do to install a source package is something like:
R CMD INSTALL -l /home/edzer/S/library R/gstat_0.9-42.tar.gz Could you please verify whether that works? -- Edzer Edward Tomlinson wrote: > Hi List, > > I am not entirely sure where i should be asking this question so i will > start here. > > I am trying to install the gstat package into R so it can be used by a > component of GRASS. > > However i cannot get gstat installed. I have already installed spgrass6 > package and its dependencies, however gstat will not install. Details below. > > Any ideas would be appreciated. > > Further info... > > I downloaded and installed from source. Original files came from CRAN > website. > > I followed instructions from Install and Admin manual. It suggested to build > in the following way... > > ./configure --disable-nls --disable-mbcs --enable-R-shlib > make > > Everything worked fine. I have been able to install other packages for R > such as maptools, spgrass6 and its dependencies. > > Thanks, > Ed > > R version 2.6.1 (2007-11-26) > Copyright (C) 2007 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > > >> install.packages("gstat") >> > ... > Content type 'application/x-tar' length 895559 bytes (874 Kb) > opened URL > ================================================== > downloaded 874 Kb > > /usr/local/lib/R/library > * Installing *source* package 'gstat' ... > .... > gcc -std=gnu99 -shared -L/usr/local/lib -o gstat.dll block.o chfactor.o > copy.o d > ata.o direct.o err.o fit.o getest.o gls.o glvars.o hsehldr.o init.o > ivecop.olex > .o lm.o lufactor.o machine.o mapio.o matop.o matrixio.o meminfo.o > memory.omemst > at.o msim.o norm.o nsearch.o otherio.o parse.o plot.o polygon.o > pqueue.opredict > .o pxop.o qrfactor.o random.o read.o reml.o report.o s.o select.o sem.o > sim.o so > lve.o sparse.o sparseio.o spbkp.o spchfctr.o splufctr.o sprow.o spswap.o > stat.o > submat.o userio.o utils.o vario.o vario_fn.o vario_io.o vecop.o > version.owritec > md.o xvalid.o -L/usr/local/lib/R/lib -lR > s.o: In function `gstat_predict': > /tmp/R.INSTALL.uA1352/gstat/src/s.c:495: undefined reference to > `_R_ProcessEvent > s' > /tmp/R.INSTALL.uA1352/gstat/src/s.c:517: undefined reference to > `_R_ProcessEvent > s' > Info: resolving _R_NaReal by linking to __imp__R_NaReal (auto-import) > Info: resolving _R_DimSymbol by linking to __imp__R_DimSymbol (auto-import) > collect2: ld returned 1 exit status > make: *** [gstat.dll ] Error 1 > chmod: cannot access `/usr/local/lib/R/library/gstat/libs/*': No such file > or di > rectory > ERROR: compilation failed for package 'gstat' > ** Removing '/usr/local/lib/R/library/gstat' > > > Warning message: > In install.packages("gstat") : > installation of package 'gstat' had non-zero exit status > > > [[alternative HTML version deleted]] > > _______________________________________________ > R-sig-Geo mailing list > R-sig-Geo@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-geo > _______________________________________________ R-sig-Geo mailing list R-sig-Geo@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-geo