Skip to content
Prev 29328 / 63424 Next

Autoconf / Windows package building problem for device package

On Jul 2, 2008, at 6:41 AM, Tadashi Kadowaki wrote:

            
I was referring to R - there is no configure step in the Windows build  
so config.h is created "manually" (or semi-automatically if you wish)  
and then shipped with R in a special location.
There are no internal header files installed with R ;) [modulo OS X  
and those are private] - you are simply copying them from R and  
referring to those. This is very tedious and difficult to do right for  
all platforms since you have to test them all (as you see ;)). However  
you don't really need to do that.
Your package contains way too many things that are not needed (and are  
dangerous because they override R's own functions unnecessarily). It  
would be much simpler if you just added the code that is necessary  
(both R and C) and not just copy everything blindly. There is no real  
need to use internal R headers from graphics devices. If I recall  
correctly that is what Brian Ripley suggested before and it would save  
you a lot of trouble.

Cheers,
Simon