🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Walter Dnes Sun, 23 Mar 2003 06:05
[slrn] Build problem slrn/slang
#122159
Author: Walter Dnes
Date: Sun, 23 Mar 2003 06:05
41 lines
3245 bytes
  I'm switching over from Redhat to CRUX linux, and there's no nice RPM
so I have to build stuff on my own.  I built slang-1.4.8 and things
seemed to go OK.  Then I tried building slrn-0.9.7.4.  The "make" step
dies with...

gcc -O2 -march=i686  -g -O2  -o slrn  art.o chmap.o editscore.o group.o grplens.o hash.o help.o hooks.o interp.o menu.o mime.o misc.o post.o score.o server.o sortdate.o slrn.o startup.o ttymsg.o util.o decode.o xover.o slrndir.o version.o print.o art_misc.o vfile.o snprintf.o art_sort.o -L/usr/local/lib -lslang    -lm
/usr/local/lib/libslang.a(slimport.o): In function `delete_handles':
/root/slang-1.4.8/src/slimport.c:52: undefined reference to `dlclose'
/usr/local/lib/libslang.a(slimport.o): In function `import_from_library':
/root/slang-1.4.8/src/slimport.c:121: undefined reference to `dlopen'
/root/slang-1.4.8/src/slimport.c:139: undefined reference to `dlerror'
/root/slang-1.4.8/src/slimport.c:202: undefined reference to `dlerror'
/root/slang-1.4.8/src/slimport.c:162: undefined reference to `dlsym'
/root/slang-1.4.8/src/slimport.c:187: undefined reference to `dlsym'
/root/slang-1.4.8/src/slimport.c:182: undefined reference to `dlclose'
/root/slang-1.4.8/src/slimport.c:170: undefined reference to `dlsym'
/root/slang-1.4.8/src/slimport.c:194: undefined reference to `dlerror'
/root/slang-1.4.8/src/slimport.c:197: undefined reference to `dlclose'
collect2: ld returned 1 exit status
make[1]: *** [slrn] Error 1
make[1]: Leaving directory `/root/slrn-0.9.7.4/src'
make: *** [all-recursive] Error 1

  Any ideas?

  On an unrelated note, why does the configure file have this anal
insistence on "thou shalst haveth an MTA" ???  I use ssmtp, which sits in
/usr/local/sbin and isn't found by slrn.  Over the years, I hit "r" by
mistake way more often than I actually needed to reply by mail.  The few
times I absolutely need it, I can always save the article to a scratch
file, and retrieve it with mutt.  Given the fact that slrn has an option
in its rc file to point to the MTA, I can always change that if I change
my mind.  Maybe the crazy dependancies in Redhat RPMs that people whine
about aren't really Redhat's fault after all.

-- 
Walter Dnes <waltdnes@waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
Re: [slrn] Build problem slrn/slang
#122163
Author: Thomas Schultz
Date: Sun, 23 Mar 2003 11:48
25 lines
1970 bytes
* Walter Dnes [2003-03-23 06:05] :

> I'm switching over from Redhat to CRUX linux, and there's no nice RPM
> so I have to build stuff on my own.  I built slang-1.4.8 and things
> seemed to go OK.  Then I tried building slrn-0.9.7.4.  The "make"
> step dies with...
[...]
>   Any ideas?

a) Install slang as a shared library (make elf / make install-elf) or
b) Add -ldl to LDADD in src/Makefile or
c) Try the latest beta, which uses -ldl automatically

>   On an unrelated note, why does the configure file have this anal
> insistence on "thou shalst haveth an MTA" ???  I use ssmtp, which sits in
> /usr/local/sbin and isn't found by slrn. [...]

Why don't you just point the script to it using
--with-mta=/usr/local/sbin/ssmtp
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Re: [slrn] Build problem slrn/slang
#122179
Author: Walter Dnes
Date: Sun, 23 Mar 2003 22:23
40 lines
2549 bytes
On Sun, 23 Mar 2003 11:48:01 +0000 (UTC), Thomas Schultz, <tststs@gmx.de> wrote:
>  * Walter Dnes [2003-03-23 06:05] :
>  
> > I'm switching over from Redhat to CRUX linux, and there's no nice RPM
> > so I have to build stuff on my own.  I built slang-1.4.8 and things
> > seemed to go OK.  Then I tried building slrn-0.9.7.4.  The "make"
> > step dies with...
>  [...]
> >   Any ideas?
>  
>  a) Install slang as a shared library (make elf / make install-elf) or

  Thanks.  That did the trick.  After running "make elf" the make script
said to run "make install-elf".  After that, it said to run "ldconfig".
There was one minor detail after that.  Slrn make claimed it couldn't
find libslang.so.1.  /usr/local/libi/libslang.so.1 was there as a symlink
hanging off of libslang.so.1.4.8.  On a hunch, I created a symlink from
/usr/local/lib/libslang.so.1.4.8 to /usr/lib/libslang.so.1 and things
went OK.  This isn't the first time I've run into confusion between
/usr/local/fubar/ versus /usr/fubar/

> >   On an unrelated note, why does the configure file have this anal
> > insistence on "thou shalst haveth an MTA" ???  I use ssmtp, which sits in
> > /usr/local/sbin and isn't found by slrn. [...]
>  
>  Why don't you just point the script to it using
>  --with-mta=/usr/local/sbin/ssmtp

  I created a script /sbin/sendmail and chmod'ed it 755.  It consists
of the two lines...

#!/bin/sh
exit

-- 
Walter Dnes <waltdnes@waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
Re: [slrn] Build problem slrn/slang
#122191
Author: Thomas Schultz
Date: Mon, 24 Mar 2003 12:12
13 lines
1624 bytes
* Walter Dnes [2003-03-23 22:23] :
[...]
> I created a script /sbin/sendmail and chmod'ed it 755.  It consists
> of the two lines... [...]

If ssmtp provides a sendmail-compatible command line interface, the
cleanest solution would be to symlink /usr/sbin/sendmail to the binary.
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2002-03-13] slrn 0.9.7.4 is out
| Home of the slrn newsreader | [2002-02-03] Screenshot page online
| http://slrn.sourceforge.net | [2002-02-03] "Port" to Mac OS X
Re: [slrn] Build problem slrn/slang
#122207
Author: Walter Dnes
Date: Tue, 25 Mar 2003 11:22
34 lines
2599 bytes
On Mon, 24 Mar 2003 12:12:51 +0000 (UTC), Thomas Schultz, <tststs@gmx.de> wrote:
>  * Walter Dnes [2003-03-23 22:23] :
>  [...]
> > I created a script /sbin/sendmail and chmod'ed it 755.  It consists
> > of the two lines... [...]
>  
>  If ssmtp provides a sendmail-compatible command line interface, the
>  cleanest solution would be to symlink /usr/sbin/sendmail to the binary.

   True, but that misses the whole point.  I do *NOT* want to enable
email from within slrn.  I read mailing lists and usenet groups and vim
and my .vimrc_slrn works for both.  I have macro keys set up to...
   - reformat text
   - quote text
   - reformat quoted text (only handles one level of quoting)
   - pgp-sign a posting

   And they both run in cyan-text-on-black-background on a 43 or 48 row
text console display.  Because my email and news environments are
virtually identical, I've hit "r" from within slrn too many times in the
past... and some people do get upset about getting email replies to usenet
postings.  Thus my desire to disable email from within slrn.  And on the
rare occasions I do need it, I can always save an article as a file, and
retrieve it in mutt and reply.

   BTW, this reply is coming from my newly built slrn.  Thanks again for
your help.

-- 
Walter Dnes <waltdnes@waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
Re: [slrn] Build problem slrn/slang
#122209
Author: Janne Nikula
Date: Tue, 25 Mar 2003 12:30
8 lines
1608 bytes
Walter Dnes <waltdnes@waltdnes.org> wrote:
> Because my email and news environments are virtually identical, I've
> hit "r" from within slrn too many times in the past... and some people
> do get upset about getting email replies to usenet postings.  Thus my
> desire to disable email from within slrn.

Wouldn't it be simpler just to remap the "r" key?
Re: [slrn] Build problem slrn/slang
#122310
Author: Walter Dnes
Date: Thu, 27 Mar 2003 23:26
18 lines
1924 bytes
On Tue, 25 Mar 2003 12:30:02 +0000 (UTC), Janne Nikula, <jni@iki.fi> wrote:
>  Walter Dnes <waltdnes@waltdnes.org> wrote:
> > Because my email and news environments are virtually identical, I've
> > hit "r" from within slrn too many times in the past... and some people
> > do get upset about getting email replies to usenet postings.  Thus my
> > desire to disable email from within slrn.
>  
>  Wouldn't it be simpler just to remap the "r" key?

  Ouch.  I just slapped my head.  That looks so obvious... once someone
else points it out.

-- 
Walter Dnes <waltdnes@waltdnes.org>
An infinite number of monkeys pounding away on keyboards will
eventually produce a report showing that Windows is more secure,
and has a lower TCO, than linux.
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