You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Brian Behlendorf <br...@hyperreal.com> on 1997/06/22 22:52:07 UTC

[harrison@mangelo.attmail.com (harrison)] (fwd)

[just got back from south africa, am now handling list administrivia]

---------- Forwarded message ----------
Date: Wed, 18 Jun 1997 11:59:40 -0500
From: harrison@mangelo.attmail.com (harrison)
Subject: Apache 1.2.0 port to NCR SVR4
To: new-httpd@hyperreal.com

Hi,

I am writing to let you know about my port of the Apache
server version 1.2.0 to the NCR 4850 SVR4 unix platform.
It was a rather easy port, and I'm currently using only 
the basic modules.  The results of "uname -a" are...

	monaco monaco 4.0 3.0 4850 386/486/MC


CHANGES TO APACHE 1.2.0 for the NCR SVR4 port
=======================================================

CHANGE: added the following to the Configure script

        case "$PLAT" in       
        .
        .
        .
        *-sysv4* | 4850-whatever-*)
            OS='SVR4'
            CFLAGS="$CFLAGS -DSVR4"
            LIBS="$LIBS -lsocket -lnsl -lc"
            ;;                

CHANGE: had to specify the "Rule WANTHSREGEX=yes" option 
        in the Configuration file. 

CHANGE: had to change the function definitions for 
        strcasecmp and strncasecmp in src/util.c to use
        "unsigned" char pointers rather than "const" char
        pointers due to a conflict with /usr/include/netdb.h
        See the code excerpts below...

        #ifdef NEED_STRCASECMP
        int strcasecmp (unsigned char *a,
                        unsigned char *b)
        {
            unsigned char *p = a;
            unsigned char *q = b;
            .
            .
            .
        }
        #endif                                               

        #ifdef NEED_STRNCASECMP
        int strncasecmp (unsigned char *a,
                         unsigned char *b, int n)
        {   
            unsigned char *p = a;
            unsigned char *q = b;
            .
            .
            .
        }   
        #endif       
=======================================================

I realize that the NCR platform is probably not a common
one for a web server, but I just thought I'd let you know.

Thanks for a terrific product,
Martin Harrison
(732) 885-8434
Lucent Technologies
martinharrison@lucent.com