Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

couldn't build pipe-viewer with debian

17 views
Skip to first unread message

Jude DaShiell

unread,
Jan 3, 2022, 7:40:04 PM1/3/22
to
pipe-viewer youtube-viewer and straw-viewer cannot be built with debian.
The reasons for that are each of those packages require
Term::ReadLine::Gnu and Term::ReadLine::Gnu cannot be built withreadline
2.0. That's an ancient version of readline. I tried with readline 2.01
and my x86_64 equipment wasn't recognized by that package. The readline
versions go all the way up to 8.0 by now and maybe some version that
recognizes x86_64 between 2.01 and 8.0 will be compatible with
Term::ReadLine::Gnu but I haven't found that yet.
The pipe-viewer app when it can run on a system allows for browsing and
downloading of youtube videos in a console environment and there's even a
flavor for gtk. I didn't touch the gtk version since I'm running mostly
console on this system. https://github.com/trizen/pipe-viewer.git is my
source for what couldn't compile. This works in archlinux and also in
slint but not yet in debian. It's a perl build for anyone who would like
to try it too.

Greg Wooledge

unread,
Jan 3, 2022, 9:40:04 PM1/3/22
to
On Mon, Jan 03, 2022 at 07:38:25PM -0500, Jude DaShiell wrote:
> pipe-viewer youtube-viewer and straw-viewer cannot be built with debian.
> The reasons for that are each of those packages require
> Term::ReadLine::Gnu and Term::ReadLine::Gnu cannot be built withreadline
> 2.0. That's an ancient version of readline. I tried with readline 2.01
> and my x86_64 equipment wasn't recognized by that package. The readline
> versions go all the way up to 8.0 by now [...]

The version of the libreadline8 package on bullseye is 8.1-1.

Is there any chance you're conflating the version number of GNU readline
(a C library provided by the bash maintainer, currently version 8.x on
bullseye) with some perl package that has "readline" in its name? Or
that you simply forgot to install libreadline-dev?

Could you show us the actual error message you get when you try to
build it?

Also, what's wrong with the libterm-readline-gnu-perl package in Debian?
Is it too old or something?

unicorn:~$ apt-cache show libterm-readline-gnu-perl
Package: libterm-readline-gnu-perl
Version: 1.37-1
[...]

unicorn:~$ apt-cache show libreadline-dev
Package: libreadline-dev
Source: readline
Version: 8.1-1
[...]

Jude DaShiell

unread,
Jan 3, 2022, 10:00:04 PM1/3/22
to
I forgot to install the -dev package. I'll try this again and see if it
goes through.

Jude DaShiell

unread,
Jan 3, 2022, 10:20:05 PM1/3/22
to
I put libreadline-dev on the machine since that wasn't installed and ran
the instructions in the README.md file in pipe-viewer directory and the
whole package built and installed.
Thanks for the pointer on that -dev file. I'll have to check for those in
the future.
0 new messages