dun/munge

munge install to user-defined prefix

Closed this issue · 0 comments

Hello,

I accidentally tried to post to "User Discussion" google group. Sorry for that.

The problem is following: when I try to install munge to the empty prefix it fails with the following error below. Attached file highlights the problematic place in the build system. Currently munge searches systemd directory in the prefix and if there is no such directory it switches to the default /lib/systemd/system which is not accessible for the regular user. Most of the prefix installations would be empty so this breaks them.

Installation error:

/usr/bin/install: cannot create regular file '/lib/systemd/system/munge.service': Permission denied
make[3]: *** [install-data-local] Error 1
make[3]: Leaving directory `/home/artpol/WORK/Development/SLURM/mpi_plugin/src/munge-patch/munge-0.5.11_old/src/etc'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/artpol/WORK/Development/SLURM/mpi_plugin/src/munge-patch/munge-0.5.11_old/src/etc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/artpol/WORK/Development/SLURM/mpi_plugin/src/munge-patch/munge-0.5.11_old/src'
make: *** [install-recursive] Error 1

munge-0.5.11_prefix_install.patch.gz

Original issue reported on code.google.com by artpol84 on 10 Oct 2014 at 9:46