Installing SLRN

SLRN is a powerful, easy to use, threaded internet newsreader for Unix, VMS, OS/2, and Win32 systems. It is highly customizable, permitting one to redefined keys, and includes a sophisticated macro language for further customization. In addition, SLRN provides full support for score files allowing one to design complex filters to sort or kill articles based on how well an article scores.
Web: http://space.mit.edu/~davis/slrn.html
Ftp: ftp://space.mit.edu/pub/davis/slrn/
Needs: S-Lang

Installation

  user: gzcat slrn-0.9.6.2.tar.gz | tar -xvf -
user: cd slrn-0.9.6.2
user: ./configure --prefix=/opt/gnu
user: vi src/Makefile
Change the line that reads:
to

SLANGINC = /export/home/dave/src/slang/src#
SLANGINC = /opt/gnu/include#

          
and
to

SLANGLIB = /export/home/dave/src/slang/src/objs#
SLANGLIB = /opt/gnu/lib#

          
user: vi src/slrnfeat.h
The following changes are needed to match the installation of INN. Your configuration may differ.
to

# define SLRN_SPOOL_ROOT        "/var/spool/news"
# define SLRN_SPOOL_ROOT        "/var/news/spool"

          
to

# define SLRN_SPOOL_INNROOT     "/var/lib/news"
# define SLRN_SPOOL_INNROOT     "/opt/news"

          
to

# define SLRN_SPOOL_ACTIVE      "data/active"
# define SLRN_SPOOL_ACTIVE      "db/active"  

          
to

# define SLRN_SPOOL_ACTIVETIMES "data/active.times"
# define SLRN_SPOOL_ACTIVETIMES "db/active.times"  

          
to

# define SLRN_SPOOL_NEWSGROUPS  "data/newsgroups"
# define SLRN_SPOOL_NEWSGROUPS  "db/newsgroups"  

          
to

#define SLRNPULL_ROOT_DIR       "/var/spool/news/slrnpull"
#define SLRNPULL_ROOT_DIR       "/var/news/spool/slrnpull"

          
user: LD_LIBRARY_PATH=/opt/gnu/lib
user: export LD_LIBRARY_PATH
user: make
user: su
Password:
root: make install

User setup

The user must have the directory containg the S-Lang dynamic library in their LD_LIBRARY_PATH. This should probably be set up in a shell script. For the first use, specify a newsrc file, and the create option as shown below:

  user: LD_LIBRARY_PATH=/opt/gnu/lib
user: export LD_LIBRARY_PATH
user: slrn -f .jnewsrc -create -d
  The -d option causes the newsgroup descriptions to be downloaded and stored. This can take some time, and generate a large file, so you may want to omit this flag.