🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82993

Re: [SLRN] running within a user's space

#82993
From: those who know me have no need o...
Date: Wed, 15 Aug 2001 23:32
42 lines
2294 bytes
<slrn9nloqs.fq4.QSB@animas.frontier.net> divulged:

>Many moons back I remember a post in here about how to do a complete
>install in a *user* environment.  I think it was a piece of thread
>drift -- 

much like this one?  :)

fortunately all that really needs to be done, for both slang and slrn is
to run configure with `--prefix=$HOME'.  if slrn can't find your new
slang use `--with-slang-library=$HOME/lib
--with-slang-includes=$HOME/include'.

it's also possible to compile both as if they should be installed in the
system locations, but actually install and run them from your private
space (using LD_LIBRARY_PATH and PATH), e.g.,

: first slang
$ bzip2 -dc slang-1.4.4.tar.bz2
$ cd slang-1.4.4
$ ./configure
$ make ; make prefix=$HOME install

: make sure executables can find the library
$ export LD_LIBRARY_PATH=$HOME/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}

: now slrn
$ bzip2 -dc slrn-0.9.7.1.tar.bz2
$ cd slrn-0.9.7.1
$ ./configure --with-slang-{includes=$HOME/include,library=$HOME/lib}
$ make ; make prefix=$HOME install

: make sure that the executable is early in the path
$ export PATH=$HOME/bin:$PATH

at this point when you run slrn you should get 0.9.7.1.  future shells
need the environment variables set, so adding the export lines to your
.profile makes sense.

-- 
okay, have a sig then
Technical Details
Message-ID: <tnm1k3erck2r92@news.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-a-real-address
References: <slrn9ng8et.186.QSB@animas.frontier.net> <tni642cj98jdc4@news.supernews.com> <slrn9nirc1.m8b.QSB@animas.frontier.net> <tnj5q4o8b80724@news.supernews.com> <slrn9nloqs.fq4.QSB@animas.frontier.net>

Show Full Headers
Complete Article Headers
Message-ID: <tnm1k3erck2r92@news.supernews.com>
Subject: Re: [SLRN] running within a user's space
Date: Wed, 15 Aug 2001 23:32:19 -0000
From: not-a-real-address@usa.net (those who know me have no need of my name)
References: <slrn9ng8et.186.QSB@animas.frontier.net> <tni642cj98jdc4@news.supernews.com> <slrn9nirc1.m8b.QSB@animas.frontier.net> <tnj5q4o8b80724@news.supernews.com> <slrn9nloqs.fq4.QSB@animas.frontier.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!news.supernews.com!not-a-real-address
Newsgroups: news.software.readers
Organization: earthfriends
User-Agent: slrn/0.9.6.3 (Linux)
X-Complaints-To: newsabuse@supernews.com
Lines: 41