Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-27 Thread Erik Falor
On Wed, Mar 27, 2019 at 07:21:07AM +0100, Vasilij Schneidermann wrote:
> Hello Erik,
> 
> > Let me know if you have any other questions.
> 
> Sorry for being unprecise here, what I meant is what libreadline.so
> links against.

This is on my Raspberry Pi running Slackware-current.

$ ldd /usr/lib/libreadline.so.7
linux-vdso.so.1 (0x7ed09000)
libtinfo.so.6 => /usr/lib/libtinfo.so.6 (0x76ea7000)
libc.so.6 => /lib/libc.so.6 (0x76d1b000)
/lib/ld-linux-armhf.so.3 (0x76f23000)


For comparison, this is one of my Slackware-14.2 machines:

$ ldd /usr/lib64/libreadline.so.6
linux-vdso.so.1 (0x7ffddb379000)
libc.so.6 => /lib64/libc.so.6 (0x7f8845503000)
/lib64/ld-linux-x86-64.so.2 (0x7f8845b15000)


> That aside, you forgot replying to the mailing list as
> well because this email has its Cc: line cleared.

Oops.

-- 
Erik Falor
Registered Linux User #445632http://unnovative.net


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-25 Thread Marco Maggi
Vasilij Schneidermann wrote:

> Hello Marco,

>> Thanks!  I  am trying breadline, but,  after a number of  other eggs are
>> installed  I get  this  error,  most likely  because  I  still have  GNU
>> Readline 6.3  on my Slackware64  14.2 installation (which is  the latest
>> Slackware, sigh!):

> Thanks for the bug report.  I picked a Slackware64 14.1 Docker image,
> installed C5 into it and managed reproducing your issue.  After messing
> around a lot with the system I eventually discovered the reason for this
> error message, on Slackware it's expected that interactive programs link
> against ncurses (which their readline package doesn't, unlike mine).

> I've released a new version of the package now that explicitly links against
> ncurses.  In case you don't want to wait for a day or so for it to
> appear in the coop, execute the following:

> git clone https://github.com/wasamasa/breadline
> cd breadline
> chicken-install

It works, thanks!
-- 
Marco Maggi

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-24 Thread Vasilij Schneidermann
Hello Erik,

> FWIW, breadline builds and loads flawlessly on the in-development
> version of Slackware.

That's interesting.  Could you please post the output of ldd run against
its .so file?  I did this on both Slackware 14.1 and Arch Linux, on
Slackware it wasn't linked against ncurses, on Arch Linux it was.  I got
the hint about linking to ncurses from this forum discussion [1].  Since
ncurses is a readline dependency in any case, I figured it wouldn't hurt
to always link to it.  But who knows, maybe I'll run into a user on
another distro which does things differently and expects them to link
against terminfo or so :)

Vasilij

[1] 
https://forum.segger.com/index.php/Thread/925-libreadline-so-5-undefined-symbol-PC/


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-23 Thread Erik Falor
On Sat, Mar 23, 2019 at 05:29:44PM +0100, Vasilij Schneidermann wrote:
> Hello Marco,
> 
> > Thanks!  I  am trying breadline, but,  after a number of  other eggs are
> > installed  I get  this  error,  most likely  because  I  still have  GNU
> > Readline 6.3  on my Slackware64  14.2 installation (which is  the latest
> > Slackware, sigh!):

I can confirm that this is true on Slackware 14.2.

> Thanks for the bug report.  I picked a Slackware64 14.1 Docker image,
> installed C5 into it and managed reproducing your issue.  After messing
> around a lot with the system I eventually discovered the reason for this
> error message, on Slackware it's expected that interactive programs link
> against ncurses (which their readline package doesn't, unlike mine).

FWIW, breadline builds and loads flawlessly on the in-development
version of Slackware.

> I've released a new version of the package now that explicitly links against
> ncurses.  In case you don't want to wait for a day or so for it to
> appear in the coop, execute the following:
> 
> git clone https://github.com/wasamasa/breadline
> cd breadline
> chicken-install

This is great!  I can confirm that this new version also works well on
Slackware-current.


-- 
Erik Falor
Registered Linux User #445632http://unnovative.net


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] installing breadline Was: is the readline egg dead?

2019-03-23 Thread Vasilij Schneidermann
Hello Marco,

> Thanks!  I  am trying breadline, but,  after a number of  other eggs are
> installed  I get  this  error,  most likely  because  I  still have  GNU
> Readline 6.3  on my Slackware64  14.2 installation (which is  the latest
> Slackware, sigh!):

Thanks for the bug report.  I picked a Slackware64 14.1 Docker image,
installed C5 into it and managed reproducing your issue.  After messing
around a lot with the system I eventually discovered the reason for this
error message, on Slackware it's expected that interactive programs link
against ncurses (which their readline package doesn't, unlike mine).

I've released a new version of the package now that explicitly links against
ncurses.  In case you don't want to wait for a day or so for it to
appear in the coop, execute the following:

git clone https://github.com/wasamasa/breadline
cd breadline
chicken-install

Vasilij


signature.asc
Description: PGP signature
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users