🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
10 messages
10 total messages Started by rj Thu, 27 Feb 2014 01:53
[slrn] mailcap.sl won't load
#257107
Author: rj
Date: Thu, 27 Feb 2014 01:53
15 lines
1556 bytes
After putting "interpret mailcap.sl" in my .slrnrc, I got this when I tried
to open slrn:

Loading /usr/local/share/slrn/slang/mailcap.sl
Unable to locate require on load path
/usr/local/share/slrn/slang/mailcap.sl:14:<top-level>:Open failed
slrn fatal error:
/home/rj/.slrnrc: Error encountered processing line 153
interpret "mailcap.sl"

Anyone know why that'd be?


-- 
  Why you should never talk to cops:  <http://is.gd/iV74U>
Re: [slrn] mailcap.sl won't load
#257117
Author: Mike Yetto
Date: Sat, 01 Mar 2014 22:12
23 lines
2236 bytes
Bada bing rj <rj@panix.com.invalid> bada bang...
> After putting "interpret mailcap.sl" in my .slrnrc, I got this when I tried
> to open slrn:

> Loading /usr/local/share/slrn/slang/mailcap.sl
> Unable to locate require on load path
> /usr/local/share/slrn/slang/mailcap.sl:14:<top-level>:Open failed
> slrn fatal error:
> /home/rj/.slrnrc: Error encountered processing line 153
> interpret "mailcap.sl"

> Anyone know why that'd be?

My guess would be that you are missing this file:
/usr/lib/slang/v2/modules/rand-module.so since the only require
in mailcap.sl is /require ("rand");/.

Mike "wait for a more complete and accurate answer" Yetto
-- 
"To science, not even the bark of a tree or a drop of pond water
is dull or a handful of dirt banal. They all arouse awe and
wonder."
 - Jane Jacobs 
Re: [slrn] mailcap.sl won't load
#257126
Author: tlvp
Date: Sat, 01 Mar 2014 22:26
26 lines
2247 bytes
On Thu, 27 Feb 2014 01:53:13 +0000 (UTC), rj wrote:

> After putting "interpret mailcap.sl" in my .slrnrc, I got this when I tried
> to open slrn:
> 
> Loading /usr/local/share/slrn/slang/mailcap.sl
> Unable to locate require on load path
> /usr/local/share/slrn/slang/mailcap.sl:14:<top-level>:Open failed
> slrn fatal error:
> /home/rj/.slrnrc: Error encountered processing line 153
> interpret "mailcap.sl"
> 
> Anyone know why that'd be?

I read it as saying that it couldn't quite grok the full file-path

: /usr/local/share/slrn/slang/mailcap.sl 

-- either there's no usable file mailcap.sl there, or there's no such
nested string of (sub-)directories. Could there be an invisible character
hiding between two visible characters in that file-path? A UTF "zero-width
space", for example? or an "optional hyphenation mark"? 

HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: [slrn] mailcap.sl won't load
#257129
Author: John E. Davis
Date: Sun, 02 Mar 2014 17:25
32 lines
2419 bytes
On Thu, 27 Feb 2014 01:53:13 +0000 (UTC), rj <rj@panix.com.invalid>
wrote:
> After putting "interpret mailcap.sl" in my .slrnrc, I got this when I tried
> to open slrn:
>
> Loading /usr/local/share/slrn/slang/mailcap.sl
> Unable to locate require on load path

It is telling you that it is unable to locate a file called require.sl
or require.slc (see the NOTE below) anywhere along the search
directories that slrn is using.  This indicates an installation
problem associated with the slang library.  What does

  slrn --version

show?

The file require.sl is part of the slang and will get installed when
the library is installed.  Many slang library distribution have broken
the slang library into separate components causing require.sl to
become part of a separate package, usually called slsh, or slang-slsh.
If you do not have slsh installed, then this is probably the reason
you do not have require.sl installed.  To check, try:

  slsh --version

I hope this helps.  --John

NOTE: When slang is asked to load a filename without an extension,
then slang will try to load the more recent of file.slc and
file.sl.
Re: [slrn] mailcap.sl won't load
#257133
Author: rj
Date: Mon, 03 Mar 2014 03:07
10 lines
1498 bytes
On Sat, 01 Mar 2014 17:12:21 -0500, Mike Yetto <unet.lighthouse@xoxy.net> wrote:
> My guess would be that you are missing this file:
> /usr/lib/slang/v2/modules/rand-module.so

I do have it, but this response was helpful because it got me to see the
rightmost three directories had user-only permissions enabled.  I enabled
read & execute perms for group, though this wasn't the source of the
problem.

Re: [slrn] mailcap.sl won't load
#257134
Author: rj
Date: Mon, 03 Mar 2014 03:30
48 lines
3119 bytes
On Sun, 2 Mar 2014 17:25:15 +0000 (UTC), John E. Davis <jed@jedsoft.org> wrote:

> What does
>   slrn --version
> show?

--------------------------------------
[rj@rjbox:~]  [v5.0.5]  zsh/+1  551  --> slrn --version
slrn pre1.0.2-12
	* Note: This version is a developer preview.
S-Lang Library Version: pre2.3.0-110
Compiled on: Feb 23 2014 23:45:11
Operating System: Linux

COMPILE TIME OPTIONS:
 Backends: +nntp -slrnpull -spool
 External programs / libs: -canlock -inews -ssl -uudeview +iconv
 Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
    -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
 Using 64 bit integers for article numbers.

DEFAULTS:
 Default server object:     nntp
 Default posting mechanism: nntp
--------------------------------------

> The file require.sl is part of the slang and will get installed when
> the library is installed.  Many slang library distribution have broken
> the slang library into separate components causing require.sl to
> become part of a separate package, usually called slsh, or slang-slsh.
> If you do not have slsh installed, then this is probably the reason
> you do not have require.sl installed.  To check, try:
>   slsh --version

[rj@rjbox:~]  [v5.0.5]  zsh/+1  553  --> slsh --version
slsh version 0.9.0-2; S-Lang version: pre2.3.0-110

I found the require.sl file in:
/home/rj/CompiledPrograms/slang-pre2.3.0-110/slsh/lib

Since I have 6 or so programs I wanted the latest versions of, and didn't
want to get older versions of from the Ubuntu 12.04 repositories, I made
a folder "Compiled Programs" and threw them in there to be compiled. slang
was one of them, but I have a feeling there's either a better place for it
or it outright doesn't belong there.  I supposed I could add the path above
to the search path, but I'd rather know things are where they should be.
Does it matter where the slang-pre2.3.0-110 dir goes?
Re: [slrn] mailcap.sl won't load
#257136
Author: John E. Davis
Date: Wed, 05 Mar 2014 03:16
38 lines
2382 bytes
On Sun, 2 Mar 2014 22:30:51 -0500, rj <rj@panix.com.invalid>
wrote:
> [rj@rjbox:~]  [v5.0.5]  zsh/+1  553  --> slsh --version
> slsh version 0.9.0-2; S-Lang version: pre2.3.0-110

What do you see when you startup slsh via the following?

   $ slsh -v

> 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?  Also, what does:

   $ ldd /path/to/slrn

produce?

> 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?
Thanks,
--John
Re: [slrn] mailcap.sl won't load
#257139
Author: 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?
Re: [slrn] mailcap.sl won't load
#257137
Author: John E. Davis
Date: Thu, 06 Mar 2014 04:52
80 lines
3160 bytes
On Wed, 5 Mar 2014 13:22:18 -0500, rj <rj@panix.com.invalid>
wrote:
> slsh and slrn are in /usr/local/share/ :

Is the executable in /usr/local/bin?
>> 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/ :

No, those are the slang files that came with slrn-- not with the slang
library.

> Also, what does:
>>    $ ldd /path/to/slrn
>> produce?
>
> -------------------------------------
> --> ldd /usr/local/share/slrn
> ldd: /usr/local/share/slrn: not regular file
> ------------------------------------

You want to run ldd on the executable, not a directory.  If slrn is in
/usr/local/bin, try:

   ldd /usr/local/bin/slrn

[...]
> Would you recommend that I un-install slrn, slang and slsh, and re-compile
> using your examples above?

Yes.  But do it in steps.  First make sure you have the latest
versions from <http://www.jedsoft.org/snapshots/>.  Assume these files
are in a directory such as $HOME/src:
#v+

  $ ls $HOME/src
  slang-pre2.3.0-111.tar.gz
  slrn-pre1.0.2-12.tar.gz

#v-

Install slang and make sure it works:
#v+

  $ cd $HOME/src
  $ tar xzf slang-pre2.3.0-111.tar.gz
  $ cd slang-pre2.3.0-111
  $ ./configure --prefix=/usr/local
  $ make
  $ make check
  $ sudo make install
  $ /usr/local/bin/slsh
  slsh version 0.9.0-2; S-Lang version: pre2.3.0-111
  Copyright (C) 2005-2013 John E. Davis <jed@jedsoft.org>
  This is free software with ABSOLUTELY NO WARRANTY.
  slsh> quit

#v-

Install and run slrn:
#v+

  $ cd $HOME/src
  $ tar xzf slrn-pre1.0.2-12.tar.gz
  $ cd slrn-pre1.0.2-12
  $ ./configure --prefix=/usr/local --with-slang=/usr/local
  $ make
  $ sudo make install
  $ ldd /usr/local/bin/slrn
  $ /usr/local/bin/slrn

#v-

I have not tested the above, but it should give you some idea about
what to do.

Good luck,
--John
Re: [slrn] mailcap.sl won't load
#257138
Author: rj
Date: Thu, 06 Mar 2014 17:52
50 lines
2872 bytes
On Thu, 6 Mar 2014 04:52:27 +0000 (UTC), John E. Davis <jed@jedsoft.org> wrote:
> Is the executable in /usr/local/bin?

Yes.     --> ls -la /usr/local/bin
  4 drwxr-xr-x  2 root root   4096 Feb 25 02:22 ./
  4 drwxr-xr-x 10 root root   4096 Aug 20  2013 ../
 72 -rwxr-xr-x  1 root root  69928 Feb 23 22:19 most*
388 -rwxr-xr-x  1 root root 396414 Feb 25 02:22 msmtp*
368 -rwxr-xr-x  1 root root 373048 Feb 23 23:45 slrn*
 80 -rwxr-xr-x  1 root root  81258 Feb 23 19:06 slsh*
688 -rwxr-xr-x  2 root root 701256 Feb 17 01:25 zsh*
688 -rwxr-xr-x  2 root root 701256 Feb 17 01:25 zsh-5.0.5*


>>> [...]  Where did you install the slang library?
>> I believe it's in /usr/local/share/slrn/slang/ :
> No, those are the slang files that came with slrn-- not with the slang
> library.

I have folders named slang in:

/usr/share/doc
/usr/local/lib
/usr/local/share/slrn
~/CompiledPrograms/slang-pre2.3.0-110/

& that's it.


> You want to run ldd on the executable, not a directory.  If slrn is in
> /usr/local/bin, try:
>    ldd /usr/local/bin/slrn

--> ldd /usr/local/bin/slrn
	linux-vdso.so.1 =>  (0x00007fffef195000)
	libslang.so.2 => /usr/local/lib/libslang.so.2 (0x00007fe430257000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe42fe80000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe42fc7b000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe42f97f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007fe4305c5000)

>> Would you recommend that I un-install slrn, slang and slsh, and re-compile
>> using your examples above?
>
> Yes.  But do it in steps.  [...]


OK -- Thanks loads for the help!

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads