Article View: news.software.nntp
Article #8347Compiling INN1.4unoff4 on Linux 1.3.100 -- questions!
From: David Dyer-Bennet
Date: Fri, 07 Jun 1996 00:00
Date: Fri, 07 Jun 1996 00:00
42 lines
2393 bytes
2393 bytes
Our news server was upgraded from Linux 1.2 to 1.3, and I rebuilt INN and did some things that I think should help me take advantage of it -- notably turning on mmap and unix-domain sockets. It seems to be working, but I had to hack a bit to get it there. If this is all well-understood stuff, I'd like to be sure I have it right; if it isn't, I guess I need to document what I did more carefully and report it, eh? I had problems with multiple uio.h files on the system (not including the one in ~inn/include); one in /usr/include/sys and one in /usr/include/linux, with conflicting definitions of struct iovec. The one in .../linux said it superseded the one in .../sys, so I made that be true and nothing obvious has broken yet. This doesn't even look inn related, but that's the first time I encoutered it. Anybody know about this? With NNRP_LOADLIMIT set to a > 0 value, I got link errors in .../nnrpd/loadave.c on "nlist". I tried tracing that out, and couldn't figure out what was going on. I presume it relates to going to ELF? And why does it get the load average that way rather than through the /proc filesystem? I resolved this by setting the loadlimit to -1, not a wonderful long-term solution. The select in nnrp/misc.c gets warnings on wrong argument types, but seems to work. I get lots of multiply-defined symbols with the same value in both places -- a bunch of FD_* stuff. I understand I can use the shared-active patch on this system; is this true? Any gotchas, difficulty in installation, etc? Wonder what else I'm forgetting? -- David Dyer-Bennet ddb@gw.ddb.com, ddb@ddb.com SF cons: http://www.ddb.com/4th-Street, http://www.mnstf.org/minicon31 Me: http://www.ddb.com/~ddb (photos, Olympus photo eqpt. for sale, sf) Join the 20th century before it's too late!
Technical Details
Message-ID:
<4pa5kr$coc@gw.ddb.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <4pa5kr$coc@gw.ddb.com> Subject: Compiling INN1.4unoff4 on Linux 1.3.100 -- questions! Date: Fri, 07 Jun 1996 00:00:00 +0000 From: ddb@gw.ddb.com (David Dyer-Bennet) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 159173671 Distribution: inet Organization: The Dyer-Bennet Domain Newsgroups: news.software.nntp