Article View: news.software.readers
Article #3529Re: rn vs. Solaris 2.1 ("trn" too - read this for a possible fix!)
From: Guy Harris
Date: Thu, 11 Mar 1993 02:30
Date: Thu, 11 Mar 1993 02:30
33 lines
2149 bytes
2149 bytes
>Does anyone have patches or instructions on how to get rn to compile
>on Solaris 2.1. rn seems to insist that termlib exist (which of course
>it doesn't on Solaris 2.1). I would appreciate any help.
The problem appears to be the result of somebody (according to a person
I know, that "somebody" is AT&T/USL) not quite having made their minds
up where various libraries belong.
In Solaris 2.x (and, if it actually *is* AT&T/USL's fault, other
SVR4-derived systems), the "libcurses" library is in "/usr/ccs/lib".
(However, other libraries built atop "libcurses" are in "/usr/lib", e.g.
the form and menu libraries. Go figure....)
The "Configure" script in the version of "rn" we have here ("rn" 4.3.54)
will look for "libcurses.a" in "/usr/lib", "/usr/local/lib", and "/lib";
however, it will *not* look in "/usr/ccs/lib".
I think fixing it to look there as well may fix the problem - it'll
realize that Solaris 2.x gets "tputs.o" from "-lcurses", and thus figure
out that it's a "terminfo"-flavored system.
Look for the line in "Configure" that reads:
ans=`loc libcurses.a x /usr/lib /usr/local/lib /lib`
and change it to read
ans=`loc libcurses.a x /usr/lib /usr/ccs/lib /usr/local/lib /lib`
(You may also have to arrange that "/usr/ccs/bin" is in your path when
running "Configure" and when building "rn".)
"trn"s "Configure" script will, it appears, need to change as well....
Technical Details
Message-ID:
<17232@auspex-gw.auspex.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!auspex-gw!guyReferences:
<C3Dv43.Epz@ndl.com>Show Full Headers
Complete Article Headers
Message-ID: <17232@auspex-gw.auspex.com>
Subject: Re: rn vs. Solaris 2.1 ("trn" too - read this for a possible fix!)
Date: Thu, 11 Mar 1993 02:30:11 +0000
From: guy@Auspex.COM (Guy Harris)
References: <C3Dv43.Epz@ndl.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!auspex-gw!guy
Newsgroups: news.software.b,news.software.readers
Sender: news@auspex-gw.auspex.com
Followup-To: news.software.readers
Organization: Auspex Systems, Santa Clara
Lines: 33
Nntp-Posting-Host: 144.48.253.21