🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34152

Re: inews-like program for non-local server?

#34152
From: Adam Bailey
Date: Tue, 29 Dec 1998 00:00
51 lines
2752 bytes
In message <769544$2jo@meow.invalid>, Fluffy <meowing@banet.net> wrote...

> Adam Bailey <adamb@tezcat.com> wrote:
>>> Here's toy-inews which can do it.  Needs Perl5 and the libnet bundle.
>> 
>> Running it gave me the following error:
>> 
>> Can't locate Net/NNTP.pm in @INC (@INC contains: /usr/local/lib/perl5/sun4-sunos
>> 
>> Am I missing something I need? If so, where can it be found?
>
> That's the libnet stuff I mentioned.  I *wish* it came bundled with
> Perl, though I suppose it's big enough already without it.
>
> http://www.perl.com/CPAN-local//modules/by-module/Net/libnet-1.0606.tar.gz
>
> (Not a bad download, only 55K.)
>
> If you don't have root access to install the modules "properly" you can
> put them in your own directory.  See the perlfaq8 manpage -- the section
> 'How do I keep my own module/library directory?' -- if you haven't had
> to do this before.

Okay, I went through all that. The one part of the man page I'm not
completely understanding is:

   How do I keep my own module/library directory? 
   When you build modules, use the PREFIX option when generating Makefiles: 
   perl Makefile.PL PREFIX=/u/mydir/perl 
   then either set the PERL5LIB environment variable before you run scripts
   that use the modules/libraries (see the perlrun manpage) or say 
   use lib /u/mydir/perl'; 

The first part went fine, but I don't know what to do with the use line. I
tried attending it to toy-inews, but I get the error:

   Bareword found where operator expected at toy-inews line 14, near "/u/mydir"
           (Missing operator before ydir?)
   Unquoted string "ydir" may clash with future reserved word at toy-inews line 14.
   syntax error at toy-inews line 14, near "/u/mydir"
   Execution of toy-inews aborted due to compilation errors.

Was I supposed to substitute something there?

-- 
Adam Bailey      | Chicago, Illinois
adamb@tezcat.com | "Logic is the art of going wrong with
adamkb@aol.com   |  confidence." - George Bernard Shaw
Finger for PGP   | http://www.tezcat.com/~adamb/

Technical Details
Message-ID: <slrn78g789.61u.adamb@huitzilo.tezcat.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: <766g26$f6h$1@tepe.tezcat.com> <766mnm$kml@meow.invalid> <adamb-2812981729000001@adamb.tezcat.com> <769544$2jo@meow.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <slrn78g789.61u.adamb@huitzilo.tezcat.com>
Subject: Re: inews-like program for non-local server?
Date: Tue, 29 Dec 1998 00:00:00 +0000
From: adamb@tezcat.com (Adam Bailey)
References: <766g26$f6h$1@tepe.tezcat.com> <766mnm$kml@meow.invalid> <adamb-2812981729000001@adamb.tezcat.com> <769544$2jo@meow.invalid>
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: 426601500
Mail-Copies-To: never
Organization: Tezcatlipoca, Inc.
Newsgroups: news.software.nntp