From owner-freebsd-ports Sun Feb 2 06:10:23 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA19057 for ports-outgoing; Sun, 2 Feb 1997 06:10:23 -0800 (PST) Received: from magigimmix.xs4all.nl (magigimmix.xs4all.nl [194.109.6.25]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA19052 for ; Sun, 2 Feb 1997 06:10:17 -0800 (PST) Received: from albast (ztm06-06.dial.xs4all.nl [194.109.32.167]) by magigimmix.xs4all.nl (8.7.6/XS4ALL) with SMTP id PAA16687; Sun, 2 Feb 1997 15:10:01 +0100 (MET) Message-Id: <1.5.4.32.19970202140913.00673678@xs4all.nl> X-Sender: albast@xs4all.nl (Unverified) X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Sun, 02 Feb 1997 15:09:13 +0100 To: tphilips@cedar.netten.net, freebsd-ports@freefall.freebsd.org From: albast Subject: Re: ports/2636: Bad port of apache or its just me i don't know Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 12:25 AM 2/2/97 -0800, you wrote: > >>Number: 2636 >>Category: ports >>Synopsis: Bad port of apache or its just me i don't know >>Confidential: no >>Severity: non-critical >>Priority: low >>Responsible: freebsd-ports >>State: open >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Sun Feb 2 00:30:00 PST 1997 >>Last-Modified: >>Originator: Tracy E. Phillips >>Organization: >>Release: 2.2 beta >>Environment: >FreeBSD redpoint.com 2.2-BETA_A FreeBSD 2.2-BETA_A #0 Fri Jan 31 16:44 CST >1997 root@redpoint.com:/usr/src/sys/compile/REDPOINT i386 >>Description: >This is for apache that is in current ports apache 1.2b6 > >When i change to /usr/ports/www/apache and do a make install, the source is >d/l just fine when the package starts t build i get this: > >>How-To-Repeat: > >>Fix: Here is the problem: as mentioned in apache, if rlimt_t is not previously typedef'ed, the compilation will fail. solution: somewhere @ line 358 in conf.h where ``#elif defined(__FreeBSD__) || defined(__bsdi__)'' resides, add the line ``typedef int rlim_t;'' and everything will work just fine :-) > >>Audit-Trail: >>Unformatted: >>> Checksum OK for apache_1.2b6.tar.gz. >===> 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 >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. >*** Error code 1 > >Stop. > >http_core.c: In function `set_rlimit': >http_core.c:995: `rlim_t' undeclared (first use this function) <--- this is our problem ! >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) > Have fun! -Jeroen Hogeveen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /\ URL: http://www.twiddle.com/ Jeroen Hogeveen 0 0 Powered by FreeBSD/Apache jeroenh@twiddle.com / \/ \ (not yet connected :-) SA, WEBmaster etc. (R) / \ / / \ \ Twiddle & Twiddle logo are Copyright (C) 1996 Twiddle ~~~~//ooo__ooo\\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~