[R] building a package under windows
Gilles GUILLOT
gilles.guillot at inapg.inra.fr
Mon Oct 25 19:10:27 CEST 2004
Hi,
I have a package of my own which seems to work fine under linux.
I want to make a compiled version for windows.
(I work with windows 2000 and R 2.0)
I have followed the steps described in the file
readme.packages (in the top-level directory of the binary installation)
and I had a trouble at this step (which aim is not documented):
C:\Program Files\R\rw2000\src\gnuwin32>make libR.a libRblas.a
dlltool -k --as as --dllname R.dll --def R.exp --output-lib libR.a
make: *** [libR.a] Error 255
But still, I tried to build my package by
C:\Documents and Settings\guillot\Mes documents\package>Rcmd check geneland
and got :
* checking for working latex ...latex: not found
NO
* using log directory 'C:/Documents and Settings/guillot/Mes
documents/package/
eneland.Rcheck'
* checking for file 'geneland/DESCRIPTION' ... OK
* checking if this is a source package ... OK
installing R.css in C:/DOCUME~1/guillot/MESDOC~1/package/GENELA~1.RCH
---------- Making package geneland ------------
adding build stamp to DESCRIPTION
making DLL ...
make[4]: *** [libR.a] Error 255
make[3]: *** [libR] Error 2
make[2]: *** [srcDynlib] Error 2
make[1]: *** [all] Error 2
make: *** [pkg-geneland] Error 2
*** Installation of geneland failed ***
Removing 'C:/DOCUME~1/guillot/MESDOC~1/package/GENELA~1.RCH/geneland'
ERROR
Installation failed.
What is wrong here ?
Gilles
--
_____________________________________________________________________
Gilles GUILLOT
INRA -Département Mathématiques et Informatique Appliquées
Unité de Mixte de Recherche INRA - INAPG - ENGREF
Institut National Agronomique de Paris-Grignon
16 rue Claude Bernard
75231 Paris cedex 5
Aile Claude Bernard
Niveau cours +3 étages
tel : +33 (0)1 44 08 72 71
fax : +33 (0)1 44 08 16 66
http://www.inapg.fr/ens_rech/mathinfo/personnel/guillot/welcome.html
More information about the R-help
mailing list