-
Notifications
You must be signed in to change notification settings - Fork 39
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
"make install" fails #42
Comments
No, you can't. You can however copy the generated libXrandr.so to any directory, create the symlinks manually, and add the directory to your library search path by adding |
I see. It would be a time-saver to have an option for this in the "make install". An idea for a feature maybe? Anyway, thanks! |
I haven't used fakexrandr in a while, but I've got this change stashed from nearly 2 years ago. diff --git a/Makefile b/Makefile
index 2321194..bf83c19 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX=/home/nmschulte/.local
+PREFIX=/usr
CFLAGS=-O2
ifeq ($(shell pkg-config --errors-to-stdout --print-errors xcb-randr),)
diff --git a/configure b/configure
index 565130d..24467e8 100755
--- a/configure
+++ b/configure
@@ -28,7 +28,7 @@ REAL_LIBRARY_DIR=$(dirname "${REAL_LIBRARY}")
# 3) Determine location for fake xrandr library
LIBRARY_DIRECTORIES=($(ldconfig -v 2>/dev/null | grep -oE '^/[^:]+'))
-FAKE_LIBRARY_DIRECTORY=/home/nmschulte/.local/lib
+FAKE_LIBRARY_DIRECTORY=
CANDIDATES=
for DIR in ${LIBRARY_DIRECTORIES[@]}; do
if [ "$DIR" == "${REAL_LIBRARY_DIR}" ]; then |
"make install" fails, and I get the following errors:
Can I install without doing sudo? I'm on Ubuntu 16.04. Thanks.
The text was updated successfully, but these errors were encountered: