www/64032: Apache2 Installation fails because of redefining a readonly variable

Patrick Schoenfeld schoenfeld at in-medias-res.com
Wed Mar 10 00:40:11 PST 2004


>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 at 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:


More information about the freebsd-www mailing list