Thread View: news.software.readers
5 messages
5 total messages
Started by rj
Sat, 21 Feb 2015 08:48
[slrn] compiling slang: no autoload.sl
Author: rj
Date: Sat, 21 Feb 2015 08:48
Date: Sat, 21 Feb 2015 08:48
104 lines
5176 bytes
5176 bytes
I'm compiling slang-pre2.3.1-17, ran sudo make install, but now see
this:
[rj@rjbox:/usr/local/bin] [v5.0.7] zsh 541 --> slsh
Unable to locate autoload.sl on load path
Traceback: evalfile
/usr/local/etc/slsh.rc:43:<top-level>:Open failed
[rj@rjbox:/usr/local/bin] [v5.0.7] zsh 542 --> 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
[rj@rjbox:/usr/local/bin] [v5.0.7] zsh 543 --> slsh --version
slsh version 0.9.1-2; S-Lang version: pre2.3.1-17
[rj@rjbox:/usr/local/bin] [v5.0.7] zsh 544 --> ldd /usr/local/bin/slsh
linux-vdso.so.1 => (0x00007fff0d337000)
libslang.so.2 => /usr/local/lib/libslang.so.2 (0x00007fe0838d4000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe0834f3000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe0832ee000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe082fe8000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe083c46000)
Line 43 of /usr/local/etc/slsh.rc is:
() = evalfile ("autoload.sl");
--> ls -la lib
total 3536
4 drwxr-xr-x 8 root root 4096 Feb 21 02:32 ./
4 drwxr-xr-x 10 root root 4096 Nov 5 08:16 ../
0 lrwxrwxrwx 1 root root 13 Feb 21 02:32 libslang.so -> libslang.so.2
0 lrwxrwxrwx 1 root root 17 Feb 21 02:32 libslang.so.2 -> libslang.so.2.3.1
3504 -rw-r--r-- 1 root root 3587249 Feb 21 02:32 libslang.so.2.3.1
4 drwx------ 2 root root 4096 Feb 21 02:32 pkgconfig/
4 drwxrwsr-x 4 root staff 4096 Nov 11 10:05 python2.7/
4 drwxrwsr-x 3 root staff 4096 Nov 5 08:16 python3.4/
4 drwxr-xr-x 3 root root 4096 Jan 25 20:55 site_ruby/
4 drwxr-xr-x 3 root root 4096 Feb 21 02:32 slang/
4 drwxr-xr-x 3 root root 4096 Feb 21 01:34 zsh/
--> sudo ls -la lib/pkgconfig
pts/7 Saturday 2015-02-21 03:15:28
total 12
drwx------ 2 root root 4096 Feb 21 02:32 .
drwxr-xr-x 8 root root 4096 Feb 21 02:32 ..
-rw-r--r-- 1 root root 289 Feb 21 02:32 slang.pc
I did see this at the end of the ./configure output:
"While not required, it is recommended that you install the following
libraries and reconfigure so that the corresponding modules can be
built:
oniguruma
The closest thing I could find to "oniguruma" in the Ubuntu synaptic
pkg manager that seemed to make any sense was:
(a) libonig2 -- "Oniguruma regular expressions library";
(b) kibjruby-joni-java -- "Java port of Oniguruma regexp library";
and (c) lua-rx-onig -- "onig regular expressions library for the Lua language"
and I installed all three of them.
--> sudo ls -la lib/slang/v2/modules
pts/7 Saturday 2015-02-21 03:32:01
total 956
drwx------ 2 root root 4096 Feb 21 02:32 .
drwx------ 3 root root 4096 Feb 21 02:32 ..
-rw-r--r-- 1 root root 36225 Feb 21 02:32 base64-module.so
-rw-r--r-- 1 root root 55177 Feb 21 02:32 chksum-module.so
-rw-r--r-- 1 root root 39979 Feb 21 02:32 csv-module.so
-rw-r--r-- 1 root root 20054 Feb 21 02:32 fcntl-module.so
-rw-r--r-- 1 root root 26105 Feb 21 02:32 fork-module.so
-rw-r--r-- 1 root root 64601 Feb 21 02:32 histogram-module.so
-rw-r--r-- 1 root root 24809 Feb 21 02:32 iconv-module.so
-rw-r--r-- 1 root root 62311 Feb 21 02:32 json-module.so
-rw-r--r-- 1 root root 36351 Feb 21 02:32 pcre-module.so
-rw-r--r-- 1 root root 60755 Feb 21 02:32 png-module.so
-rw-r--r-- 1 root root 71134 Feb 21 02:32 rand-module.so
-rw-r--r-- 1 root root 23255 Feb 21 02:32 select-module.so
-rw-r--r-- 1 root root 34902 Feb 21 02:32 slsmg-module.so
-rw-r--r-- 1 root root 83541 Feb 21 02:32 socket-module.so
-rw-r--r-- 1 root root 137989 Feb 21 02:32 stats-module.so
-rw-r--r-- 1 root root 51116 Feb 21 02:32 sysconf-module.so
-rw-r--r-- 1 root root 41087 Feb 21 02:32 termios-module.so
-rw-r--r-- 1 root root 23261 Feb 21 02:32 varray-module.so
-rw-r--r-- 1 root root 41822 Feb 21 02:32 zlib-module.so
Should "autoload.so" be in this modules file? I'd like to build
slang/slrn successfully so that I can compile the latest slrn. How
should I get autoload.sl "on load path"?
Thank you to anyone who chooses to answer.
Re: [slrn] compiling slang: no autoload.sl
Author: rj
Date: Sat, 21 Feb 2015 08:51
Date: Sat, 21 Feb 2015 08:51
8 lines
1168 bytes
1168 bytes
On Sat, 21 Feb 2015 08:48:27 +0000 (UTC), rj <rj@panix.com.invalid> wrote: > I'd like to build slang/slrn successfully so that I can [. . . ] I meant build slang/slsh successfully.
Re: [slrn] SOLVED: compiling slang: no autoload.sl
Author: rj
Date: Mon, 23 Feb 2015 01:03
Date: Mon, 23 Feb 2015 01:03
7 lines
1099 bytes
1099 bytes
On Sat, 21 Feb 2015 08:48:27 +0000 (UTC), rj <rj@panix.com.invalid> wrote: > Unable to locate autoload.sl on load path Fixed by enabling permissions on the /usr/local/share/slsh directory.
Re: [slrn] SOLVED: compiling slang: no autoload.sl
Author: tlvp
Date: Mon, 23 Feb 2015 05:10
Date: Mon, 23 Feb 2015 05:10
12 lines
1708 bytes
1708 bytes
On Mon, 23 Feb 2015 01:03:16 +0000 (UTC), rj wrote: > On Sat, 21 Feb 2015 08:48:27 +0000 (UTC), rj <rj@panix.com.invalid> wrote: > >> Unable to locate autoload.sl on load path > > Fixed by enabling permissions on the /usr/local/share/slsh directory. Would have been nice if the error had helped more, saying not "Unable to locate..." but "Not permitted to use..." instead, eh :-) ? Cheers, -- tlvp -- Avant de repondre, jeter la poubelle, SVP.
Re: [slrn] SOLVED: compiling slang: no autoload.sl
Author: rj
Date: Mon, 23 Feb 2015 22:17
Date: Mon, 23 Feb 2015 22:17
17 lines
1703 bytes
1703 bytes
On Mon, 23 Feb 2015 00:10:55 -0500, tlvp <mPiOsUcB.EtLlLvEp@att.net> wrote: > On Mon, 23 Feb 2015 01:03:16 +0000 (UTC), rj wrote: > > Would have been nice if the error had helped more, saying not "Unable to > locate..." but "Not permitted to use..." instead, eh :-) ? Cheers, -- tlvp Really and truly. Or "Permissions not set to access autoload.sl", anything along those lines. The "unable to locate" phrasing leads one to believe that the item in question is missing or didn't get installed. -- Man is the only animal that can remain on friendly terms with the victims he intends to eat until he eats them. -- Samuel Butler (1835-1902)
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