🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
23 messages
23 total messages Started by Keith Sat, 02 Mar 2013 20:46
Building SLRN in Ubuntu
#253516
Author: Keith
Date: Sat, 02 Mar 2013 20:46
16 lines
1645 bytes
I have the latest version of Ubuntu and do have the libslang library installed
with the package manager. When I attempt to build slrn it can't find slang.h
that is installed in /usr/include . 
I have tried to use the optional ./configure command to point to that
directory with no success. Anyone know what I need to do to get slrn 
to compile? 

./configure --with-slrnpull --with-slanglib=/usr/include
checking for the slang library and header files ... no
configure: error: unable to find the slang library and header file slang.h

-- 
 
Best Regards, Keith
http://home.comcast.net/~kilowattradio/
Re: Building SLRN in Ubuntu
#253517
Author: Adam Funk
Date: Sat, 02 Mar 2013 21:46
26 lines
2170 bytes
On 2013-03-02, Keith wrote:

> I have the latest version of Ubuntu and do have the libslang library installed
> with the package manager. When I attempt to build slrn it can't find slang.h
> that is installed in /usr/include . 
> I have tried to use the optional ./configure command to point to that
> directory with no success. Anyone know what I need to do to get slrn 
> to compile? 
>
> ./configure --with-slrnpull --with-slanglib=/usr/include
> checking for the slang library and header files ... no
> configure: error: unable to find the slang library and header file slang.h


I don't know if this is the right answer for you, but here's the
command that worked for me:

./configure --with-canlock --with-libiconv --with-libintl \
   --with-ssl --with-slang=/lib/i386-linux-gnu --enable-spool \
   --with-uu


-- 
And remember, while you're out there risking your life and limb
through shot and shell, we'll be in be in here thinking what a
sucker you are.                              [Rufus T. Firefly]
Re: Building SLRN in Ubuntu
#253518
Author: Mike Yetto
Date: Sat, 02 Mar 2013 21:47
22 lines
2280 bytes
In a world where Keith <kilowattradio@gmail.com.REMOVE>
posts to Usenet.
>I have the latest version of Ubuntu and do have the libslang library installed
>with the package manager. When I attempt to build slrn it can't find slang.h
>that is installed in /usr/include . 
>I have tried to use the optional ./configure command to point to that
>directory with no success. Anyone know what I need to do to get slrn 
>to compile? 

>./configure --with-slrnpull --with-slanglib=/usr/include
>checking for the slang library and header files ... no
>configure: error: unable to find the slang library and header file slang.h

I used "--with-slang=/usr" for configure. Check that slang is
really installed with apt-cache or locate slang.h just for
confirmation.

Mike "let us know how that works" Yetto
-- 
"Skeptical scrutiny is the means, in both science and religion,
by which deep thoughts can be winnowed from deep nonsense"
  - Carl Sagan
Re: Building SLRN in Ubuntu
#253519
Author: Adam Funk
Date: Sat, 02 Mar 2013 22:01
33 lines
2421 bytes
On 2013-03-02, Adam Funk wrote:

> On 2013-03-02, Keith wrote:
>
>> I have the latest version of Ubuntu and do have the libslang library installed
>> with the package manager. When I attempt to build slrn it can't find slang.h
>> that is installed in /usr/include . 
>> I have tried to use the optional ./configure command to point to that
>> directory with no success. Anyone know what I need to do to get slrn 
>> to compile? 
>>
>> ./configure --with-slrnpull --with-slanglib=/usr/include
>> checking for the slang library and header files ... no
>> configure: error: unable to find the slang library and header file slang.h
>
>
> I don't know if this is the right answer for you, but here's the
> command that worked for me:
>
> ./configure --with-canlock --with-libiconv --with-libintl \
>    --with-ssl --with-slang=/lib/i386-linux-gnu --enable-spool \
>    --with-uu


Just to clarify, that's on Ubuntu 12.10 32-bit.


-- 
A recent study conducted by Harvard University found that the average
American walks about 900 miles a year. Another study by the AMA found
that Americans drink, on average, 22 gallons of alcohol a year. This
means, on average, Americans get about 41 miles to the gallon.
                 http://www.cartalk.com/content/average-americans-mpg
Re: Building SLRN in Ubuntu
#253520
Author: andrew
Date: Sat, 02 Mar 2013 23:01
17 lines
1565 bytes
On 2013-03-02, Keith <kilowattradio@gmail.com.REMOVE> wrote:

> I have the latest version of Ubuntu and do have the libslang library
> installed with the package manager. When I attempt to build slrn it
> can't find slang.h that is installed in /usr/include . 

Did you have a look at this:

https://help.ubuntu.com/community/slrn

Looks like you need:

sudo apt-get install libslang2-dev 

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253521
Author: Keith
Date: Sun, 03 Mar 2013 03:15
48 lines
2642 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2013-03-02, Adam Funk <a24061@ducksburg.com> wrote:
> On 2013-03-02, Keith wrote:
>
>> I have the latest version of Ubuntu and do have the libslang library installed
>> with the package manager. When I attempt to build slrn it can't find slang.h
>> that is installed in /usr/include . 
>> I have tried to use the optional ./configure command to point to that
>> directory with no success. Anyone know what I need to do to get slrn 
>> to compile? 
>>
>> ./configure --with-slrnpull --with-slanglib=/usr/include
>> checking for the slang library and header files ... no
>> configure: error: unable to find the slang library and header file slang.h
>
>
> I don't know if this is the right answer for you, but here's the
> command that worked for me:
>
> ./configure --with-canlock --with-libiconv --with-libintl \
>    --with-ssl --with-slang=/lib/i386-linux-gnu --enable-spool \
>    --with-uu
>
>

- --with-slang=/lib/i386-linux-gnu

this string worked for me. TU.


- -- 
 
Best Regards, Keith
http://home.comcast.net/~kilowattradio/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEcBAEBAgAGBQJRMr9BAAoJEMDDQVDxK0ImkfMH/i91YWn2/KtUQDgy7Je5uuAP
eXNr30kh462PvvzcZ4Jr/NJvwAFcg4l20i6K414fjGEgUu+SFXxIq+fRtFDa6Vmb
Fbhi3+baPans5dMl2qPv1qbAzER7WGU4E9nyCjTOT/a6pUoqWSxe1U0Qoc5RD2mb
AJOcHaHrCVzBnp/WUTBT+QjyYi0sBr43AbsDnSmnyZNZXi7fUNH6/qo43o26Pkm5
rny8UG9yLGMMUWoOb0dJhKS+rRu+Fq7k4por4rHP+X+t865jkL8JmcJOyjyaAq0Q
rFVkO5NUNWiXMAly8x8oPVn93pG5SXVwbnXUuzsFO59scszqWdyfVp1IDCXsXtU=
=tlC2
-----END PGP SIGNATURE-----
Re: Building SLRN in Ubuntu
#253523
Author: andrew
Date: Sun, 03 Mar 2013 07:05
28 lines
1976 bytes
On 2013-03-03, Keith <kilowattradio@gmail.com.REMOVE> wrote:

> - --with-slang=/lib/i386-linux-gnu
>
> this string worked for me. TU.

Hmmmm... an unusual placement of libslang.so.2.2.4. In Ubuntu Quantal
Quetzal it is found:

andrew@corinth:~$ sudo find / -name libslang.so.2.2.4
/lib/i386-linux-gnu/libslang.so.2.2.4

with a corresponding location for 64bit Ubuntu in
/lib/x86_64-linux-gnu/libslang.so.2.2.4. And in Slackware -current it is
found:

root@skamandros/home/andrew# find / -name libslang.so.2.2.4
/usr/lib64/libslang.so.2.2.4

and the slrn ./configure obviously does not look in the Ubuntu hiding
spot. Not sure if JED would be interested in changing slrn ./configure
to search for this one...

I shall alter the wiki page.

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253524
Author: andrew
Date: Sun, 03 Mar 2013 07:16
14 lines
1634 bytes
On 2013-03-03, andrew <andrew@skamandros.invalid> wrote:

> I shall alter the wiki page.

Perhaps the following should work on both 64 and 32bit systems:

 ./configure --with-slang=/lib/*-linux-gnu

Certainly works on both the 32 and 64bit VMs of Ubuntu that I have at my
disposal, any others testing this would be appreciated...

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253528
Author: Adam Funk
Date: Sun, 03 Mar 2013 21:08
21 lines
1885 bytes
On 2013-03-03, andrew wrote:

> On 2013-03-03, andrew <andrew@skamandros.invalid> wrote:
>
>> I shall alter the wiki page.
>
> Perhaps the following should work on both 64 and 32bit systems:
>
>  ./configure --with-slang=/lib/*-linux-gnu
>
> Certainly works on both the 32 and 64bit VMs of Ubuntu that I have at my
> disposal, any others testing this would be appreciated...


It hadn't occurred to me to use a '*' in that argument.  Good idea.


-- 
Nam Sibbyllam quidem Cumis ego ipse oculis meis vidi in ampulla 
pendere, et cum illi pueri dicerent: beable beable beable; respondebat 
illa: doidy doidy doidy.                                   [plorkwort]
Re: Building SLRN in Ubuntu
#253536
Author: andrew
Date: Mon, 04 Mar 2013 09:23
30 lines
2328 bytes
On 2013-03-03, Adam Funk <a24061@ducksburg.com> wrote:

> It hadn't occurred to me to use a '*' in that argument.  Good idea.

Mind you a more permanent solution may be with this patch that I have
cobbled together, if it works ok on your system I will send it on to JED
unless he is watching here:

#v+

diff -Naur a/configure b/configure
--- a/configure	2012-01-16 18:50:47.000000000 +1100
+++ b/configure	2013-03-04 20:11:23.993033492 +1100
@@ -13300,6 +13300,8 @@
 	 /usr/include/slang,/usr/lib \
 	 /usr/slang/include,/usr/slang/lib \
 	 /usr/include,/usr/lib \
+	 /usr/include,/usr/lib/x86_64-linux-gnu \
+	 /usr/include,/usr/lib/i386-linux-gnu \
 	 /opt/include/slang,/opt/lib \
 	 /opt/slang/include,/opt/slang/lib \
 	 /opt/include,/opt/lib"

#v-

I have tested this on 32bit and 64bit Ubuntu and it works well.. 

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253535
Author: John E. Davis
Date: Mon, 04 Mar 2013 14:05
14 lines
1897 bytes
On Mon, 04 Mar 2013 20:23:26 +1100, andrew <andrew@skamandros.invalid>
wrote:
> Mind you a more permanent solution may be with this patch that I have
> cobbled together, if it works ok on your system I will send it on to JED
> unless he is watching here:

What do the following produce?

  $ pkg-config --libs slang
  $ pkg-config --cflags slang

Thanks,
--John
Re: Building SLRN in Ubuntu
#253538
Author: andrew
Date: Mon, 04 Mar 2013 18:43
31 lines
2175 bytes
On 2013-03-04, John E. Davis <jed@jedsoft.org> wrote:
> On Mon, 04 Mar 2013 20:23:26 +1100, andrew <andrew@skamandros.invalid>
> wrote:
>> Mind you a more permanent solution may be with this patch that I have
>> cobbled together, if it works ok on your system I will send it on to JED
>> unless he is watching here:
>
> What do the following produce?
>
>   $ pkg-config --libs slang
>   $ pkg-config --cflags slang

on the 64bit Ubuntu:

andrew@corinth:~$ pkg-config --libs slang
-lslang  
andrew@corinth:~$ pkg-config --cflags slang
 
andrew@corinth:~$ 

and on the 32bit:

andrew@corinth:~$ pkg-config --libs slang
-lslang  
andrew@corinth:~$ pkg-config --cflags slang
 
andrew@corinth:~$ 

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253612
Author: Adam Funk
Date: Thu, 14 Mar 2013 12:49
21 lines
2045 bytes
On 2013-03-04, andrew wrote:

> On 2013-03-03, Adam Funk <a24061@ducksburg.com> wrote:
>
>> It hadn't occurred to me to use a '*' in that argument.  Good idea.
>
> Mind you a more permanent solution may be with this patch that I have
> cobbled together, if it works ok on your system I will send it on to JED
> unless he is watching here:


Sorry for the delay in helping ... just to clarify, you want me to
patch the configure file & then do my usual configure-make-install
procedure but without the --with-slang option to configure?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Re: Building SLRN in Ubuntu
#253623
Author: andrew
Date: Thu, 14 Mar 2013 18:25
21 lines
2125 bytes
On 2013-03-14, Adam Funk <a24061@ducksburg.com> wrote:
> On 2013-03-04, andrew wrote:
>
>> On 2013-03-03, Adam Funk <a24061@ducksburg.com> wrote:
>>
>>> It hadn't occurred to me to use a '*' in that argument.  Good idea.
>>
>> Mind you a more permanent solution may be with this patch that I have
>> cobbled together, if it works ok on your system I will send it on to JED
>> unless he is watching here:
>
>
> Sorry for the delay in helping ... just to clarify, you want me to
> patch the configure file & then do my usual configure-make-install
> procedure but without the --with-slang option to configure?

Yes, this certainly worked on my system.

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#253872
Author: Adam Funk
Date: Mon, 18 Mar 2013 10:48
36 lines
2544 bytes
On 2013-03-14, andrew wrote:

> On 2013-03-14, Adam Funk <a24061@ducksburg.com> wrote:
>> On 2013-03-04, andrew wrote:
>>
>>> On 2013-03-03, Adam Funk <a24061@ducksburg.com> wrote:
>>>
>>>> It hadn't occurred to me to use a '*' in that argument.  Good idea.
>>>
>>> Mind you a more permanent solution may be with this patch that I have
>>> cobbled together, if it works ok on your system I will send it on to JED
>>> unless he is watching here:
>>
>>
>> Sorry for the delay in helping ... just to clarify, you want me to
>> patch the configure file & then do my usual configure-make-install
>> procedure but without the --with-slang option to configure?
>
> Yes, this certainly worked on my system.

I can confirm the patch worked for me with the following commands:


./configure --with-canlock --with-libiconv --with-libintl --with-ssl --enable-spool --with-uu
make
sudo make install


Thanks.


-- 
...the reason why so many professional artists drink a lot is not
necessarily very much to do with the artistic temperament, etc.  It is
simply that they can afford to, because they can normally take a large
part of a day off to deal with the ravages.          [Amis _On Drink_]
Re: Building SLRN in Ubuntu
#253877
Author: andrew
Date: Mon, 18 Mar 2013 18:43
16 lines
1943 bytes
On 2013-03-18, Adam Funk <a24061@ducksburg.com> wrote:

> I can confirm the patch worked for me with the following commands:
>
>
> ./configure --with-canlock --with-libiconv --with-libintl --with-ssl --enable-spool --with-uu
> make
> sudo make install

Thanks for looking at this. I have to admit that my time with Ubuntu is
pretty much at an end, just a couple of VMs tucked away now, but I still
cannot resist dabbling :).

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#255297
Author: John E. Davis
Date: Tue, 23 Jul 2013 03:51
17 lines
1898 bytes
On Sun, 03 Mar 2013 18:05:25 +1100, andrew <andrew@skamandros.invalid>
wrote:
> On 2013-03-03, Keith <kilowattradio@gmail.com.REMOVE> wrote:
>
>> - --with-slang=/lib/i386-linux-gnu
>>
>> this string worked for me. TU.
[...]
> and the slrn ./configure obviously does not look in the Ubuntu hiding
> spot. Not sure if JED would be interested in changing slrn ./configure
> to search for this one...

I would appreciate it if you try the latest snapshot.  I added support
for parsing /etc/ld.so.conf.

Thanks,
--John
Re: Building SLRN in Ubuntu
#255298
Author: andrew
Date: Tue, 23 Jul 2013 09:30
17 lines
1756 bytes
On 2013-07-23, John E. Davis <jed@jedsoft.org> wrote:

> I would appreciate it if you try the latest snapshot.  I added support
> for parsing /etc/ld.so.conf.

I have drifted a long way from Ubuntu but I have opened up a VM of the
latest Ubuntu and with the latest git all seems well:

#v+
checking for the slang library and header files ... yes: /usr/lib/i386-linux-gnu and /usr/include
#v-

Thanks again JED :)

Andrew
-- 
Do you think that's air you're breathing?
Re: Building SLRN in Ubuntu
#255302
Author: Adam Funk
Date: Thu, 25 Jul 2013 11:14
51 lines
2762 bytes
On 2013-07-23, John E. Davis wrote:

> On Sun, 03 Mar 2013 18:05:25 +1100, andrew <andrew@skamandros.invalid>
> wrote:
>> On 2013-03-03, Keith <kilowattradio@gmail.com.REMOVE> wrote:
>>
>>> - --with-slang=/lib/i386-linux-gnu
>>>
>>> this string worked for me. TU.
> [...]
>> and the slrn ./configure obviously does not look in the Ubuntu hiding
>> spot. Not sure if JED would be interested in changing slrn ./configure
>> to search for this one...
>
> I would appreciate it if you try the latest snapshot.  I added support
> for parsing /etc/ld.so.conf.

I just did 'git pull' in my slrn checkout, ran the following command:

./configure --with-canlock --with-libiconv --with-libintl --with-ssl --enable-spool --with-uu

and noticed the following warnings in the output:

configure: WARNING: unrecognized options: --with-libiconv, --with-libintl


I guess those options are no longer in use, but 'slrn --version' shows
iconv in the compilation options.


slrn pre1.0.2-9
	* Note: This version is a developer preview.
S-Lang Library Version: 2.2.4
Compiled on: Jul 25 2013 12:00:09
Operating System: Linux

COMPILE TIME OPTIONS:
 Backends: +nntp -slrnpull +spool
 External programs / libs: +canlock -inews +ssl -uudeview +iconv
 Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
    -grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
 Using 64 bit integers for article numbers.

DEFAULTS:
 Default server object:     nntp
 Default posting mechanism: nntp


-- 
The generation of random numbers is too important to be left to
chance.                                     [Robert R. Coveyou]
Re: Building SLRN in Ubuntu
#255306
Author: John E. Davis
Date: Thu, 25 Jul 2013 21:59
15 lines
2002 bytes
On Thu, 25 Jul 2013 12:14:13 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> configure: WARNING: unrecognized options: --with-libiconv, --with-libintl

The iconv.m4 macros that slrn uses implement the following options:

#v+
  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir
#v-

Thanks,
--John
Re: Building SLRN in Ubuntu
#255310
Author: Adam Funk
Date: Sat, 27 Jul 2013 10:23
32 lines
2378 bytes
On 2013-07-25, John E. Davis wrote:

> On Thu, 25 Jul 2013 12:14:13 +0100, Adam Funk <a24061@ducksburg.com>
> wrote:
>> configure: WARNING: unrecognized options: --with-libiconv, --with-libintl
>
> The iconv.m4 macros that slrn uses implement the following options:
>
> #v+
>   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
>   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
>   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
>   --without-libintl-prefix     don't search for libintl in includedir and libdir
> #v-


I can see from the 'slrn --version' output that it's automatically
picked up "+iconv" --- does it mean anything that there is nothing
like "+intl" there?  

And what is libintl anyway?  I can't remember why I used to use that
configure option!

Thanks,
Adam



-- 
The internet is quite simply a glorious place. Where else can you find
bootlegged music and films, questionable women, deep seated xenophobia
and amusing cats all together in the same place?         [Tom Belshaw]
Re: Building SLRN in Ubuntu
#255370
Author: John E. Davis
Date: Tue, 30 Jul 2013 18:18
9 lines
1786 bytes
On Sat, 27 Jul 2013 11:23:47 +0100, Adam Funk <a24061@ducksburg.com>
wrote:
> And what is libintl anyway?  I can't remember why I used to use that
> configure option!

It adds native language support so that slrn error messages, prompts,
etc appear in the native language, e.g., spanish.

--John
Re: Building SLRN in Ubuntu
#255383
Author: Adam Funk
Date: Thu, 01 Aug 2013 00:53
18 lines
2028 bytes
On 2013-07-30, John E. Davis wrote:

> On Sat, 27 Jul 2013 11:23:47 +0100, Adam Funk <a24061@ducksburg.com>
> wrote:
>> And what is libintl anyway?  I can't remember why I used to use that
>> configure option!
>
> It adds native language support so that slrn error messages, prompts,
> etc appear in the native language, e.g., spanish.

OK!  I have no idea why I used to use that option.  Is the language
support included by default now?


-- 
"Gonzo, is that the contract from the devil?"
"No, Kermit, it's worse than that. This is the bill from special
effects."
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