[rkward-users] [rkward - Help] RE: rkward-0.4.9a and R-2.8.0 obsolete Rdevices.h

SourceForge.net noreply at sourceforge.net
Sun Oct 26 11:19:47 UTC 2008


Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=5506995
By: fsando

Hi Martin
The problem is known and an official solution is probably only a day or two
away

There is a simple work-around
>From the rkward-devel list:
On 2008-10-22 20:17, Thomas Friedrichsmeier wrote:
> Hi,
>
> On Tuesday 21 October 2008, Michael Rutter wrote:
>> I maintain Ubuntu packages on CRAN for amd64.  Today, the new version of
>> R (2.8.0) came out, and I am unable to build an rkward package based
>> around 2.8.0.  Turns out the decision has been made to remove Rdevices.h
>> and Rgraphics.h from the installed portion of R.  They still exist in
>> the source code, however.  Since Rdevices.h is not available to ubuntu,
>> the build fails under hardy and intrepid.  Same problem with the package
>> rpy.
>>
>> Not sure what the fix is, but at this point I think we are going to
>> release R 2.8.0 builds for ubuntu without an update to rkward.  Would
>> have found this sooner, but testing packages is one of the last things
>> on the list.
>
> thanks for pointing this out!
>
> I'm still extremely short on time (and on a dialup connection). For all I
can
> see, the fix is as easy as removing the line
> #include "Rdevices.h"
> from rbackend/rembedinternal.cpp (around line 90). It simply was not really 
> needed, an now it breaks things. So, the fix is simple enough, however, I 
> won't get around to roll fixed packages too soon. Still, if you are a package
> maintainer, you will know how to release a fixed package. I'd appreciate it
a
> lot, if you could look into that!
>
> Note: I did not actually download and check R 2.8.0, so possibly other things
> are borken as well. As for the missing header, the solution is simply to 
> remove the include line as detailed above.
>
> Regards
> Thomas

And :

On 2008-10-24 07:59, Stefan Rödiger wrote:
> Am Thursday 23 October 2008 20:39:30 schrieb Thomas Friedrichsmeier:
>> On Wednesday 22 October 2008, Stefan Rödiger wrote:
>>> Should I apply this to SVN in order to avoid this problem for people who
>>> use code from there?
>> Yes, please do. You might want to put a "REVIEW" or other remark in the
>> commit message, though: Possibly this line was actually needed for R 2.6.x
>> or earlier, after all. We should check that, sooner or later, and add some
>> version-specific code, if needed. For now, compatibility with R 2.8 is much
>> more important than backwards compatibility with those pretty old versions
>> of R.
>>
>> BTW: In the KDE 4 version, in SVN, there is a little script to roll a
>> release relatively easily: Just call
>> 	makedist.sh version-name
>> So, in case you would like to give it a try, you could create a source
>> release with a fix (remember to adjust the ChangeLog, and do some testing,
>> of course). I think several of you should have the required permissions for
>> uploading to sourceforge, too.
>>
>> Regards
>> Thomas
>
> I will do that on monday unless somebody else is faster than me.
>
> Regards
> Stefan




______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=165574




More information about the Rkward-users mailing list