🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by JohnTheGeek Sun, 28 Sep 2008 23:17
Leafnode...WTF is this?
#226420
Author: JohnTheGeek
Date: Sun, 28 Sep 2008 23:17
24 lines
2241 bytes
sudo apt-get install leafnode
Reading package lists... Done
Building dependency tree... Done
leafnode is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up leafnode (1.11.4-2ubuntu1) ...
awk: /^server.*=/ { if (x == foo) { print "server = news.motzarella.org
awk:                                      ^ unterminated string
dpkg: error processing leafnode (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 leafnode
E: Sub-process /usr/bin/dpkg returned an error code (1)

I guess I try to download and install the program from the source

-- 
Do you twitter? http://twitter.com
Do you want to be a cranky geek? http://www.crankygeeks.com/
Improving  usenet: http://improve-usenet.org/ (I score GG down by 99)
Mepis32 RLU #451587i,Vista and MacOSXp
Re: Leafnode...WTF is this?
#226421
Author: Troy Piggins
Date: Sun, 28 Sep 2008 23:20
33 lines
2883 bytes
* JohnTheGeek wrote :
> sudo apt-get install leafnode
> Reading package lists... Done
> Building dependency tree... Done
> leafnode is already the newest version.
> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B of archives.
> After unpacking 0B of additional disk space will be used.
> Setting up leafnode (1.11.4-2ubuntu1) ...
> awk: /^server.*=/ { if (x == foo) { print "server = news.motzarella.org
> awk:                                      ^ unterminated string
> dpkg: error processing leafnode (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  leafnode
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I guess I try to download and install the program from the source

If you do, I'd recommend getting the version 2 alpha over version
1.  Much better filtering capabilities ;)  Don't let the "alpha"
scare you, it's very stable and several of us here have been
using it for some time with no problems.  The maintainer is very
active in addressing any bugs reported if you join the mailing
list.

http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
Re: Leafnode...WTF is this?
#226424
Author: JohnTheGeek
Date: Sun, 28 Sep 2008 23:37
101 lines
6188 bytes
On 2008-09-28, Troy Piggins <usenet-0809@piggo.com> wrote:
> * JohnTheGeek wrote :
>> sudo apt-get install leafnode
>> Reading package lists... Done
>> Building dependency tree... Done
>> leafnode is already the newest version.
>> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
>> 1 not fully installed or removed.
>> Need to get 0B of archives.
>> After unpacking 0B of additional disk space will be used.
>> Setting up leafnode (1.11.4-2ubuntu1) ...
>> awk: /^server.*=/ { if (x == foo) { print "server = news.motzarella.org
>> awk:                                      ^ unterminated string
>> dpkg: error processing leafnode (--configure):
>>  subprocess post-installation script returned error exit status 1
>> Errors were encountered while processing:
>>  leafnode
>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>
>> I guess I try to download and install the program from the source
>
> If you do, I'd recommend getting the version 2 alpha over version
> 1.  Much better filtering capabilities ;)  Don't let the "alpha"
> scare you, it's very stable and several of us here have been
> using it for some time with no problems.  The maintainer is very
> active in addressing any bugs reported if you join the mailing
> list.
>
> http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/
>

I got the source and tried to compile it.  Found out I needed something
called "pre" so I got it and did the standard ./configure, make, sudo
make install and it worked, so I went back to the leafnode directory
and did the configure.  It worked so I went to do a make then sudo make
install and got a whole pile of errors
Here is a subset of the output from the make install

make 'LDFLAGS=-L/usr/local/lib -lpcre' install-data-hook
make[4]: Entering directory `/home/john/tmp/leafnode-1.11.6'
set -e ; for i in "" /leaf.node /failed.postings /interesting.groups \
		/out.going /message.id /temp.files ; do \
        mkdir -p /var/spool/news$i ; \
	if ./amiroot ; then \
	 chown news:news /var/spool/news/$i ; \
	 chmod 2775      /var/spool/news/$i ; fi ; \
	done
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
d="`dirname /var/spool/news/leaf.node/lock.file`" ; mkdir -p "${d}" && \
	if ./amiroot ; then \
          chown news:news "${d}" ; \
	  chmod 2775 "${d}" ; fi
./amiroot: error while loading shared libraries: libpcre.so.0: cannot
open shared object file: No such file or directory
make[4]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
Making install in doc_german
make[2]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
make[3]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
make[1]: Leaving directory `/home/john/tmp/leafnode-1.11.6'

I've seen errors like that
libpcre.so.0 is installed

whereis libpcre.so.0
libpcre.so: /usr/lib/libpcre.so.3 /usr/local/lib/libpcre.so
/usr/local/lib/libpcre.so.0

but not sure what else to do at this point  I'm thinking a symbolic
link in the right place will help, but that's beyond me at this point..
suggestions?  Maybe I need to change the configuration options to point
to the location of pcre where my install put it rather than where it
thinks it is?  Will the leafnode docs help me or am chasing my tail?

Google shows a couple of threads in the Ubuntu forums, but no responses.
The rest of ght GIYF results are about Fedora, MySql and something
called "Snort".  So I'm kinda stuck.

-- 
Do you twitter? http://twitter.com
Do you want to be a cranky geek? http://www.crankygeeks.com/
Improving  usenet: http://improve-usenet.org/ (I score GG down by 99)
Mepis32 RLU #451587i,Vista and MacOSXp
Re: Leafnode...WTF is this?
#226423
Author: Sidney Lambe
Date: Sun, 28 Sep 2008 23:52
119 lines
6194 bytes
JohnTheGeek <john@localhost.INVALID> wrote:
> On 2008-09-28, Troy Piggins <usenet-0809@piggo.com> wrote:
>> * JohnTheGeek wrote :
>>> sudo apt-get install leafnode
>>> Reading package lists... Done
>>> Building dependency tree... Done
>>> leafnode is already the newest version.
>>> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
>>> 1 not fully installed or removed.
>>> Need to get 0B of archives.
>>> After unpacking 0B of additional disk space will be used.
>>> Setting up leafnode (1.11.4-2ubuntu1) ...
>>> awk: /^server.*=/ { if (x == foo) { print "server = news.motzarella.org
>>> awk:                                      ^ unterminated string
>>> dpkg: error processing leafnode (--configure):
>>>  subprocess post-installation script returned error exit status 1
>>> Errors were encountered while processing:
>>>  leafnode
>>> E: Sub-process /usr/bin/dpkg returned an error code (1)
>>>
>>> I guess I try to download and install the program from the source
>>
>> If you do, I'd recommend getting the version 2 alpha over version
>> 1.  Much better filtering capabilities ;)  Don't let the "alpha"
>> scare you, it's very stable and several of us here have been
>> using it for some time with no problems.  The maintainer is very
>> active in addressing any bugs reported if you join the mailing
>> list.
>>
>> http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/
>>
>
> I got the source and tried to compile it.  Found out I needed something
> called "pre" so I got it and did the standard ./configure, make, sudo
> make install and it worked, so I went back to the leafnode directory
> and did the configure.  It worked so I went to do a make then sudo make
> install and got a whole pile of errors
> Here is a subset of the output from the make install
>
> make 'LDFLAGS=-L/usr/local/lib -lpcre' install-data-hook
> make[4]: Entering directory `/home/john/tmp/leafnode-1.11.6'
> set -e ; for i in "" /leaf.node /failed.postings /interesting.groups \
> 		/out.going /message.id /temp.files ; do \
>         mkdir -p /var/spool/news$i ; \
> 	if ./amiroot ; then \
> 	 chown news:news /var/spool/news/$i ; \
> 	 chmod 2775      /var/spool/news/$i ; fi ; \
> 	done
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> d="`dirname /var/spool/news/leaf.node/lock.file`" ; mkdir -p "${d}" && \
> 	if ./amiroot ; then \
>           chown news:news "${d}" ; \
> 	  chmod 2775 "${d}" ; fi
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
> make[4]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
> Making install in doc_german
> make[2]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[3]: Entering directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[3]: Nothing to be done for `install-exec-am'.
> make[3]: Nothing to be done for `install-data-am'.
> make[3]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[2]: Leaving directory `/home/john/tmp/leafnode-1.11.6/doc_german'
> make[1]: Leaving directory `/home/john/tmp/leafnode-1.11.6'
>
> I've seen errors like that
> libpcre.so.0 is installed
>
> whereis libpcre.so.0
> libpcre.so: /usr/lib/libpcre.so.3 /usr/local/lib/libpcre.so
> /usr/local/lib/libpcre.so.0
>
> but not sure what else to do at this point  I'm thinking a symbolic
> link in the right place will help, but that's beyond me at this point..
> suggestions?  Maybe I need to change the configuration options to point
> to the location of pcre where my install put it rather than where it
> thinks it is?  Will the leafnode docs help me or am chasing my tail?
>
> Google shows a couple of threads in the Ubuntu forums, but no responses.
> The rest of ght GIYF results are about Fedora, MySql and something
> called "Snort".  So I'm kinda stuck.
>

I've had this problem before.

I suggest copying all the pcre libs to /usr/lib (cp -p) and then create the
symlinks there that are in /usr/local/lib.

An example:

0 lrwxrwxrwx 1 root root   20 2007-11-08 14:38 libnss_compat.so.2 -> libnss_compat-2.5.so*

to create that, you'd do:

ln -s libnss_compat-2.5.so  lilbness_compat.so.2

(ln -s target link_name)

Then run ldconfig and start again with clean sources.

Sid


Re: Leafnode...WTF is this?
#226425
Author: Troy Piggins
Date: Mon, 29 Sep 2008 00:07
62 lines
4321 bytes
* JohnTheGeek wrote :
> On 2008-09-28, Troy Piggins <usenet-0809@piggo.com> wrote:
>> * JohnTheGeek wrote :
<snip />
>>> I guess I try to download and install the program from the source
>>
>> If you do, I'd recommend getting the version 2 alpha over version
>> 1.  Much better filtering capabilities ;)  Don't let the "alpha"
>> scare you, it's very stable and several of us here have been
>> using it for some time with no problems.  The maintainer is very
>> active in addressing any bugs reported if you join the mailing
>> list.
>>
>> http://www.dt.e-technik.uni-dortmund.de/~ma/leafnode/beta/
>
> I got the source and tried to compile it.  Found out I needed something
> called "pre" so I got it and did the standard ./configure, make, sudo
> make install and it worked, so I went back to the leafnode directory
> and did the configure.  It worked so I went to do a make then sudo make
> install and got a whole pile of errors
> Here is a subset of the output from the make install
>
> make 'LDFLAGS=-L/usr/local/lib -lpcre' install-data-hook
> make[4]: Entering directory `/home/john/tmp/leafnode-1.11.6'
> set -e ; for i in "" /leaf.node /failed.postings /interesting.groups \
> 		/out.going /message.id /temp.files ; do \
>         mkdir -p /var/spool/news$i ; \
> 	if ./amiroot ; then \
> 	 chown news:news /var/spool/news/$i ; \
> 	 chmod 2775      /var/spool/news/$i ; fi ; \
> 	done
> ./amiroot: error while loading shared libraries: libpcre.so.0: cannot
> open shared object file: No such file or directory
<snip />
>
> I've seen errors like that
> libpcre.so.0 is installed
>
> whereis libpcre.so.0
> libpcre.so: /usr/lib/libpcre.so.3 /usr/local/lib/libpcre.so
> /usr/local/lib/libpcre.so.0
>
> but not sure what else to do at this point  I'm thinking a symbolic
> link in the right place will help, but that's beyond me at this point..
> suggestions?  Maybe I need to change the configuration options to point
> to the location of pcre where my install put it rather than where it
> thinks it is?  Will the leafnode docs help me or am chasing my tail?
>
> Google shows a couple of threads in the Ubuntu forums, but no responses.
> The rest of ght GIYF results are about Fedora, MySql and something
> called "Snort".  So I'm kinda stuck.

Sorry, if you've got libpcre installed and still getting that
error, you'll need someone smarted than me to help.  You might
try installing libpcre-dev package?  Sometimes that works for me.
What version of libpcre do you have?  Does it meet leafnode2's
requirements?  Do you have all the other prerequisites?

-- 
Troy Piggins | http://piggo.com/~troy/slrn                    ___  |   __   __
                                                             |___  | |/   |/  |
                                                              ___| | |    |   |
Re: Leafnode...WTF is this?
#226427
Author: JohnTheGeek
Date: Mon, 29 Sep 2008 00:22
36 lines
2444 bytes
On 2008-09-28, Sidney Lambe <nospam@nospam.invalid> wrote:
>
> I've had this problem before.
>
> I suggest copying all the pcre libs to /usr/lib (cp -p) and then create the
> symlinks there that are in /usr/local/lib.
>
> An example:
>
> 0 lrwxrwxrwx 1 root root   20 2007-11-08 14:38 libnss_compat.so.2 -> libnss_compat-2.5.so*
>
> to create that, you'd do:
>
> ln -s libnss_compat-2.5.so  lilbness_compat.so.2
>
> (ln -s target link_name)
>
> Then run ldconfig and start again with clean sources.
>
> Sid
>
>
>
Ok, that seems to have worked.  All I had to do was the cp -p 
then when I did the ./configure, make, sudo make install.

Now I'll see if I can get this thing working.  But my question is this:
If I have an always-on connection, what is the advantage of using
a program like LeafNode to read news offline?


-- 
Do you twitter? http://twitter.com
Do you want to be a cranky geek? http://www.crankygeeks.com/
Improving  usenet: http://improve-usenet.org/ (I score GG down by 99)
Mepis32 RLU #451587i,Vista and MacOSXp
Re: Leafnode...WTF is this?
#226428
Author: Sidney Lambe
Date: Mon, 29 Sep 2008 01:33
81 lines
3543 bytes
JohnTheGeek <john@localhost.INVALID> wrote:
> On 2008-09-28, Sidney Lambe <nospam@nospam.invalid> wrote:
>>
>> I've had this problem before.
>>
>> I suggest copying all the pcre libs to /usr/lib (cp -p) and then create the
>> symlinks there that are in /usr/local/lib.
>>
>> An example:
>>
>> 0 lrwxrwxrwx 1 root root   20 2007-11-08 14:38 libnss_compat.so.2 -> libnss_compat-2.5.so*
>>
>> to create that, you'd do:
>>
>> ln -s libnss_compat-2.5.so  lilbness_compat.so.2
>>
>> (ln -s target link_name)
>>
>> Then run ldconfig and start again with clean sources.
>>
>> Sid
>>
>>
>>
> Ok, that seems to have worked.  All I had to do was the cp -p 
> then when I did the ./configure, make, sudo make install.

Good enough.

>
> Now I'll see if I can get this thing working.  But my question is this:
> If I have an always-on connection, what is the advantage of using
> a program like LeafNode to read news offline?

It's very useful to have a local cache. You can review entire threads,
even if a lot of the posts aren't still retained by your newsserver.
Important threads can be saved forever.

You can use leafnode to do the basic filtering on download, then have
another filters file to run with applyfilter to do expensive scoring
locally. 

And you can use your newsreader's scoring/filtering capability to
put the finishing touches on, because it reads from your cache.

It's good to read from the usenet indirectly. Leafnode acts as
a buffer. You don't have to respond immediately, but can take
your time. And the posts are there immediately. You don't have
to download them.

With leafnode you can download from and upload to many different
servers, with the only_groups_pcre config option controlling which groups are
treated with on which servers. Yet still have only one newspool for your
newsreader to access.

There are many free download-only usenet servers out there, and they often
have posts your main server doesn't have. There are also free servers that
allow posting that you might want to use for only particular groups. And
private newsservers, such as:

server = news.gmane.org
only_groups_pcre = gmane\.network\.leafnode

Yyou can put that right in your config file. For multiple groups I use
this syntax:

server =  news.edisontel.com
#noactive = 1
only_groups_pcre = (news\.software\.readers|comp\.os\.linux\.misc|alt\.free\.newsservers|alt\.os\.linux\.slackware)

That's a free, download-only server.

There are probably other good reasons that I can't think of at the moment, but 
leafnode is a usenet tool I wouldn't live without.


Sid



Re: Leafnode...WTF is this?
#226433
Author: andrew
Date: Mon, 29 Sep 2008 06:49
29 lines
2354 bytes
On 2008-09-28, JohnTheGeek <john@localhost.INVALID> wrote:

> I got the source and tried to compile it.  Found out I needed something
> called "pre" so I got it and did the standard ./configure, make, sudo
> make install and it worked, so I went back to the leafnode directory
> and did the configure.  It worked so I went to do a make then sudo make
> install and got a whole pile of errors

If you open up the tarball the most helpful document there is the README
which has some specific directions for Debian based distros.
Specifically the dependency requirements:

#v+
    2. Leafnode depends on the PCRE regular-expression matching library.
       It ships as binary package with many current Linux/BSD
       distributions, and is also available as port for *BSD (Debian
       users: try "apt-get install libpcre3 libpcre3-dev")
#v-

And goes on to detail how to compile from source if this does not work.
Leafnode 2 has unusually thorough documentation and I would recommend
you have it by your side as you install.

  Andrew

-- 
echo 'http://www.andrews-corner.org' | \
sed -e 's/^.\{10\}/usenet/' -e 's/...$/com/' \
-e 's/s-.\{6\}/@gmail/'
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