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

Placekey install failed on Ubuntu #22

Open
acwagnerucd opened this issue Nov 3, 2021 · 0 comments
Open

Placekey install failed on Ubuntu #22

acwagnerucd opened this issue Nov 3, 2021 · 0 comments

Comments

@acwagnerucd
Copy link

I installed h3 and then attempted to install Placekey using the following command:
remotes::install_github("josiahparry/placekey")

I received the following error (see below). Your assistance would be appreciated.

`Downloading GitHub repo josiahparry/placekey@HEAD
✓ checking for file ‘/tmp/Rtmp7p4xTa/remotes2d9aa93cdcb/JosiahParry-placekey-4011219/DESCRIPTION’ ...
─ preparing ‘placekey’:
✓ checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘placekey_0.1.0.tar.gz’

Installing package into ‘/home/awagner/R/x86_64-pc-linux-gnu-library/4.1’
(as ‘lib’ is unspecified)

  • installing source package ‘placekey’ ...
    ** using staged installation
    ** libs
    g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I'/home/awagner/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-5XUBcI/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
    g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I'/home/awagner/R/x86_64-pc-linux-gnu-library/4.1/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-5XUBcI/r-base-4.1.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c h3api.cpp -o h3api.o
    h3api.cpp:2:10: fatal error: h3/h3api.h: No such file or directory
    #include <h3/h3api.h>
    ^~~~~~~~~~~~
    compilation terminated.
    /usr/lib/R/etc/Makeconf:177: recipe for target 'h3api.o' failed
    make: *** [h3api.o] Error 1
    ERROR: compilation failed for package ‘placekey’
  • removing ‘/home/awagner/R/x86_64-pc-linux-gnu-library/4.1/placekey’
    Warning message:
    In i.p(...) :
    installation of package ‘/tmp/Rtmp7p4xTa/file2d9a6ec72bba/placekey_0.1.0.tar.gz’ had non-zero exit status`
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