FreeBSD Bugzilla – Bug 64032
Apache2 Installation fails because of redefining a readonly variable
Last modified: 2004-04-13 09:26:58 UTC
When i tried to install Latest Apache it failed while package install,
stating the following error:
./+INSTALL: line 11: UID: readonly variable
It's refusing to continue the installation.
Same thing when building apache from the ports-three
Well, i fixed the problem when installing from ports by editing the pkg-install script, where the stated line is:
When i knew that, i've left vi and did run the script trough sed,
changing each UID in the file against something other which could
not be in use as a system var (in my case i just added the S of User behind the U) - Quick and dirty, but it did work.
How-To-Repeat: Well, i don't know if it's something with my current environment,
as i did not update to 5.2.1-RELEASE yet, but if not, there
are 2 ways to repeat the problem
1. pkg_add -r apache
2. cd /usr/ports/www/apache; make install
In each case, it's the same if you are gonna build an apache2 instead of the 1.3 branche.
Reassign misfiled ports PR.
Over to maintainer.
I don't understand what is your problem.
pkg-install script only add user www/80,
Can you explain me why you want to change this script, so I can find a solution ?
Waiting for more details.
Did you change your /bin/sh to bash ? ;-)
BTW, it's fixed in CVS.
Should be fixed now (even if it should never occur)