[R] libraries in $HOME/lib

Paul Gilbert pgilbert at bank-banque-canada.ca
Wed Apr 3 18:04:38 CEST 2002


I have installed zlib and png libraries in $HOME/lib with headers in
$HOME/include and would like to pass this information along when I
configure R, but cannot find the proper incantation (R-1.4.1, Solaris,
csh). From the R-admin guide, I believe that

(setenv LIBS -L$HOME/lib ; setenv CPPFLAGS -L$HOME/include ; ./configure
)

should work, but I still get

checking for png.h... no

(starting clean, no config.cache). I have tried some variations,
including

(setenv LIBS $HOME/lib ; setenv CPPFLAGS $HOME/include ; ./configure )

which breaks gcc, as things do need to be found in other places too.
Enlightment would be appreciated. (And might I suggest an example of
this in the R-admin guide, as it it may be a common problem encountered
by compiler neophytes like me.)

Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list