-
Notifications
You must be signed in to change notification settings - Fork 587
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
How to install in custom prefix location and how to refer to capnp from a non-package location #2697
Comments
I'm not much of an expert on CMake either. You may need to set PKG_CONFIG_PATH to include the path where you installed capnp. You can definitely run rr unprivileged. You don't actually need to install it, you can just build it and then run it directly. |
cmake -DCMAKE_INSTALL_PREFIX=/foo is the equivalent of ./configure --prefix=/foo IIRC. |
Thanks. I was able to make progress, but see below. First, in order to pick up the pkg config for capnp, and in order to specify a custom prefix (both
This then asked for Python 3's
So it doesn't run unless you specify the location of these dynamic libraries:
this works. I note that It appears that a |
Thanks for the diagnosis. I'd take a pull request to fix the rpath but I don't think anyone is going to work on it otherwise. |
FWIW in my case, I did |
Hi, I am trying to build and run
rr
on a machine where I lack root access. I am trying to follow the instructions given here.First, I installed Cap'n Proto using the instructions using the desired prefix directory (which will be the same location for
rr
as well). However,rr
doesn't pick it up when runningcmake ../rr
:As a second question, I do not know how to tell
rr
the desired installation prefix where I'd like to install it. In a standard GNU autoconf setup, this would be done using the--prefix
parameter, but I'm not familiar enough withCMake
to know the equivalent switch here.The
rr
installation instructions appear to cover only the case of an installation in a standard, usually root-owned directory (e.g./usr/local/bin
).If
rr
does not support installations by non-privileged users, please state so in the documentation. I've checked the System Requirements. Thank you.The text was updated successfully, but these errors were encountered: