[R] why is rcmd shlib including files not in the list?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed Mar 3 10:01:36 CET 2004
It is not including files, but it is trying to compute dependencies from
them. This is changed in R-devel.
Meanwhile, just use a directory containing only the files you are trying
to include.
*Please* don't post to both R-help and R-devel: I have removed R-devel
from the Cc: list.
On Tue, 2 Mar 2004, Jeff D. Hamann wrote:
> I've been trying to create a shlib file (using mingw instead of the
> cygwin -- after reconfiguring my machine, yet again) and I'm getting the
> following behaviour that I think is incorrect:
>
> When using rcmd shlib and explicitly listing the files to include in the
> build such as:
>
> C:\Sequential\Code>rcmd shlib --output=optflikam flikam.c as47.f as154.f
> as197.f
> making corrAdaptiveSim.d from corrAdaptiveSim.c
> corrAdaptiveSim.c:65:57: /rosetta/Statistics/R/R-1.8.1/src/include/R.h: No
> such file or directory
> corrAdaptiveSim.c:66:66:
> /rosetta/Statistics/R/R-1.8.1/src/include/Rinternals.h: No such file or
> directory
> corrAdaptiveSim.c:73:57: /rosetta/Statistics/R/R-1.8.1/src/nmath/qt.c: No
> such file or directory
> corrAdaptiveSim.c:78:18: as47.c: No such file or directory
> corrAdaptiveSim.c:79:19: as197.c: No such file or directory
> make: *** [corrAdaptiveSim.d] Error 1
>
> C:\Sequential\Code>
>
>
> Other files are "automatically" included which should not be included and
> the results are:
>
> making corrAdaptiveSim.d from corrAdaptiveSim.c
> corrAdaptiveSim.c:65:57: /rosetta/Statistics/R/R-1.8.1/src/include/R.h: No
> such file or directory
> corrAdaptiveSim.c:66:66:
> /rosetta/Statistics/R/R-1.8.1/src/include/Rinternals.h: No such file or
> directory
> corrAdaptiveSim.c:73:57: /rosetta/Statistics/R/R-1.8.1/src/nmath/qt.c: No
> such file or directory
> corrAdaptiveSim.c:78:18: as47.c: No such file or directory
> corrAdaptiveSim.c:79:19: as197.c: No such file or directory
> make: *** [corrAdaptiveSim.d] Error 1
>
> Is this a bug or is there something I'm not doing correctly?
>
> Jeff.
>
>
> ---
> Jeff D. Hamann
> Forest Informatics, Inc.
> PO Box 1421
> Corvallis, Oregon USA 97339-1421
> (office) 541-754-1428
> (cell) 541-740-5988
> jeff.hamann at forestinformatics.com
> www.forestinformatics.com
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
--
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
More information about the R-help
mailing list