🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #257139

Re: [slrn] mailcap.sl won't load

#257139
From: rj
Date: Wed, 05 Mar 2014 18:22
127 lines
5502 bytes
On Wed, 5 Mar 2014 03:16:35 +0000 (UTC),
John E. Davis <jed@jedsoft.org> wrote:

> What do you see when you startup slsh via the following?
>    $ slsh -v

---------------------------------------
--> slsh -v
Loading /usr/local/etc/slsh.rc
Unable to locate autoload.sl on load path
Traceback: evalfile
/usr/local/etc/slsh.rc:43:<top-level>:Open failed
----------------------------------------

slsh and slrn are in /usr/local/share/ :

---------------------------------
ls -la /usr/local/share
total 52
4 drwxr-xr-x 13 root root  4096 Feb 23 23:45 ./
4 drwxr-xr-x 10 root root  4096 Aug 20  2013 ../
4 drwxrwsr-x  2 root staff 4096 Aug 20  2013 ca-certificates/
4 drwx------  6 root root  4096 Feb 23 23:45 doc/
4 drwxrwsr-x  2 root staff 4096 Aug 20  2013 fonts/
4 drwxr-xr-x  2 root root  4096 Feb 25 02:22 info/
4 drwx------ 15 root root  4096 Feb 23 23:45 locale/
4 drwxr-xr-x  3 root root  4096 Feb 17 01:25 man/
4 drwxrwsr-x  7 root staff 4096 Aug 20  2013 sgml/
4 drwxrwxrwx  4 root root  4096 Feb 25 02:37 slrn/
4 drwxrwx---  7 root root  4096 Feb 23 19:06 slsh/
4 drwxrwsr-x  6 root staff 4096 Aug 20  2013 xml/
4 drwxr-xr-x  4 root root  4096 Feb 17 01:25 zsh/
--------------------------------

"autoload.sl" and "require.sl" are in /usr/local/share/slsh/

>> I found the require.sl file in:
>> /home/rj/CompiledPrograms/slang-pre2.3.0-110/slsh/lib
>
> That looks like the location of the source code.  Where did you
> install the slang library?

I believe it's in /usr/local/share/slrn/slang/ :

--------------------------------------------
--> ls -la /usr/local/share/slrn/
total 16
4 drwxrwxrwx  4 root root 4096 Feb 25 02:37 ./
4 drwxr-xr-x 13 root root 4096 Feb 23 23:45 ../
4 drwx------  2 rj   rj   4096 Feb 25 02:37 contrib/
4 drwxrwxrwx  2 root root 4096 Feb 26 02:28 slang/
--------------------------------------------

--> lf /usr/local/share/slrn/slang
total 112
 4 drwxrwxrwx 2 root root  4096 Feb 26 02:28 ./
 4 drwxrwxrwx 4 root root  4096 Feb 25 02:37 ../
 4 -rw-r--r-- 1 root root  3487 Feb 23 23:45 color.sl
 4 -rw-r--r-- 1 root root   532 Feb 23 23:45 gsort.sl
 4 -rw-r--r-- 1 root root   483 Feb 23 23:45 ispell.sl
 4 -rw-r--r-- 1 root root  3698 Feb 23 23:45 latin2.sl
12 -rw-r--r-- 1 root root  8612 Feb 26 02:28 mailcap.sl
12 -rw-r--r-- 1 root root  8612 Feb 26 02:28 mailcap.sl~
16 -rw-r--r-- 1 root root 14176 Feb 23 23:45 mime.sl
 4 -rw-r--r-- 1 root root  2243 Feb 23 23:45 multipart.sl
 4 -rw-r--r-- 1 root root  2342 Feb 23 23:45 nn.sl
 4 -rw-r--r-- 1 root root  1767 Feb 23 23:45 posthook.sl
 4 -rw-r--r-- 1 root root  1021 Feb 23 23:45 search.sl
 4 -rw-r--r-- 1 root root  2709 Feb 23 23:45 slrn.sl
 8 -rw-r--r-- 1 root root  6975 Feb 23 23:45 tin-art.sl
 4 -rw-r--r-- 1 root root  2659 Feb 23 23:45 tin-group.sl
 4 -rw-r--r-- 1 root root   510 Feb 23 23:45 ttyprint.sl
 4 -rw-r--r-- 1 root root   936 Feb 23 23:45 util.sl
 4 -rw-r--r-- 1 root root   545 Feb 23 23:45 varset.sl
 4 -rw-r--r-- 1 root root   781 Feb 23 23:45 xcomment.sl
-----------------------------------------------

Also, what does:
>    $ ldd /path/to/slrn
> produce?

-------------------------------------
--> ldd /usr/local/share/slrn
ldd: /usr/local/share/slrn: not regular file
------------------------------------


>> Does it matter where the slang-pre2.3.0-110 dir goes?
>
> If that is the source code, then no.  In general, you would build and
> install the library using, e.g.,
>
>    $ ./configure --prefix=/usr/local
>    $ make
>    $ sudo make install
>
> And to build and install slrn use:
>
>    $ cd /path/to/source/code/for/slrn
>    $ ./configure --with-slang=/usr/local --prefix=/usr/local
>    $ make
>    $ sudo make install
>
> Did you do something similar to the above?


For slang, I did:

./configure
make
sudo make install

without specifying any --prefix=/any/path

For slrn I did the same thing.  After I extracted slrn, the slrn folder was
in my "CompiledPrograms" folder.  I cd'd into the slrn folder and did:

./configure
make
sudo make install

again specifying nothing to the right of "./configure"  which apparently
I didn't know to do.

Would you recommend that I un-install slrn, slang and slsh, and re-compile
using your examples above?
Technical Details
Message-ID: <lf7q0q$j2g$1@reader1.panix.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail
References: <lem5q9$546$1@reader1.panix.com> <slrnlh6qbr.ofi.jed@ganymede.jtan.com> <lf0t1b$avo$1@reader1.panix.com> <slrnlhd5ok.fsj.jed@ganymede.jtan.com>

Show Full Headers
Complete Article Headers
Message-ID: <lf7q0q$j2g$1@reader1.panix.com>
Subject: Re: [slrn] mailcap.sl won't load
Date: Wed, 5 Mar 2014 13:22:18 -0500
From: rj <rj@panix.com.invalid>
References: <lem5q9$546$1@reader1.panix.com> <slrnlh6qbr.ofi.jed@ganymede.jtan.com> <lf0t1b$avo$1@reader1.panix.com> <slrnlhd5ok.fsj.jed@ganymede.jtan.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.20140922.mbox.gz!border1.nntp.dca3.giganews.com!backlog3.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail
Newsgroups: news.software.readers
Organization: Disorganization
Lines: 127
NNTP-Posting-Host: ool-4354f6ae.dyn.optonline.net
X-Trace: reader1.panix.com 1394043738 19536 67.84.246.174 (5 Mar 2014 18:22:18
 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 5 Mar 2014 18:22:18 +0000 (UTC)
Mail-Copies-To: nobody
User-Agent: slrn/pre1.0.2-12 (Linux)
X-Original-Bytes: 5217