./configure --prefix= not used by xkb during "make install"
I downloaded xorg-server-1.20.8.tar.bz2
and tried to build it into an alternate --prefix=
directory.
Almost all of it installed without error into the PREFIX directory I gave to ./configure
.
The xkb
did not install; it tried to install directly in /usr
instead of into PREFIX/usr
like everything else:
$ ./configure --prefix=/my/dir
$ make
$ make install
[... lots of stuff installed correctly under /my/dir until ...]
Making install in xkb
make[1]: Entering directory '/var/tmp/idallen/xorg-server-1.20.8/xkb'
make[2]: Entering directory '/var/tmp/idallen/xorg-server-1.20.8/xkb'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/usr/share/X11/xkb/compiled'
/usr/bin/install -c -m 644 README.compiled '/usr/share/X11/xkb/compiled'
/usr/bin/install: cannot remove '/usr/share/X11/xkb/compiled/README.compiled': Permission denied
Makefile:749: recipe for target 'install-dist_xkbcompiledDATA' failed
make[2]: *** [install-dist_xkbcompiledDATA] Error 1
make[2]: Leaving directory '/var/tmp/idallen/xorg-server-1.20.8/xkb'
Makefile:868: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/var/tmp/idallen/xorg-server-1.20.8/xkb'
Makefile:816: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
I re-ran make -k install
and everything except xkb
used the correct PREFIX directory.