🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36920

Re: INN 2.* for HP-UX 10.20

#36920
From: Arthur Hagen
Date: Thu, 22 Apr 1999 00:00
45 lines
2574 bytes
In article <7flaut$ne1$1@nnrp1.dejanews.com>, olegaxenov@usa.net writes:
> Hi Admins,
> 
> I would like to install inn server on HP-UX 10.20, but I can not compile this
> with standard HP-UX C compiler. I got errors regarding ANSI. Also I don't
> want remove standard C compiler from my system and replace it with gcc. Is
> there any way I can compile this?

Sure.  It compiles pretty much out of the box *if* you have the ANSI C
compiler.  Don't even think about using the default compiler.

There's also problems if you have *both* ANSI C and gcc installed on
the same machine, and in your path.  You need to remove gcc and all
gcc utilities from your path before configuring.

With ANSI C installed, this isn't too bad a start for a configure line
(csh/tcsh assumed, change the "env" statement if sh/bsh/ksh):

env CFLAGS="-Ae +O2 +Onolimit +ESlit" ./configure --prefix=/home/news \
--with-perl --enable-tagged-hash --with-sendmail=/usr/lib/sendmail

(The above should work with HP-UX 11.0 too, but you can drop the -Ae,
as that's become standard for the new compiler.)

Change the prefix to your liking :-)
Also note that you need to install perl5 first.

And even after all this, you end up with a INN version that won't work
well, because of HP-UX' approach to mmap'ing[1].  If you use CNFS, new
articles won't become visible to clients until you've run news.daily or
a manual expire.  Feeds work ok, though.
But for nnrp news reading, you'd better stick to traditional feed and
drop control.cancel entirely (vxfs/ufs can't handle 500000 articles a
day without the entire file system slowing down to a crawl).

No, HP-UX 10.20 is definitely not the best OS for running INN 2.2 on.

[1]:  Why on earth is the PAGESZ for mmap'ing on HP-UX 3001 bytes??

Regards,
-- 
*Art

Technical Details
Message-ID: <3hllf7.ik4.ln@flying.broomstick.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-mail
References: <7flaut$ne1$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
Message-ID: <3hllf7.ik4.ln@flying.broomstick.com>
Subject: Re: INN 2.* for HP-UX 10.20
Date: Thu, 22 Apr 1999 00:00:00 +0000
From: art@flying.broomstick.com (Arthur Hagen)
References: <7flaut$ne1$1@nnrp1.dejanews.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-mail
X-Deja-AN: 469333098
X-Complaints-To: abuse@broomstick.com
X-Trace: kether.broomstick.com 924737309 8443 194.52.172.70 (21 Apr 1999 23:28:29 GMT)
Organization: Broomstick Net Services
Reply-To: art@broomstick.com
NNTP-Posting-Date: 21 Apr 1999 23:28:29 GMT
Newsgroups: news.software.nntp