On Wed, Jun 18, 2014 at 3:47 AM, Michael Lueck
<mlu...@lueckdatasystems.com> wrote:
> Prefix, building the program with non root permissions to be run in the
> context of a user's home directory.
>
> PID file, generally defaults to /var/run, however in this case permissions
> are not granted to /var/run. One could assume ~/var/run would be the proper
> place for the PID file.
>
> Building a certain OSS/FS app fails when being built with a prefix
> specified, as /var/run is still assumed for the PID file. I hacked the
> source code to obtain ability to target ~/var/run for the PID file, and the
> program works as expected.
>
It depends on the build system of the program in question, but it
looks like "localstatedir" is the preferred makefile variable for this
directory, and is as an autoconf output variable. It should be set
automatically from whatever "prefix" directory was specified.

Reply via email to