From ripley at stats.ox.ac.uk  Fri Nov 25 10:20:10 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Fri, 25 Nov 2005 09:20:10 +0000 (GMT)
Subject: [Rd] Buliding a package (on Windows) does not produce libs
 directory
In-Reply-To: <07e801c5f19e$3f21e580$0100a8c0@ALES>
References: <07e801c5f19e$3f21e580$0100a8c0@ALES>
Message-ID: <Pine.LNX.4.61.0511250917540.17824@gannet.stats>

There is no DLL being built. We have absolutely nothing to go on here, but 
there are dozens of examples on CRAN which do work.  A simple one 
containing Fortran is 'ash' - perhaps you should study how yours differs 
from that.

And please get R CMD INSTALL working before complicating the issue with 
the (not recommended) R CMD build --binary.


On Fri, 25 Nov 2005, Ales Ziberna wrote:

> Dear expeRts!
>
>
>
> I have produced a package and I would like to compile it on windows to build
> a binary package. The package also includes Fortran code. This is where I
> have problems.
>
>
>
> The package compiles fine, however the Fortran code seams to be ignored. I
> have the Fortran code in src subdirectory. I have all the compilers
> installed. Actually, if I compile the Fortran subroutines manually and then
> place them in the libs subdirectory (which I have to create) in the zip
> file, the package loads nicely and the Fortran subroutines can be used.
>
>
>
> At the bottom of the mail is the output I get when calling R CMD build (if I
> call install the result is similar).
>
>
>
> I apologize if this has been answered previously, since I have not found it.
>
>
> C:\Ales\Statistika>R CMD build --binary --docs="none" blockmodeling
> * checking for file 'blockmodeling/DESCRIPTION' ... OK
> * preparing 'blockmodeling':
> * checking DESCRIPTION meta-information ... OK
> * cleaning src
> * removing junk files
> * checking for LF line-endings in source files
> * checking for empty directories
> * building binary distribution
> WARNING
> * some HTML links may not be found
> installing R.css in C:/TEMP/Rinst.1696
>
>
>
> Using auto-selected zip options ' blockmodeling-HELP=ziponly'
>
>
>
> ---------- Making package blockmodeling ------------
>  adding build stamp to DESCRIPTION
>  installing R files
>  installing man source files
>  installing indices
>  preparing package blockmodeling for lazy loading
>  adding MD5 sums
>
>
>
> packaged installation of package 'blockmodeling' as blockmodeling_0.1.0.zip
> * DONE (blockmodeling)
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
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



[Rd] Buliding a package (on Windows) does not produce libs directory
Prof Brian Ripley