Date: Wed, 10 Mar 2004 00:37:06 -0800 (PST) From: Patrick Schoenfeld <schoenfeld@in-medias-res.com> To: freebsd-gnats-submit@FreeBSD.org Subject: www/64032: Apache2 Installation fails because of redefining a readonly variable Message-ID: <200403100837.i2A8b62G078634@www.freebsd.org> Resent-Message-ID: <200403100840.i2A8eB5W064172@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64032 >Category: www >Synopsis: Apache2 Installation fails because of redefining a readonly variable >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-www >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 10 00:40:10 PST 2004 >Closed-Date: >Last-Modified: >Originator: Patrick Schoenfeld >Release: 5.2-RELEASE >Organization: in medias res GmbH >Environment: FreeBSD operations2.intra.in-medias-res.com 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 >Description: 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 >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. >Fix: Well, i fixed the problem when installing from ports by editing the pkg-install script, where the stated line is: 11: UID=80 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. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403100837.i2A8b62G078634>