🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #29134

Re: Inn 2.0 config problem revisited...

#29134
From: Bert Hyman
Date: Fri, 12 Jun 1998 00:00
27 lines
1800 bytes
In article <6lrbnv$lhf$1@sysadmin.tech7.com>, Jeff Holloway <jeffh@tech7.com.> wrote:

>I'm further confused by the fact that GetFQDN() appears to be returning NULL
>on my system. gethostname() tests out correctly, though I believe that
>several tests of gethostbyname() are puking because I don't have -lsocket or
>-lnsl ...

I'm not running 2.0 yet because I'm just naturally conservative (read lazy), 
but I have done a few test builds of various snapshots.

I found that on my system (running Unisys UNIX, an SVR4.0 variant), the 
configure script failed to find either "gethostbyname" or "socket" because the 
test programs linked with just -lnsl or -lsocket respectively; our libraries 
are arranged such that BOTH libraries be used when either of these routines 
is called.

Of course, without "-lnsl -lsocket" added to $LIBS, the INN programs won't 
link at all, so something else must be going on in your case. 

--
The opinions expressed in this message are my own and are not the opinions of
anyone who does not hold those opinions.
Bert Hyman | Unisys - Roseville MN
bert@rsvl.unisys.com | (612) 635-7791 | net2: 524-7791

Technical Details
Message-ID: <6lrdmm$9j9$1@ernie.rsvl.unisys.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: <6lrbnv$lhf$1@sysadmin.tech7.com>

Show Full Headers
Complete Article Headers
Message-ID: <6lrdmm$9j9$1@ernie.rsvl.unisys.com>
Subject: Re: Inn 2.0 config problem revisited...
Date: Fri, 12 Jun 1998 00:00:00 +0000
From: bert@rsvl.unisys.com (Bert Hyman)
References: <6lrbnv$lhf$1@sysadmin.tech7.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: 362024510
Mime-Version: 1.0
Distribution: world
Content-Type: text/plain; charset=US-ASCII
Organization: Unisys - Roseville, MN
Newsgroups: news.software.nntp