You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Paul J. Reder" <re...@raleigh.ibm.com> on 1999/04/16 16:06:07 UTC

Problem building/installing Apache as non-root.

I have run into a problem trying to build and install Apache 1.3.7-dev using a
non-root id. The fixes applied by dirkx on
April 5 to 1.3/Makefile.tmpl (rev. 1.70) and 1.3/configure (rev. 1.80) have
caused the code to default to conf_user=nobody
and conf_group=nobody in the non-user case. This causes the make install to try
to chown/chgrp the proxy cache dir to
nobody, which causes the make install to fail. The manual fix is easy, change
the generated Makefile values, but his is not
a good long term solution.

It seems that in the trailing if logic in 1.3/configure:
                                              if [ ".`id | grep root`" = . ];
then
                                                 conf_port="8080"
                                              fi
that some code needs to be added inside of here to parse the current user and
group information from the `id` command.

Paul J. Reder