🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #25355

INN 1.7.2 and Solaris 2.X - Serious compilation questions

#25355
From: Brian Baggett
Date: Tue, 20 Jan 1998 00:00
53 lines
2096 bytes
Recently, while trying to compile the latest INN, I encountered some
problems getting it to compile under either Solaris 2.5 or Solaris 2.6
(both x86).  The suggested recommendations for compiling on Solaris 2.5 or
better were virtually non-existent on the web.  I made the following
changes and was wondering if any of you had done the same and, if so, what
was the outcome?  Also, are there any changes I forgot to make? 

The point I'm trying to make is that I can make it compile, but am wary of
trying it out for fear that it doesn't work.

To compile INN 1.7.2, I edited config/config.data and changed the 'LIBS
-lutil' to 'LIBS -lnsl -lsocket -lelf -lresolv' (because my predecessor
compiled 1.51 with these options). I made sure that each Makefile in each
subdirectory has the updated LIBS line.

I edited lib/gettime.c and commented out these lines (68 and 69).

#else
        LastTzone =  (0 - tm->tm_gmtoff) / 60;

I edited lib/lockfile.c and commented out these lines (42,43, and 44).

#if     defined(LOCK_FLOCK)
    return flock(fd, Block ? LOCK_EX : LOCK_EX | LOCK_NB);
#endif  /* defined(LOCK_FLOCK) */


I edited nnrpd/nnrpd.c and commented out the lines that read:

#if     defined(DO_HAVE_SETPROCTITLE)
    setproctitle("%s %s", ClientHost, what);
#else

and line 242:

#endif  /* defined(DO_HAVE_SETPROCTITLE) */

Anyone else have to do this?

Thanks,

Brian

-------------
Brian Baggett
Systems Administrator
Internet Doorway, Inc.
http://www.netdoor.com              	



Technical Details
Message-ID: <6a1api$2gj$1@usenet88.supernews.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

Show Full Headers
Complete Article Headers
Message-ID: <6a1api$2gj$1@usenet88.supernews.com>
Subject: INN 1.7.2 and Solaris 2.X - Serious compilation questions
Date: Tue, 20 Jan 1998 00:00:00 +0000
From: brianb@lance.netdoor.com (Brian Baggett)
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: 317576664
Organization: All USENET -- http://www.Supernews.com
Newsgroups: news.software.nntp