*BSD News Article 53940


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.EDU.AU!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!news.iag.net!tous!moses.gencon.com!rd.gencon.com!usenet
From: rd@tarpit.rd.gencon.com (Bob Thrush)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Apache httpd under BSDI?
Date: 03 Nov 1995 02:31:45 GMT
Organization: Genesis Controls, Inc.
Lines: 48
Message-ID: <RD.95Nov2213145@tarpit.rd.gencon.com>
References: <477163$3go@Venus.mcs.com>
NNTP-Posting-Host: localhost.rd.gencon.com
To: les@MCS.COM (Leslie Mikesell)
In-reply-to: les@MCS.COM's message of 31 Oct 1995 23:39:15 -0600

>>>>> "les" == Leslie Mikesell <les@MCS.COM> writes:
les> Is anyone using Apache httpd under BSDI 2.x?  I had it lock up the
les> machine the first time I tried to access anything.  Did I screw
les> something up or does it need some modifications?  Is it better
les> than the stock NCSA version?

  I'm using 0.8.14 with bsdi 2.x.  I changed the makefile as 
follows:

--- Makefile-   Tue Sep 19 12:25:13 1995
+++ Makefile    Tue Oct 24 14:03:51 1995
@@ -4,7 +4,7 @@
 # CC= cc
 # For Suns or other non-ANSI platforms. Please make sure your gcc is
 # 2.0 or later, as 1.40 seems to create bad code for the Sun 4.
-CC= gcc -Wall
+CC= shlicc2 -Wall
 
 # CFLAGS, compile flags.
 
@@ -13,7 +13,7 @@
 # performance, use -DMAXIMUM_DNS
 
 #CFLAGS= -O2 
-CFLAGS= -g 
+CFLAGS= -g -O2 -DMINIMAL_DNS
 
 # Modules precompiled with the server.  Note that these must also be
 # in the list in modules.c in order to be active.
@@ -31,7 +31,7 @@
 # SETTINGS FOR THE SYSTEM FLAGS. IF YOU DON'T, BAD THINGS WILL HAPPEN.
 
 # For SunOS 4
-AUX_CFLAGS= -DSUNOS4
+#AUX_CFLAGS= -DSUNOS4
 # For Solaris 2.
 # AUX_CFLAGS= -DSOLARIS2 -DFCNTL_SERIALIZED_ACCEPT
 # EXTRA_LIBS= -lsocket -lnsl
@@ -72,7 +72,7 @@
 #AUX_CFLAGS= -DAPOLLO
 # For NetBSD/FreeBSD/BSDI 2.x
 # -m486 only if you are running on Intel 486/586
-#AUX_CFLAGS= -m486
+AUX_CFLAGS= -m486
 # BSDI doesn't need -lcrypt
 #EXTRA_LIBS= -lcrypt
-- 
Bob Thrush rd@thrush.com    407 425-4845/ FAX 841-8004