🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by olegaxenov Wed, 21 Apr 1999 00:00
INN 2.* for HP-UX 10.20
#36903
Author: olegaxenov
Date: Wed, 21 Apr 1999 00:00
14 lines
1116 bytes
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?

Thanks,
Oleg

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: INN 2.* for HP-UX 10.20
#36841
Author: Russ Allbery
Date: Wed, 21 Apr 1999 00:00
24 lines
1537 bytes
olegaxenov <olegaxenov@usa.net> writes:

> 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.

Did you actually buy the HP-UX compiler or are you trying to use the one
that comes with the operating system?  If the latter, be warned that it's
braindead on a level only reached by the SunOS standard compiler.  Not
very much will compile with it (although I believe gcc will).

> 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?

You need a real compiler.  You don't have to replace your compiler with
gcc to install gcc, you know; it will happily coexist.

If you're using the HP-UX commercial compiler, rather than just the one
that comes with the OS, it may be possible to get it to work.  What error
messages are you getting, precisely?

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: INN 2.* for HP-UX 10.20
#36920
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads