lamorim at email.unc.edu
2009-Sep-22 11:13 UTC
[R-sig-Debian] Converting libraries for different operating systems
Dear list members, I used a R package some years ago with an older version of R in sparc-sun-solaris2 (Unix) machine. I have to redo some of those analysis, but now my machine is ubuntu. I'm getting the following error message when I try to install the library: Error: package crf was built for sparc-sun-solaris2.6 Is there any way to convert the library for different operating system (Linux in this case)? If so, could you please give some directions? Thank you, Leila
Dirk Eddelbuettel
2009-Sep-22 11:36 UTC
[R-sig-Debian] Converting libraries for different operating systems
On 22 September 2009 at 07:13, lamorim at email.unc.edu wrote: | Dear list members, | | I used a R package some years ago with an older version of R in | sparc-sun-solaris2 (Unix) machine. I have to redo some of those | analysis, but now my machine is ubuntu. I'm getting the following error | message when I try to install the library: | | Error: package crf was built for sparc-sun-solaris2.6 | | Is there any way to convert the library for different operating | system (Linux in this case)? Yes, it is called "install from source". Seriously, that is what a compiler does: translate from (human-readable) source code to (machine-readable) executables. And no, these are generally not portable across system. | If so, could you please give some directions? You need sudo R CMD INSTALL foo_1.2-3.tar.gz and you probably want to install the r-base-dev package first, as well as everything you need for building foo. Dirk -- Three out of two people have difficulties with fractions.
denis brion
2009-Sep-22 14:18 UTC
[R-sig-Debian] Re : Converting libraries for different operating systems
+ If you have the sources, it is feasible and likely to be easy : if there are no *.c , *f files it depends on, but "only" R scripts(*.R"=, it is easy, else, it might be complicated but it is not desesperate case (I sometimes have to write things like that). Anyway, one can have private packages one builds oneself (else, it would be impossible to test packages before making them standard)... Detailed explanations can be found in http://cran.r-project.org/doc/manuals/R-exts.html (and colleagues||friends||the_lazy_web can help you, if it is something you find this direction complicated) + If you have "only" binaries, I do not see any solution except reminding what it did, and finding out/rewriting the same functionalities. Good luck and have nice days Denis --- En date de?: Mar 22.9.09, lamorim at email.unc.edu <lamorim at email.unc.edu> a ?crit?:> De: lamorim at email.unc.edu <lamorim at email.unc.edu> > Objet: [R-sig-Debian] Converting libraries for different operating systems > ?: r-sig-debian at r-project.org > Date: Mardi 22 Septembre 2009, 13h13 > Dear list members, > > ???I used a R package some years ago with an > older version of R in sparc-sun-solaris2 (Unix) machine. I > have to redo some of those analysis, but now my machine is > ubuntu. I'm getting the following error message when I try > to install the library: > > Error: package crf was built for sparc-sun-solaris2.6 > > ???Is there any way to convert the library > for different operating system (Linux in this case)? If so, > could you please give some directions? > > ? ? ? ? ? ? ? ? > ? ???Thank you, > > ? ? ? ? ? ? ? ? > ? ? ? ? ? ? Leila > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian >