You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Andrey Chernov <ac...@nagual.pp.ru> on 1999/03/25 23:13:32 UTC
os-freebsd/4137: Lack of FreeBSD 4.x support
>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 <ap...@Apache.Org> 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! ]