Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 6680 invoked by uid 6000); 25 Mar 1999 22:20:13 -0000 Received: (qmail 6225 invoked by uid 2001); 25 Mar 1999 22:20:02 -0000 Received: (qmail 947 invoked by uid 2012); 25 Mar 1999 22:13:32 -0000 Message-Id: <19990325221332.946.qmail@hyperreal.org> Date: 25 Mar 1999 22:13:32 -0000 From: Andrey Chernov Reply-To: ache@nagual.pp.ru To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: os-freebsd/4137: Lack of FreeBSD 4.x support Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 4137 >Category: os-freebsd >Synopsis: Lack of FreeBSD 4.x support >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: open >Class: change-request >Submitter-Id: apache >Arrival-Date: Thu Mar 25 14:20:02 PST 1999 >Last-Modified: >Originator: ache@nagual.pp.ru >Organization: apache >Release: 1.3.6 >Environment: FreeBSD nagual.pp.ru 4.0-CURRENT FreeBSD 4.0-CURRENT #11: Thu Mar 18 20:36:13 MSK 1999 ache@nagual.pp.ru:/usr/src/sys/compile/LSD i386 >Description: "unsigned char" and DSO features not turned on for FreeBSD 4.x since Apache not know anything about it. >How-To-Repeat: Just try to compile under FreeBSD-current. At least you'll get: Cannot load /usr/local/libexec/apache/mod_info.so into server: /usr/local/libexec/apache/mod_info.so: Undefined symbol "ap_user_id" >Fix: Here is the patch: --- src/Configure.orig Sun Mar 21 08:07:24 1999 +++ src/Configure Fri Mar 26 00:57:25 1999 @@ -454,7 +454,7 @@ PLATOSVERS=`echo $PLAT | sed 's/^.*freebsd//'` OS="FreeBSD $PLATOSVERS" case "$PLATOSVERS" in - [23]*) + [234]*) DEF_WANTHSREGEX=no CFLAGS="$CFLAGS -funsigned-char" ;; @@ -955,7 +955,7 @@ LDFLAGS_SHLIB_EXPORT="" SHLIB_SUFFIX_DEPTH=2 ;; - *-freebsd3*) + *-freebsd[34]*) CFLAGS_SHLIB="-fpic" LDFLAGS_SHLIB="-Bshareable" OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]