An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20040228/0d33f530/attachment.pl
Rcmd SHLIB
4 messages · Brian Ripley, Gabriel Lawson, Duncan Murdoch
Most likely you don't have dlltool in your path. Further, I suspect you don't have the correct make in your path since AFAIK that does not use CreateProcess. Please check and check again that you have followed exactly all the instructions in the file readme.packages. See Q3.1 in the rw-FAQ.
On Sat, 28 Feb 2004, Gabriel Lawson wrote:
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check? When I use "Rcmd SHLIB <filename>" I get: C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R. exp --output-lib libR.a, ...) failed. make (e=2): The system cannot find the file specified. make[1]: *** [libR.a] Error 2 make: *** [libR] Error 2
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
Thanks tons. If you get a moment and feel like answering another question: Regarding the readme.packages file excerpt below: How can I set the R_HOME path? Is it always the R install directory? Also, is creating libR.a and libRblas.a a neccessary step in creating ANY dll for use with R? BEWARE: Don't expect this to work if the path to R_HOME contains spaces. It may work, but we don't recommend it. Thanks for your time, gabe ----- Original Message ----- From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk> To: "Gabriel Lawson" <gagongabe at earthlink.net> Cc: <r-help at stat.math.ethz.ch> Sent: Saturday, February 28, 2004 11:54 PM Subject: Re: [R] Rcmd SHLIB
Most likely you don't have dlltool in your path. Further, I suspect you don't have the correct make in your path since AFAIK that does not use CreateProcess. Please check and check again that you have followed exactly all the instructions in the file readme.packages. See Q3.1 in the rw-FAQ. On Sat, 28 Feb 2004, Gabriel Lawson wrote:
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check? When I use "Rcmd SHLIB <filename>" I get: C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c process_begin: CreateProcess((null), dlltool -k --as as --dllname
R.dll --def R.
exp --output-lib libR.a, ...) failed. make (e=2): The system cannot find the file specified. make[1]: *** [libR.a] Error 2 make: *** [libR] Error 2
-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
On Sun, 29 Feb 2004 15:43:25 -0800, you wrote:
Thanks tons. If you get a moment and feel like answering another question: Regarding the readme.packages file excerpt below: How can I set the R_HOME path? Is it always the R install directory? Also, is creating libR.a and libRblas.a a neccessary step in creating ANY dll for use with R?
R_HOME should be the base directory where you install R. The libR.a and libRblas.a files are used by the gcc linker to tell it how to make calls into R.dll or Rblas.dll. If you're using a different compiler or you don't need to make calls into those dlls (e.g. you've got a very simple DLL), you won't need them. Duncan Murdoch