[krbdev.mit.edu #8975] Apparent bug with configure and "make install"

"Mike Jetzer via RT" <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
Thu Dec 31 15:06:18 2020: Request 8975 was acted upon.
 Transaction: Ticket created by [email protected]
       Queue: krb5
     Subject: Apparent bug with configure and "make install"
       Owner: Nobody
  Requestors: [email protected]
      Status: new
 Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8975 >


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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.