*BSD News Article 88716


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!howland.erols.net!news.mathworks.com!news.maxwell.syr.edu!news.bc.net!rover.ucs.ualberta.ca!news
From: Marc Slemko <marcs@znep.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 1.2b6 error on http_core.c
Date: 6 Feb 1997 01:03:59 GMT
Organization: University of Alberta
Lines: 49
Message-ID: <5dbalv$7je@pulp.ucs.ualberta.ca>
References: <32F92308.41C67EA6@delete-to-reply.NextLeap.com>
NNTP-Posting-Host: gpu5.srv.ualberta.ca
X-Newsreader: NN version 6.5.0 (NOV)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35208

You don't mention what version of FreeBSD you are using.  If you
are using the current port, it will not work on FreeBSD 2.1.x.

Either reverse the patch in patches/patch-af (ie. add "typedef quad_t
rlim_t;" to the end of the FreeBSD section) or just download the 
original source from http://www.apache.org/ and use it.

In <32F92308.41C67EA6@delete-to-reply.NextLeap.com> "Stephen M. Newman" <stephen@delete-to-reply.NextLeap.com> writes:

>I was just trying to upgrade to 1.2.b6 apache. And got the following
>errors:

>NextLeap# make
>Checksums OK.
>===>  Building for apache-1.2b6
>cd src; make PREFIX=/usr/local all
>gcc -c   -O  -DSTATUS -DHTTPD_ROOT=\"/usr/local/etc/apache/\" 
>-DDOCUMENT_LOCATION=\"/usr/local/www/data/\" 
>-DSERVER_CONFIG_FILE=\"httpd.conf\" 
>-DRESOURCE_CONFIG_FILE=\"srm.conf\"  -DTYPES_CONFIG_FILE=\"mime.types\" 
>-DACCESS_CONFIG_FILE=\"access.conf\"  http_core.c
>http_core.c: In function `set_rlimit':
>http_core.c:995: `rlim_t' undeclared (first use this function)
>http_core.c:995: (Each undeclared identifier is reported only once
>http_core.c:995: for each function it appears in.)
>http_core.c:995: parse error before `cur'
>http_core.c:1009: `cur' undeclared (first use this function)
>http_core.c:1018: `max' undeclared (first use this function)
>*** Error code 1

>Stop.
>*** Error code 1

>Stop.
>*** Error code 1

>Stop.
>*** Error code 1

>Stop.
>*** Error code 1

>Stop.
>NextLeap# 

>Taking a look at http_core.c I cannot see a problem, anyone else have
>this error?

>Stephen@nextleap.com