On Mon, 22 May 2006, Thomas Adams wrote: > List: > > I have installed R, contributed packages, and supporting libraries in a > non-standard location (but under the same sub-directory tree). This was > necessary for systems reasons beyond my control. When I attempt to use > Makevars (as shown below) to install rgdal from source, I get the > following error: > > R CMD INSTALL rgdal_0.4-3.tar.gz
This is a rather specific question, I'll reply off-list tomorrow (my time), because the advice given in the output you can see doesn't help. The ./configure file cannot know that the rgdal/src/Makevars file has been set manually, and carries on stopping you. Questions like this can preferably be sent directly to the package maintainer. Roger > . > . > . > checking proj_api.h usability... no > checking proj_api.h presence... no > checking for proj_api.h... no > libproj.a and proj_api.h not found in standard search locations, > edit src/Makevars manually, adding -I<directory with proj_api.h> > to PKG_CPPFLAGS = , and -L<directory with libproj.a> to PKG_LIBS = > ERROR: configuration failed for package 'rgdal' > ** Removing '/awips/rep/lx/local_apps/R/lib/R/library/rgdal' > ** Restoring previous '/awips/rep/lx/local_apps/R/lib/R/library/rgdal' > > I get this error regardless of where I put the Makevars file: > $HOME/.R/Makevars, in the local build directory, or in the rgdal source > directory src/Makevars runing ./configure > > My Makevars contains this: > > PKG_CPPFLAGS = -I/awips/rep/lx/local_apps/proj4/include > PKG_LIBS = -L/awips/rep/lx/local_apps/proj4/lib > > I have also tried using the file name: Makevars and > Makevars-i686-pc-linux-gnu > > I'm sure I am doing *something* wrong; any suggestions? > > Regards, > Tom > > > > -- Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: [EMAIL PROTECTED] ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
