Skip to content
Prev 22613 / 398502 Next

Error 127 and dlltool

Hello:

Many thanks to Professor Ripley for responding to my earlier post, included below, about trying to use mingw32 gcc.I did put back the original Rinternals.h. I am still crashing R every time I try to use C code. 



Here is what I did, basd on readme.packages:



1.) Ensured that C:\Rtools was first in my path, and obtained a new tools.zip from BDR's R tools site.



2.) Ensured that I do have Mingw-1.1, whose bin directory is in my path. Here is my path:



C:\rw1051\src\gnuwin32>path

PATH="C:\Rtools\";C:\Perl\bin;"C:\Mingw-1.1\bin";"C:\Rw1051\bin";C:\WINNT\system32;C:\WINNT;"D:\Program Files\Hummingbird\Connectivity\7.00\Accessories\";C:\Mingw-1.1\bin;



3.) Installed ActivePerl 5.6.1.



4.) Set R_HOME to C:\Rw1051



5.) edited MkRules: set only HEADER=C:\mingw-1.1\include



6.) Tried to make make libR.a:



C:\rw1051\src\gnuwin32>make libR.a



dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a

make: dlltool: Command not found

make: *** [libR.a] Error 127

Now, dlltool.exe is in mingw-1.1\bin, which is in my path. I 

have no idea why that file is not found!



I tried a google search and found some earlier reports of 

Error 127 and dlltool problems with R, but most seem to 

involve using rcmd INSTALL.



What is my next step here? Have i missed something obvious  in readme.packages? Thanks in advance...



Tom Richards
---------------------------------

HotJobs, a Yahoo! service - Search Thousands of New Jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20020812/5fe488e5/attachment.html