Article View: news.software.nntp
Article #13559Re: Compiling 1.5.1 on sunos 4.1.3
From: Jef Poskanzer
Date: Fri, 27 Dec 1996 00:00
Date: Fri, 27 Dec 1996 00:00
75 lines
2638 bytes
2638 bytes
kimc@moonpie.w8hd.org (Kim Culhan):
}Could you post the defs for SunOS as used in 1.5 for gcc-2.7.2 ?
}I've seen quite a number of requests here for this information which
}does not appear to be available in the inn1.5 package.
Below are the significant diffs between the distributed sample SunOS 4
config and the one we used. A summary:
- We use vfork.
- "BIND_USE_SIZEOF DO" has a bug so we disable it.
- We get the descriptor count from the system instead of hard-coding it.
- Various return-type changes that have been mentioned in this thread.
- We seem to have mktemp so we don't use INN's version.
- The correct field number for "df -i" is 3, not 7.
We also make the following two changes which are not SunOS 4 related
but are important enough to mention:
- The "LIKE_PULLERS DONT" option is broken so we set DO.
- We increase the max header size to 4096; 1024 is too small these days.
All sites regardless of OS should make these last two changes.
---
Jef
Jef Poskanzer jef@acme.com http://www.acme.com/jef/
In Stereo (where available)
222c232
< FORK fork
---
> FORK vfork
225c235
< HAVE_VFORK DONT
---
> HAVE_VFORK DO
234c244
< BIND_USE_SIZEOF DO
---
> BIND_USE_SIZEOF DONT
251c261
< NOFILE_LIMIT 126
---
> NOFILE_LIMIT -1
262c272
< ABORTVAL int
---
> ABORTVAL void
271c281
< SLEEPVAL unsigned int
---
> SLEEPVAL unsigned
280c290
< FREEVAL int
---
> FREEVAL void
302c312
< MISSING_SRC strerror.c mktemp.c memmove.c
---
> MISSING_SRC strerror.c memmove.c
304c314
< MISSING_OBJ strerror.o mktemp.o memmove.o
---
> MISSING_OBJ strerror.o memmove.o
450c460
< LIKE_PULLERS DONT
---
> LIKE_PULLERS DO
508c518
< MAXHEADERSIZE 1024
---
> MAXHEADERSIZE 4096
815c825
< INNWATCH_INODES 7
---
> INNWATCH_INODES 3
Technical Details
Message-ID:
<5a2jn3$pm0@shellx.best.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-aus.computers.sun.mbox.zip!not-for-mailReferences:
<59un12$86i@emf.emf.net> <59v1qv$buc@lios.apana.org.au> <5a0sl9$24m@moonpie.w8hd.org>Show Full Headers
Complete Article Headers
Message-ID: <5a2jn3$pm0@shellx.best.com> Subject: Re: Compiling 1.5.1 on sunos 4.1.3 Date: Fri, 27 Dec 1996 00:00:00 +0000 From: Jef Poskanzer <jef@acme.com> References: <59un12$86i@emf.emf.net> <59v1qv$buc@lios.apana.org.au> <5a0sl9$24m@moonpie.w8hd.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-aus.computers.sun.mbox.zip!not-for-mail X-Deja-AN: 206361903 Distribution: inet Sender: jef@best.com Organization: Paratheo-Anametamystikhood Of Eris Esoteric Reply-to: Jef Poskanzer <jef@acme.com> Newsgroups: news.software.nntp,comp.sys.sun.apps,aus.computers.sun