astrand/xclip

Install without root priviliges

Kvothe-The-Bloodless opened this issue · 1 comments

Is there any way to install this without root priviliges?I tried and it gave the error

/usr/bin/install -c xclip xclip-copyfile xclip-pastefile xclip-cutfile /usr/local/bin
/usr/bin/install: cannot create regular file `/usr/local/bin/xclip': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/xclip-copyfile': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/xclip-pastefile': Permission denied
/usr/bin/install: cannot create regular file `/usr/local/bin/xclip-cutfile': Permission denied

If the only problem is that the proper files can't be installed in /usr/bin/install is there any way to indicate that it should simply be build to some other directory where the user has the right permissions.

I managed with ./configure --prefix="$HOME/local/xclip", but now xclip won't run due to xclip: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by xclip). I got no complaint about a missing library when I used .configure.

I checked with /lib64/libc.so.6

that I have the following version which is apparently too low:
GNU C Library stable release version 2.12

So I guess I would have to build a newer version of libc locally too.