Re: [Rd] Issues with building package with C src on windows [R CMD INSTALL ignoring makefile]

From: Prof Brian Ripley <>
Date: Mon, 19 Dec 2011 15:43:56 +0000

If all else fails, read the manual: it is explicitly documented that you need a file src/ .

And very likely you should rather study the manual to resolve what issue you think 'requires' a Makefile: those who want to use R on other platforms (e.g. Solaris and AIX) are unlikely to thank you for taking that route.

On 19/12/2011 15:30, Jonathan Shore wrote:
> I've written a rather complex package that requires overriding the default compilation behavior for the C code component. In the src dir I have a Makefile that is used correctly on OSX and Linux builds of the package, but completely ignored on windows.
> R CMD INSTALL<package>
> on windows runs Makeconf instead of running make on my Makefile. If run make in the src directory manually on windows, the shared library compiles.
> How can I get the INSTALL command to look for the Makefile? I am building on R 2.14.0 on a win 7 vm.
> Thanks
> Jonathan
> ______________________________________________
> mailing list

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon 19 Dec 2011 - 15:46:06 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 19 Dec 2011 - 20:00:18 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive