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

Install on unix fails #5

Closed
SergioFelperin opened this issue Jun 28, 2018 · 5 comments
Closed

Install on unix fails #5

SergioFelperin opened this issue Jun 28, 2018 · 5 comments

Comments

@SergioFelperin
Copy link

error message
h3api.cpp:2:22: fatal error: h3/h3api.h: No such file or directory
#include <h3/h3api.h>
^
compilation terminated.

@harryprince
Copy link
Contributor

harryprince commented Jul 2, 2018

could you show us more information, such as your code and environment information?

@SergioFelperin
Copy link
Author

SergioFelperin commented Jul 2, 2018 via email

@usuallycwdillon
Copy link

usuallycwdillon commented Jul 30, 2018

I'm getting his same error. How is h3R trying to find the existing h3 install? Or rather, where is it expecting to find it?

I reinstalled h3 as a shared library under /usr/local/bin.

I get past the "No such file or directory" error, but installation still fails here:

/usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld: cannot find -lh3.1
collect2: error: ld returned 1 exit status
make: *** [/usr/lib64/R/share/make/shlib.mk:6: h3r.so] Error 1
ERROR: compilation failed for package ‘h3r’
* removing ‘/usr/lib64/R/library/h3r’
Error: Command failed (1)

The libh3.so and libh3.so.1 can be found under /usr/local/lib (but not usr/local/lib64), but it looks to me that R is looking in the right place.

@harryprince
Copy link
Contributor

harryprince commented Jan 7, 2019

I met the same problem and solved by this PR:
#3

@scottmmjackson
Copy link
Owner

#3 was merged, closing this unless the issue persists.

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

4 participants