Open natyfp opened 9 months ago
This is the whole error:
curl: HTTP 200 https://cran.rstudio.com/src/contrib/fftwtools_0.9-11.tar.gz
01/18 18:15:24.580 (GMT)
[1] "Command failed (1)\n\nFailed to run system command:\n\n\t'/opt/R/4.2.1/lib/R/bin/R' --vanilla CMD INSTALL --preclean '/opt/rstudio-connect/mnt/tmp/Rtmpr8s227/packrat-install-6ea0f5060f6c8/fftwtools' --library='/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.2.1' --install-tests --no-docs --no-multiarch --no-demo \n\nThe command failed with output:\n installing source package ‘fftwtools’ ...\n package ‘fftwtools’ successfully unpacked and MD5 sums checked\n using staged installation\nchecking for gcc... gcc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file name... a.out\nchecking for suffix of executables... \nchecking whether we are cross compiling... no\nchecking for suffix of object files... o\nchecking whether we are using the GNU C compiler... yes\nchecking whether gcc accepts -g... yes\nchecking for gcc option to accept ISO C89... none needed\nchecking how to run the C preprocessor... gcc -E\ncheckin
g for gcc... (cached) gcc\nchecking whether we are using the GNU C compiler... (cached) yes\nchecking whether gcc accepts -g... (cached) yes\nchecking for gcc option to accept ISO C89... (cached) none needed\nchecking for pkg-config... yes\nPackage fftw3 was not found in the pkg-config search path.\nPerhaps you should add the directory containing fftw3.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'fftw3' found\nPackage fftw3 was not found in the pkg-config search path.\nPerhaps you should add the directory containing
fftw3.pc'\nto the PKG_CONFIG_PATH environment variable\nNo package 'fftw3' found\nconfigure: creating ./config.status\nconfig.status: creating src/Makevars\n\nfftwtools 0.9-10\n================\n\ncompiler flags: \nlink argument: \n\n libs\ngcc -I\"/opt/R/4.2.1/lib/R/include\" -DNDEBUG -I/usr/local/include -fpic -g -O2 -c fftwtools.c -o fftwtools.o\nfftwtools.c:28:9: fatal error: fftw3.h: No such file or directory\n 28 | #include~~~~\
ncompilation terminated.\nmake:
I'm trying to deploy on Posit an app using this library, but I'm getting the error: Package fftw3 was not found in the pkg-config search path.