R中的包安装

时间:2013-11-20 11:57:52

标签: r fft

我正在尝试在Linux下安装fftw软件包。我正在使用以下命令:

R CMD INSTALL  fftw_1.0-3.tar.gz

但是错误:

* installing to library â/usr/local/lib64/R/libraryâ
* installing *source* package âfftwâ ...
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for gcc... (cached) gcc -std=gnu99
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc -std=gnu99 accepts -g... (cached) yes
checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFTW... configure: error: Package requirements (fftw3) were not met:

No package 'fftw3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables FFTW_CFLAGS
and FFTW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



ERROR: configuration failed for package âfftwâ
* removing â/usr/local/lib64/R/library/fftwâ

0 个答案:

没有答案