[Rd] LAPACK and BLAS libraries

From: Tommy Ouellet <tommy101_at_gmail.com>
Date: Tue, 29 May 2007 15:21:53 -0400

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 :

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 Received on Wed 30 May 2007 - 06:54:03 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 - 13:33:38 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.