You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Larry Rosenman <le...@lerctr.org> on 2001/11/10 21:42:40 UTC
build/8731: port needed to this platform (OpenUNIX8).
>Number: 8731
>Category: build
>Synopsis: port needed to this platform (OpenUNIX8).
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Sat Nov 10 12:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: ler@lerctr.org
>Release: 1.3.22
>Organization:
apache
>Environment:
Caldera OpenUNIX 8, 8.0.0. This is the followon to UnixWare 7.1.1.
$ uname -a
OpenUNIX lerami 5 8.0.0 i386 x86at Caldera UNIX_SVR5
$
>Description:
I've made some changes and will include the diff. I can also offer access to
my box to allow you folks to check my work.
>How-To-Repeat:
try to compile on OU8.
>Fix:
$ cat diffs
Index: src/Configure
===================================================================
RCS file: /cvsroot/apache/src/Configure,v
retrieving revision 1.1.1.4
diff -c -r1.1.1.4 Configure
*** src/Configure 2001/11/10 19:49:47 1.1.1.4
--- src/Configure 2001/11/10 20:05:47
***************
*** 630,635 ****
--- 630,641 ----
LIBS="$LIBS -lsocket -lnsl -lcrypt -lgen -lresolv"
DBM_LIB=""
;;
+ *-OpenUNIX8)
+ OS='OpenUNIX 8'
+ CFLAGS="$CFLAGS -DUW=800"
+ LIBS="$LIBS -lsocket -lnsl -lcrypt -lgen -lresolv"
+ DBM_LIB=""
+ ;;
maxion-*-sysv4*)
OS='SVR4'
CFLAGS="$CFLAGS -DSVR4"
***************
*** 1255,1260 ****
--- 1261,1276 ----
*/gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
*/cc|cc ) CFLAGS_SHLIB="-KPIC" ;;
esac
+ LDFLAGS_SHLIB="-Bdynamic -G"
+ LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
+ LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
+ ;;
+ *-OpenUNIX*)
+ case $CC in
+ */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
+ */cc|cc ) CFLAGS_SHLIB="-KPIC" ;;
+ esac
+ LD_SHLIB="cc"
LDFLAGS_SHLIB="-Bdynamic -G"
LDFLAGS_MOD_SHLIB=$LDFLAGS_SHLIB
LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport"
Index: src/helpers/GuessOS
===================================================================
RCS file: /cvsroot/apache/src/helpers/GuessOS,v
retrieving revision 1.1.1.4
diff -c -r1.1.1.4 GuessOS
*** src/helpers/GuessOS 2001/11/10 19:50:22 1.1.1.4
--- src/helpers/GuessOS 2001/11/10 19:55:23
***************
*** 72,77 ****
--- 72,79 ----
7*)
echo "${MACHINE}-whatever-unixware7"; exit 0
;;
+ 8*) echo "${MACHINE}-whatever-OpenUNIX8"; exit 0
+ ;;
esac
;;
esac
Index: src/include/ap_config.h
===================================================================
RCS file: /cvsroot/apache/src/include/ap_config.h,v
retrieving revision 1.1.1.4
diff -c -r1.1.1.4 ap_config.h
*** src/include/ap_config.h 2001/11/10 19:50:26 1.1.1.4
--- src/include/ap_config.h 2001/11/10 20:18:26
***************
*** 634,639 ****
--- 634,641 ----
#define NO_LINGCLOSE
#define NO_KILLPG
#endif
+ /* A lot of SVR4 systems need this */
+ #define HAVE_FCNTL_SERIALIZED_ACCEPT
#undef NO_SETSID
#undef NEED_STRDUP
#define NEED_STRCASECMP
$
>Release-Note:
>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 make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database 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! ]