Date: Sun, 02 Feb 1997 15:09:13 +0100 From: albast <albast@xs4all.nl> To: tphilips@cedar.netten.net, freebsd-ports@freefall.freebsd.org Subject: Re: ports/2636: Bad port of apache or its just me i don't know Message-ID: <1.5.4.32.19970202140913.00673678@xs4all.nl>
next in thread | raw e-mail | index | archive | help
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\\~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1.5.4.32.19970202140913.00673678>