[R] building a package

Yudi Pawitan yudi at stat.ucc.ie
Fri Mar 31 15:41:47 CEST 2000


Dear R-helpers,
I'm learning how to compile R packages with fortran
routines and use the acepack source as an example. 
After some hiccups (Guido told me about the
need to set make_mode=UNIX) I got to the following:  
`make pkg-acepack' runs without error (see below), 
but it does not
     * compile any .f file in acepack/src
     * (hence) try to create any dll file or libs

(I'm working with Rw1000 under Win98, with the cygwin tools.)

Looking into the MakePkg it looks like the following line

     LSOURCES=$(wildcard $(SSPKG)/*.c $(SSPKG)/*.f)

produces a blank. Inside MakeDll there is another `wildcard'
that also produces a blank:

  SOURCES=$(wildcard -f *.c *.f)

Thanks for any hint,
-Yudi-


C:\R\rw1000\src\gnuwin32>make pkg-acepack
/R/TOOLS/MAKE.EXE DLLNM=  EXTRADOCS= \
  -C /R/rw1000/src/library/acepack PKG=acepack RHOME=/R/rw1000
RLIB=/R/rw1000/li
brary \  -f /R/rw1000/src/gnuwin32/MakePkg
---------- Making package acepack ------------
mkdir -p /R/rw1000/library/acepack
cp -r   ./DESCRIPTION  ./INDEX  ./TITLE ./ACE.DOC ./MAN ./README
./README.ACE ./
README~1.AVA ./SRC /R/rw1000/library/acepack/
/R/TOOLS/MAKE.EXE -C ./help RHOME=/R/rw1000 PKGDIR=/R/rw1000/src/library
RLIB=/R/rw1000/library help-acepack
perl build.help  -txt -html -example -latex /R/rw1000/src/library/acepack
/R/rw1
000/library
 >>> Building/Updating help pages for package `acepack'
     Formats: text html latex example
/R/TOOLS/MAKE.EXE -C ./help RHOME=/R/rw1000 PKGDIR=/R/rw1000/src/library
RLIB=/R
/rw1000/library contents-acepack
perl Rd2contents /R/rw1000/src/library/acepack
/R/rw1000/library/acepack/CONTENTS
cat /R/rw1000/library/*/CONTENTS > /R/rw1000/doc/html/search/index.txt
perl build.help  -htmllists

C:\R\rw1000\src\gnuwin32>path
PATH=C:\R\TOOLS;C:\H-I586~1\BIN;C:\GCC-29~1.2\BIN;C:\PERL\BIN;C:\WINDOWS;C:\
WIND
OWS\COMMAND;C:\DMI95\WIN32\BIN



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list