Skip to content
Prev 12674 / 398502 Next

Summary on Usage of R CMD INSTALL

Some add-on packages have provided configure options for specifying the
non-standard locations of libraries and headers.  This is nice, but
means that you have to know what these package-specific options (e.g.,
`--with-netCDF=' in the above) are called, which is complicated and not
really along the lines of Plug-and-Play installation.  Hence, we have
added the `--configure-vars' mechanism which allows you to do

  --configure-vars='LIBS=-L/path/to/libs CPPFLAGS=-I/path/to/headers'
I am not sure what is system-savvy about this.  If what is intended and
documented does not work, it is a bug, and should be reported as such.
There is really no point in advocating a non-portable ($MAKE -e) and
temporary solution.

Re RODBC, assume you had libiodbc in a non-standard place, say
e.g. `/home/me/lib'.  Then you should be able to do

	R CMD INSTALL \
	  --configure-vars='-L/home/me/lib' /path/to/RODBC

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._