Josh Harmsen
2008-Oct-10 20:13 UTC
[R-sig-Debian] how to convert source code in windows package for linux (ubuntu)
Hi All, I was wondering if anyone here as successfully converted a package for windows to one that will work in Linux? What are the necessary steps if you have the source code? Thanks, Josh
Douglas Bates
2008-Oct-10 21:05 UTC
[R-sig-Debian] how to convert source code in windows package for linux (ubuntu)
On Fri, Oct 10, 2008 at 3:13 PM, Josh Harmsen <josh.harmsen at gmail.com> wrote:> Hi All,> I was wondering if anyone here as successfully converted a package for > windows to one that will work in Linux?> What are the necessary steps if you have the source code?If you have compiled code in the package I don't think it can be done. If you don't have compiled code then it can be done but it would be somewhat awkward. Essentially you would need to recreate the source package from the installed package. Why would you want to do this? If you can start from the source package the process is quite trivial. Is there a reason that you would have access to the Windows package but not the source package?
Josh Harmsen
2008-Oct-11 17:30 UTC
[R-sig-Debian] how to convert source code in windows package for linux (ubuntu)
I've actually already had correspondence with the author, he thought it was possible to do, but asked me to find out what would be needed to get it in a Linux environment and I was going to get back to him. SAGA actually compiles nicely in Linux (the gui and cmd) and I have successfully done this, so that should not be the issue. Here is what we have: R Source package for RSAGA (and author cced!) Windows Binary for RSAGA (no use to us) SAGA compiles for Ubuntu Hardy with no problems So with this, what are the necessary steps? Thanks, Josh On Sat, Oct 11, 2008 at 12:35 AM, Edzer Pebesma <edzer.pebesma at uni-muenster.de> wrote:> The other option I would recommend is to contact the package author (Cc:), > and ask what he thinks would be needed to port RSAGA to linux. I'm not sure > about this, but I believe he or someone else once mentioned that SAGA (to > which RSAGA interfaces) has a command line interface that is only available > on the windows platform. If that is the case, SAGA would be the project to > push first to get this running under linux. > -- > Edzer > > Dirk Eddelbuettel wrote: >> >> On 10 October 2008 at 15:42, Josh Harmsen wrote: >> | The package is RSAGA >> http://cran.r-project.org/web/packages/RSAGA/index.html >> | | CRAN does have the package source available, which is what I want to >> | get to work in R on a Ubuntu Hardy 64bit. If the process is trivial >> | could you guide me through it or point me to a resource that explains >> | it? >> >> Not knowing anything about the particular details of this package I'd >> refer >> you to what the package author clearly states in the DESCRIPTION info for >> the >> package that is available at the URL you provide that: >> >> SystemRequirements: Windows, SAGA (>=2.0.2) >> >> To make that even more plain, RSAGA depends >> a) on SAGA (do you have that on Ubuntu amd64 ?), and >> b) on Windows. >> You are, in other words, out of luck. >> Look into virtualbox, a rather nice virtualization package included in >> Ubuntu >> in the 'open source edition' and look into installing a Windows session >> inside your Ubuntu system. You can share folders etc pp. Maybe that can >> help >> you. >> >> Dirk >> >> > > -- > Edzer Pebesma > Institute for Geoinformatics (ifgi), University of M?nster, > Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 > 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/ > http://www.springer.com/978-0-387-78170-9 > >
Dirk Eddelbuettel
2008-Oct-11 19:46 UTC
[R-sig-Debian] how to convert source code in windows package for linux (ubuntu)
On 11 October 2008 at 20:12, Edzer J. Pebesma wrote: | something like | | R CMD INSTALL RSAGA_version_x.y.tar.gz | | possibly preceded with a "sudo", so that it becomes installed | system-wide. And then see if it works! Yup, and if it doesn't, try to debug where maybe Windows-specific commands or settings are used. It should be easy to overcome this -- many R packages do. Dirk | -- | Edzer | | Josh Harmsen wrote: | > I've actually already had correspondence with the author, he thought | > it was possible to do, but asked me to find out what would be needed | > to get it in a Linux environment and I was going to get back to him. | > SAGA actually compiles nicely in Linux (the gui and cmd) and I have | > successfully done this, so that should not be the issue. | > | > Here is what we have: | > R Source package for RSAGA (and author cced!) | > Windows Binary for RSAGA (no use to us) | > SAGA compiles for Ubuntu Hardy with no problems | > | > So with this, what are the necessary steps? | > | > Thanks, | > | > Josh | > | > On Sat, Oct 11, 2008 at 12:35 AM, Edzer Pebesma | > <edzer.pebesma at uni-muenster.de> wrote: | > | >> The other option I would recommend is to contact the package author (Cc:), | >> and ask what he thinks would be needed to port RSAGA to linux. I'm not sure | >> about this, but I believe he or someone else once mentioned that SAGA (to | >> which RSAGA interfaces) has a command line interface that is only available | >> on the windows platform. If that is the case, SAGA would be the project to | >> push first to get this running under linux. | >> -- | >> Edzer | >> | >> Dirk Eddelbuettel wrote: | >> | >>> On 10 October 2008 at 15:42, Josh Harmsen wrote: | >>> | The package is RSAGA | >>> http://cran.r-project.org/web/packages/RSAGA/index.html | >>> | | CRAN does have the package source available, which is what I want to | >>> | get to work in R on a Ubuntu Hardy 64bit. If the process is trivial | >>> | could you guide me through it or point me to a resource that explains | >>> | it? | >>> | >>> Not knowing anything about the particular details of this package I'd | >>> refer | >>> you to what the package author clearly states in the DESCRIPTION info for | >>> the | >>> package that is available at the URL you provide that: | >>> | >>> SystemRequirements: Windows, SAGA (>=2.0.2) | >>> | >>> To make that even more plain, RSAGA depends | >>> a) on SAGA (do you have that on Ubuntu amd64 ?), and | >>> b) on Windows. | >>> You are, in other words, out of luck. | >>> Look into virtualbox, a rather nice virtualization package included in | >>> Ubuntu | >>> in the 'open source edition' and look into installing a Windows session | >>> inside your Ubuntu system. You can share folders etc pp. Maybe that can | >>> help | >>> you. | >>> | >>> Dirk | >>> | >>> | >>> | >> -- | >> Edzer Pebesma | >> Institute for Geoinformatics (ifgi), University of M?nster, | >> Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 | >> 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de/ | >> http://www.springer.com/978-0-387-78170-9 | >> | >> | >> | -- Three out of two people have difficulties with fractions.
Lars, If you are using the amd64 build, all will be fine in about 12 hours. Slight delay in uploading the updates, but they should be synced soon. If you are running i386 builds, then we have different issues. Michael Lars Hansen wrote:> Hi, > > I just noticed that R 2.8.0 showed up as an update in Adept Updater. > Unfortunately, it does not let me install it. It says r-base-dev and > r-recommended are upgradable, but if I request the upgrade, it says > "BREAK (upgrade)" in red letters in Requested column. > > I use Ubuntu 8.04 and have http://cran.mtu.edu/bin/linux/ubuntu in my > repo list. > > Thanks, > Lars > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian-- Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College Station Road Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter