Article View: news.software.readers
Article #186811Re: [slrn] can't use require("gslrand") in a slrn macro file?
From: John E. Davis
Date: Wed, 21 Jun 2006 17:13
Date: Wed, 21 Jun 2006 17:13
30 lines
1958 bytes
1958 bytes
On Wed, 21 Jun 2006 14:50:52 +0100, Adam Funk <a24061@yahoo.com>
wrote:
>I discovered using
>
> printf("\n--->%s\n", get_slang_load_path());
>
>that slrn has an empty slang_load_path, which I've changed to
>"/usr/share/slsh/local-packages:", but if I try
Unless recent versions have changed the way slang files are loaded,
slrn uses the "macro_directory" variable to specify the load-path.
You may want to try something like
#v+
set macro_directory "/usr/share/slsh,/usr/share/slsh/local-packages"
#v-
in your .slrnrc file.
> import("gslrand");
>
>I get this error:
>
> Error linking to /usr/lib/slang/v2/modules/gslrand-module.so: /usr/lib/slang/v2/modules/gslrand-module.so: undefined symbol: slgsl_reset_errors
Use: import("gslcore"); import("gslrand");
The gslcore module defines some functions used by the other gsl modules.
I hope this helps.
--John
Technical Details
Message-ID:
<slrne9ivhk.qrt.davis@aluche.mit.edu>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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mailReferences:
<keglm3-ug1.ln1@news.ducksburg.com> <slrne9ghpk.2us.davis@aluche.mit.edu> <sevnm3-j3u.ln1@news.ducksburg.com>Show Full Headers
Complete Article Headers
Message-ID: <slrne9ivhk.qrt.davis@aluche.mit.edu>
Subject: Re: [slrn] can't use require("gslrand") in a slrn macro file?
Date: Wed, 21 Jun 2006 17:13:29 +0000
From: davis@space.mit.edu (John E. Davis)
References: <keglm3-ug1.ln1@news.ducksburg.com> <slrne9ghpk.2us.davis@aluche.mit.edu> <sevnm3-j3u.ln1@news.ducksburg.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!senator-bedfellow.mit.edu!dreaderd!not-for-mail
Newsgroups: news.software.readers
Organization: Center for Space Research
Reply-To: davis@space.mit.edu
Fcc: =sent.gz
User-Agent: slrn/0.9.6.4 (Linux)
Lines: 30
NNTP-Posting-Host: ALUCHE.MIT.EDU
X-Trace: 1150910009 senator-bedfellow.mit.edu 577 18.75.2.45