hi there, trying to follow the steps of Yan & Rossini 2003, I have two problems : first when I 'make CrossCompileBuild', I get : ****************************************************************************** make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' make -f Makefile.docfiles make[2]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' makeinfo --no-split --html --no-headers --number-sections -o tmp.html tmp.texi tidy tmp.html > tmp2.html 2> /dev/null make[2]: [fixed/html/rw-FAQ.html] Error 127 (ignored) *** tidy appears to be non-functional *** make[2]: *** [fixed/html/rw-FAQ.html] Error 111 make[2]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' make[1]: *** [docfiles] Error 2 make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' ****************************************************************************** and then, trying to go throught, as this didn't look like a big error, I 'make pkg-multidim_0.5-3' and ****************************************************************************** -------multidim------ make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' ---------- Making package multidim ------------ installing inst files adding build stamp to DESCRIPTION making DLL ... dataentry.c:27: config.h: No such file or directory make[4]: *** [dataentry.o] Error 1 make[3]: *** [libR] Error 2 make[2]: *** [srcDynlib] Error 2 make[1]: *** [pkg-multidim] Error 2 make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' adding: multidim/ (stored 0%) adding: multidim/doc/ (stored 0%) adding: multidim/DESCRIPTION (deflated 31%) adding: multidim/doc/multidim.ps (deflated 77%) ****************************************************************************** I don't understand where this 'config.h' should come from... any help appreciated, and many thanks to the authors for this comprehensive article. -- Mathieu Ros Ph. D. student - "Canalizing selection using Bayesian models" INRA - Fish Genetics Unit (Paris)/Cell Genetics Unit (Toulouse) tel : (+0033)1 3465 3414 (FGU) / (+0033)5 6128 5305 (CGU) mail : ros at diamant.jouy.inra.fr
Paulo Justiniano Ribeiro Jr
2003-Nov-03 18:07 UTC
[R] problem building MS-Windows package under linux
I had this same problem before: you need to install the program "tidy" in your linux machine There is a p[ackage for DEBIAN such that you can use apt-get install tidy don't know about other distros but it is probably available as well P.J. paulojus at notebook:~$ apt-cache search tidy perltidy - A Perl script indenter and reformatter tidy - HTML syntax checker and reformatter tidy-doc - HTML syntax checker and reformatter documentation tidy-proxy - A small http proxy which tidies html On Mon, 3 Nov 2003, Mathieu Ros wrote:> hi there, > trying to follow the steps of Yan & Rossini 2003, I have two problems > : > first when I 'make CrossCompileBuild', I get : > > ****************************************************************************** > > make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > make -f Makefile.docfiles > make[2]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > makeinfo --no-split --html --no-headers --number-sections -o tmp.html tmp.texi > tidy tmp.html > tmp2.html 2> /dev/null > make[2]: [fixed/html/rw-FAQ.html] Error 127 (ignored) > *** tidy appears to be non-functional *** > make[2]: *** [fixed/html/rw-FAQ.html] Error 111 > make[2]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > make[1]: *** [docfiles] Error 2 > make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > ****************************************************************************** > > > and then, trying to go throught, as this didn't look like a big > error, I 'make pkg-multidim_0.5-3' and > > > ****************************************************************************** > > -------multidim------ > make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > > ---------- Making package multidim ------------ > installing inst files > adding build stamp to DESCRIPTION > making DLL ... > dataentry.c:27: config.h: No such file or directory > make[4]: *** [dataentry.o] Error 1 > make[3]: *** [libR] Error 2 > make[2]: *** [srcDynlib] Error 2 > make[1]: *** [pkg-multidim] Error 2 > make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > adding: multidim/ (stored 0%) > adding: multidim/doc/ (stored 0%) > adding: multidim/DESCRIPTION (deflated 31%) > adding: multidim/doc/multidim.ps (deflated 77%) > > ****************************************************************************** > > I don't understand where this 'config.h' should come from... > any help appreciated, and many thanks to the authors for this > comprehensive article. > > -- > Mathieu Ros > Ph. D. student - "Canalizing selection using Bayesian models" > INRA - Fish Genetics Unit (Paris)/Cell Genetics Unit (Toulouse) > tel : (+0033)1 3465 3414 (FGU) / (+0033)5 6128 5305 (CGU) > mail : ros at diamant.jouy.inra.fr > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > >Paulo Justiniano Ribeiro Jr Departamento de Estat?stica Universidade Federal do Paran? Caixa Postal 19.081 CEP 81.531-990 Curitiba, PR - Brasil Tel: (+55) 41 361 3471 Fax: (+55) 41 361 3141 e-mail: pj at est.ufpr.br http://www.est.ufpr.br/~paulojus
Prof Brian Ripley
2003-Nov-03 19:26 UTC
[R] problem building MS-Windows package under linux
You do need to build R before you build a package, when cross-building. `Small' errors stop make running: try make -k? On Mon, 3 Nov 2003, Mathieu Ros wrote:> hi there, > trying to follow the steps of Yan & Rossini 2003, I have two problems > : > first when I 'make CrossCompileBuild', I get : > > ****************************************************************************** > > make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > make -f Makefile.docfiles > make[2]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > makeinfo --no-split --html --no-headers --number-sections -o tmp.html tmp.texi > tidy tmp.html > tmp2.html 2> /dev/null > make[2]: [fixed/html/rw-FAQ.html] Error 127 (ignored) > *** tidy appears to be non-functional *** > make[2]: *** [fixed/html/rw-FAQ.html] Error 111 > make[2]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > make[1]: *** [docfiles] Error 2 > make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > ****************************************************************************** > > > and then, trying to go throught, as this didn't look like a big > error, I 'make pkg-multidim_0.5-3' and > > > ****************************************************************************** > > -------multidim------ > make[1]: Entering directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > > ---------- Making package multidim ------------ > installing inst files > adding build stamp to DESCRIPTION > making DLL ... > dataentry.c:27: config.h: No such file or directory > make[4]: *** [dataentry.o] Error 1 > make[3]: *** [libR] Error 2 > make[2]: *** [srcDynlib] Error 2 > make[1]: *** [pkg-multidim] Error 2 > make[1]: Leaving directory `/home/ros/RWORK/CROSSSOMP/WinR/R-1.8.0/src/gnuwin32' > adding: multidim/ (stored 0%) > adding: multidim/doc/ (stored 0%) > adding: multidim/DESCRIPTION (deflated 31%) > adding: multidim/doc/multidim.ps (deflated 77%) > > ****************************************************************************** > > I don't understand where this 'config.h' should come from... > any help appreciated, and many thanks to the authors for this > comprehensive article. > >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595