Gilles GUILLOT wrote:
>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
Hmm, don't know at this place (if the paths are correct and in the correct order, and all tools are installed).
I'd rather try to build R from scratch, and you'll get libR.a.
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
So install LaTeX.
* using log directory 'C:/Documents and Settings/guillot/Mes documents/package/
eneland.Rcheck'
Does it really read "eneland"? Then something is wrong with the tools you have installed, I presume. And you have left out at least one sentence of "readme.packages" ...
Uwe Ligges
One last comment: Even if it works on some machines, I do never trust paths with blanks in it.
* 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
______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
