Re: [Rd] LAPACK and BLAS libraries

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 30 May 2007 08:35:58 +0100 (BST)

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:

> Hi,
>
> 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[3]: *** [PACKAGE.dll] Error 1
> make[2]: *** [srcDynlib] Error 2
> make[1]: *** [all] Error 2
> make: *** [pkg-PACKAGE] Error 2
> *** Installation of PACKAGE failed ***
>
> I've installed all the following tools :
> mingw-runtime-3.12.tar.gz
> w32api-3.9.tar.gz
> binutils-2.17.50-20060824-1.tar.gz
> gcc-core-3.4.5-20060117-1.tar.gz
> gcc-g++-3.4.5-20060117-1.tar.gz
> gcc-g77-3.4.5-20060117-1.tar.gz
> 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
>
> Thanks!
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 30 May 2007 - 07:39:07 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 30 May 2007 - 14:34:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.