Article View: news.software.nntp
Article #25558Re: INN 1.7.2 and Solaris 2.X - Serious compilation questions
From: Jake Burns
Date: Sat, 24 Jan 1998 00:00
Date: Sat, 24 Jan 1998 00:00
95 lines
3454 bytes
3454 bytes
I just compiled INN 1.7.2 on a Sparc1+ running Solaris 2.5.1. I had to
make the following changes to get a successful build:
in config/config.data:
changed:
LOCK_STYLE FLOCK
to
LOCK_STYLE NONE
changed:
HAVE_TM_GMTOFF DO
to
HAVE_TM_GMTOFF DONT
changed:
HAVE_SETPROCTITLE DO
to
HAVE_SETPROCTITLE DONT
changed:
LIBS -lutil
to
LIBS -lsocket -lresolv -lnsl -lelf
in frontends/Makefile
changed:
LIBS = -lutil
to
LIBS =
I suggest you start over and make the changes to config/config.data
instead of editing the source. Hopefully INN will be using autoconf
sometime soon which should make things easier.
--
Jake Burns
jake@blacksun.net
In article <6a1api$2gj$1@usenet88.supernews.com>,
brianb@lance.netdoor.com (Brian Baggett) wrote:
>
> 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
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
Technical Details
Message-ID:
<885679663.2053832709@dejanews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mailReferences:
<6a1api$2gj$1@usenet88.supernews.com>Show Full Headers
Complete Article Headers
Message-ID: <885679663.2053832709@dejanews.com> Subject: Re: INN 1.7.2 and Solaris 2.X - Serious compilation questions Date: Sat, 24 Jan 1998 00:00:00 +0000 From: jake@blacksun.net (Jake Burns) References: <6a1api$2gj$1@usenet88.supernews.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.sun.admin.mbox.zip!not-for-mail X-Deja-AN: 318926324 X-Http-User-Agent: Mozilla/4.03 [en] (X11; I; IRIX 6.2 IP22) X-Originating-IP-Addr: 206.101.4.3 (wbgate.warnerbros.com) Organization: spoof.org X-Authenticated-Sender: jake@blacksun.net (Jake Burns) X-Article-Creation-Date: Sat Jan 24 22:07:44 1998 GMT Newsgroups: news.software.nntp,comp.sys.sun.misc,comp.sys.sun.apps,comp.sys.sun.admin