[R] Re: Cross-building R packages

From: Gregor GORJANC <gregor.gorjanc_at_bfro.uni-lj.si>
Date: Fri 25 Mar 2005 - 19:32:02 EST

Jun hi again!

Sorry for bothering. Although I had no problem with building Windows package under Linux, I noticed that man pages are not processed as they should or maybe I have a problem with my setup.

My package is called 'GeneticsPed'. Instead of HTML or text files I just got a GeneticsPed.Rd.gz in man directory of a package (this is within GeneticsPed_0.1.zip file!). The file GeneticsPed.Rd.gz contains is one file, where all man pages are in in Rd format. When I install package I just get this (GeneticsPed.Rd.gz) file in library.

I understand that I should dig into Makefiles and I tried, but I got lost.   I added below the output I got when compiling and there are some errors, but as I said I got lost when searching for cause.

Do you or any other from r-help have any clue what is wrong?

$ make pkg-GeneticsPed_0.1
export
PATH=/home/packages/RCrossBuild/cross-tools/bin:/home/packages/RCrossBuild/cross-tools/mingw32/bin:.:/home/ggorjan/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:.:/home/ggorjan/apiis/apiis/bin:/home/ggorjan/apiis/apiis/../ref_breedprg/bin; \
export mypkg=`echo GeneticsPed_0.1 | cut -d'_' -f1,1`; \ cd /home/packages/RCrossBuild/pkgsrc; \
rm -rf $mypkg; \
tar zxf GeneticsPed_0.1.tar.gz; \
echo -------$mypkg------; \
cd /home/packages/RCrossBuild/WinR/R-2.0.1/src/gnuwin32/; \ make PKGDIR=/home/packages/RCrossBuild/pkgsrc RLIB=/home/packages/RCrossBuild/WinRlibs STAMP=no HELP=YES pkg-$mypkg; \ mkdir -p /home/packages/RCrossBuild/WinRlibs; \ cd /home/packages/RCrossBuild/WinRlibs; \ rm -rf $mypkg.zip; \
zip -rl $mypkg.zip $mypkg -x \*.so \*.dll \*.RData \*.rda \*.zip \*.rds \*.pdf \*.ps;\
zip -r9 $mypkg.zip $mypkg -i \*.so \*.dll \*.RData \*.rda \*.zip \*.rds \*.pdf \*.ps;\
rm -rf $mypkg
-------GeneticsPed------
make[1]: Entering directory
`/home/packages/RCrossBuild/WinR/R-2.0.1/src/gnuwin32'

Jun Yan wrote:
> It's great to know that someone finds it helpful! Thanks for letting us
> know. We'll keep it updated.
>
> Jun
>
> On Thu, 24 Mar 2005, Gregor GORJANC wrote:
>
>

>>Hello!
>>
>>I just went thourgh the process of creating a Windows package on my Linux 
>>box and I must say that it took me no longer than 30 minutes to wrap 
>>everything up and that's just because you two put everything together so 
>>nicely. I must say that you've done an excellent work. Keep on going!
>>
>>-- 
>>Lep pozdrav / With regards,
>>     Gregor Gorjanc
>>
>>-----------------------------------------------------------------------
>>University of Ljubljana
>>Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
>>Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
>>Groblje 3                   tel: +386 (0)1 72 17 861
>>SI-1230 Domzale             fax: +386 (0)1 72 17 888
>>Slovenia, Europe
>>-----------------------------------------------------------------------
>>

>
>
>
-- 
Lep pozdrav / With regards,
     Gregor Gorjanc

-----------------------------------------------------------------------
University of Ljubljana
Biotechnical Faculty        URI: http://www.bfro.uni-lj.si/MR/ggorjan
Zootechnical Department     mail: gregor.gorjanc <at> bfro.uni-lj.si
Groblje 3                   tel: +386 (0)1 72 17 861
SI-1230 Domzale             fax: +386 (0)1 72 17 888
Slovenia, Europe

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Mar 25 19:38:00 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:56 EST