Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package fftw3 was not found in the pkg-config search path. #69

Open
natyfp opened this issue Jan 18, 2024 · 1 comment
Open

Package fftw3 was not found in the pkg-config search path. #69

natyfp opened this issue Jan 18, 2024 · 1 comment

Comments

@natyfp
Copy link

natyfp commented Jan 18, 2024

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.

@natyfp
Copy link
Author

natyfp commented Jan 18, 2024

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<fftw3.h>\n | ^~~~~~~~~
ncompilation terminated.\nmake: *** [/opt/R/4.2.1/lib/R/etc/Makeconf:168: fftwtools.o] Error 1\nERROR: compilation failed for package ‘fftwtools’\n* removing ‘/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/4.2.1/fftwtools’"
01/18 18:15:24.582 (GMT)
Error: Command failed (1)
01/18 18:15:24.582 (GMT)
01/18 18:15:24.582 (GMT)
Failed to run system command:
01/18 18:15:24.582 (GMT)
01/18 18:15:24.582 (GMT)
'/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
01/18 18:15:24.582 (GMT)
01/18 18:15:24.582 (GMT)
The command failed with output:
01/18 18:15:24.582 (GMT)

  • installing source package ‘fftwtools’ ...
    01/18 18:15:24.582 (GMT)
    ** package ‘fftwtools’ successfully unpacked and MD5 sums checked
    01/18 18:15:24.582 (GMT)
    ** using staged installation
    01/18 18:15:24.582 (GMT)
    checking for gcc... gcc
    01/18 18:15:24.582 (GMT)
    checking whether the C compiler works... yes
    01/18 18:15:24.582 (GMT)
    checking for C compiler default output file name... a.out
    01/18 18:15:24.582 (GMT)
    checking for suffix of executables...
    01/18 18:15:24.582 (GMT)
    checking whether we are cross compiling... no
    01/18 18:15:24.582 (GMT)
    checking for suffix of object files... o
    01/18 18:15:24.582 (GMT)
    checking whether we are using the GNU C compiler... yes
    01/18 18:15:24.582 (GMT)
    checking whether gcc accepts -g... yes
    01/18 18:15:24.582 (GMT)
    checking for gcc option to accept ISO C89... none needed
    01/18 18:15:24.582 (GMT)
    checking how to run the C preprocessor... gcc -E
    01/18 18:15:24.582 (GMT)
    checking for gcc... (cached) gcc
    01/18 18:15:24.582 (GMT)
    checking whether we are using the GNU C compiler... (cached) yes
    01/18 18:15:24.582 (GMT)
    checking whether gcc accepts -g... (cached) yes
    01/18 18:15:24.582 (GMT)
    checking for gcc option to accept ISO C89... (cached) none needed
    01/18 18:15:24.582 (GMT)
    checking for pkg-config... yes
    01/18 18:15:24.582 (GMT)
    Package fftw3 was not found in the pkg-config search path.
    01/18 18:15:24.582 (GMT)
    Perhaps you should add the directory containing `fftw3.pc'
    01/18 18:15:24.582 (GMT)
    to the PKG_CONFIG_PATH environment variable
    01/18 18:15:24.582 (GMT)
    No package 'fftw3' found
    01/18 18:15:24.582 (GMT)
    Package fftw3 was not found in the pkg-config search path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant