[Rd] LAPACK and BLAS libraries
Prof Brian Ripley
ripley at stats.ox.ac.uk
Wed May 30 09:35:58 CEST 2007
Please don't post to multiple lists.
It seems you are using Windows, but have not told us so: this is one of
many things in the posting guide you have not followed (and that is why
you did not get at least one answer on R-help).
There are many packages on CRAN that use LAPACK and work under Windows.
You should test your setup on one of those. (DPackage is one of the first
in C collation.)
On Tue, 29 May 2007, Tommy Ouellet wrote:
> I don't know if I'm sending this to the right place but I've looked throught
> tens and tens of topics on http://tolstoy.newcastle.edu.au/ and finally
> found that email address where I can maybe find some help.
> Well my main goal is to get to use the lapack library within my R package
> (which can be done using calls from C). But in order to do this I have to
> create a file src/Makevars with the following line : PKG_LIBS=$(LAPACK_LIBS)
> $(BLAS_LIBS) $(FLIBS)
> However when I create this file, my package won't build anymore. Actually
> the checking results in the following :
The actual line that failed having been omitted!
> mingw32\bin\ld.exe: cannot find -lg2c
> collect2: ld returned 1 exit status
> make: *** [PACKAGE.dll] Error 1
> make: *** [srcDynlib] Error 2
> make: *** [all] Error 2
> make: *** [pkg-PACKAGE] Error 2
> *** Installation of PACKAGE failed ***
> I've installed all the following tools :
> So I don't know what to do next for the package to build... Any help would
> be greatly appreciated.
> I am using R v. 2.5.0
> [[alternative HTML version deleted]]
> R-devel at r-project.org mailing list
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-devel