To: | krb5-bugs@mit.edu |
Subject: | Apparent bug with configure and "make install" |
Date: | Thu, 31 Dec 2020 09:49:37 -0600 |
From: | "Mike Jetzer" <mjetzer.cdc@gmail.com> |
Compiling krb5-1.18.3 on a Red Hat Enterprise Linux 7 system. When I did a "make install" as a non-privileged user, I got a "mkdir: cannot create directory '/run/krb5kdc': Permission denied" in the initial "mkdir" section of the "make install".
Inspecting src/Makefile, INSTALLMKDIRS includes ${localstatedir}/run and ${localstatedir}/run/krb5kdc, but these are the only two occurrences of the string "localstatedir" in this Makefile.
I see that localstatdir is defined as ${prefix}/var in src/doc/Makefile, so I manually added this definition to my src/Makefile, which allowed "make install" to run without error.