🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #259088

[slrn] compiling slang: no autoload.sl

#259088
From: rj
Date: Sat, 21 Feb 2015 08:48
104 lines
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.
Technical Details
Message-ID: <mc9gor$phb$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.20150608.mbox.gz!border1.nntp.dca1.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

Show Full Headers
Complete Article Headers
Message-ID: <mc9gor$phb$1@reader1.panix.com>
Subject: [slrn] compiling slang: no autoload.sl
Date: Sat, 21 Feb 2015 08:48:27 +0000
From: rj <rj@panix.com.invalid>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20150608.mbox.gz!border1.nntp.dca1.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: 104
NNTP-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1424508507 26155 166.84.1.5 (21 Feb 2015 08:48:27
 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Sat, 21 Feb 2015 08:48:27 +0000 (UTC)
X-To-All-My-Friends-In-Domestic-Surveillance: Hi There, Sports Fans!
User-Agent: slrn/1.0.1 (NetBSD)