cannot create regular file '/lib/systemd/system/xdm.service': Permission denied
dclarke at blastwave.org
dclarke at blastwave.org
Wed Oct 14 08:50:23 PDT 2015
Everything was going smoothly in my build process until, for some
reason, an attempt was made to reach into the OS area and touch things
under /lib. Well that should be a no no as I am not building as the
root user and I want everything safely in /opt/xorg.
So I probably missed a step somewhere ?
----------------------------------------------------------------------
Libraries have been installed in:
/opt/xorg/lib/X11/xdm
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm/greeter'
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm/greeter'
Making install in include
make[1]: Entering directory '/home/dclarke/xorg/app/xdm/include'
make[2]: Entering directory '/home/dclarke/xorg/app/xdm/include'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm/include'
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm/include'
Making install in man
make[1]: Entering directory '/home/dclarke/xorg/app/xdm/man'
make[2]: Entering directory '/home/dclarke/xorg/app/xdm/man'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/opt/xorg/share/man/man1'
/usr/bin/install -c -m 644 xdm.1 '/opt/xorg/share/man/man1'
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm/man'
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm/man'
Making install in xdm
make[1]: Entering directory '/home/dclarke/xorg/app/xdm/xdm'
make[2]: Entering directory '/home/dclarke/xorg/app/xdm/xdm'
/bin/mkdir -p '/opt/xorg/bin'
/bin/bash ../libtool --mode=install /usr/bin/install -c xdm
'/opt/xorg/bin'
libtool: install: /usr/bin/install -c xdm /opt/xorg/bin/xdm
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm/xdm'
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm/xdm'
Making install in xdmshell
make[1]: Entering directory '/home/dclarke/xorg/app/xdm/xdmshell'
make[2]: Entering directory '/home/dclarke/xorg/app/xdm/xdmshell'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm/xdmshell'
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm/xdmshell'
make[1]: Entering directory '/home/dclarke/xorg/app/xdm'
make[2]: Entering directory '/home/dclarke/xorg/app/xdm'
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/lib/systemd/system'
/usr/bin/install -c -m 644 xdm.service '/lib/systemd/system'
/usr/bin/install: cannot create regular file
'/lib/systemd/system/xdm.service': Permission denied
Makefile:526: recipe for target 'install-systemdsystemunitDATA' failed
make[2]: *** [install-systemdsystemunitDATA] Error 1
make[2]: Leaving directory '/home/dclarke/xorg/app/xdm'
Makefile:857: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/home/dclarke/xorg/app/xdm'
Makefile:554: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
build.sh: " env LD_LIBRARY_PATH=/opt/xorg/lib make install" failed on
app/xdm
build.sh: error processing: "app/xdm"
Dennis
More information about the xorg
mailing list