WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Is "Gnu screen" available ?  (Read 2962 times)

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Is "Gnu screen" available ?
« on: November 12, 2022, 08:14:22 AM »
Hello,

I'm looking to install the very useful for my headless server "screen" utility with exists as package as per packages list page.

But loading it is failing :
Code: [Select]
tc@GrosSvG1:~$ tce-load -w Screen.tcz
Downloading: Screen.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: Screen.tcz.md5.txt: No such file or directory
Error on Screen.tcz

Is this package not anymore supported or did I do a mistake ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: Is "Gnu screen" available ?
« Reply #1 on: November 12, 2022, 09:57:27 AM »
Hi destroyedlolo
The link you posted is for TC3.
If you are still running version 3.x, screen.tcz is still available there.

The most recent 32 bit version that has  screen.tcz  available is TC10.
The most recent 64 bit version that has  screen.tcz  available is TC13.

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #2 on: November 13, 2022, 05:08:54 AM »
Thanks for your reply.
I'm running v13.1 in 32b mode.

Is it a way to ask tce-load to download it from previous version or do I have to download it manually ?
Is it safe to do so ?

Thanks

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #3 on: November 13, 2022, 06:26:17 AM »
Is it safe to do so ?
Well, I got my response : NO !
Code: [Select]
tc@GrosSvG1:/mnt/sda2/tce/optional$ screen
screen: error while loading shared libraries: libncursesw.so.5: cannot open shared object file: No such file or directory

Will try to compile on my own : if I succeed, is a way to publish my own package to help to community ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is "Gnu screen" available ?
« Reply #4 on: November 13, 2022, 09:29:33 AM »
An update would be appreciated - see the extension section of the wiki for how to compile/submit.

See also: http://www.tinycorelinux.net/9.x/x86_64/tcz/src/screen/compile_screen

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11703
Re: Is "Gnu screen" available ?
« Reply #5 on: November 13, 2022, 12:25:36 PM »
Hi destroyedlolo
A build script for 32 bit can be found here:
http://www.tinycorelinux.net/7.x/x86/tcz/src/screen/

You will still need to:
Code: [Select]
tce-load -i compiletc ncursesw-dev ncursesw-utils
and change these variables to match the version you are building:
Code: [Select]
SRCNAM=screen-4.4.0.tar.gz
WRKDIR=screen-4.4.0

Here is the latest source package:
https://git.savannah.gnu.org/cgit/screen.git/snapshot/screen-v.4.9.0.tar.gz

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #6 on: November 15, 2022, 03:27:11 AM »
Hi,

I gave up (yet) with screen as other thing are upper in my todo list.

Yesterday, I build my first extension : paho.mqtt.c and will submit today for inclusion in the repo.
It was quite easy to do, so I'll continue 1st with a monitoring tool of my own (based on MQTT), then probably with miniDNLA : I give a try to rygel (which is already packaged) but it has too much dependencies and needs X for configuration. Not suitable for my headless system.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is "Gnu screen" available ?
« Reply #7 on: November 15, 2022, 04:23:26 AM »
I used rygel on an RPi3 headless for a number of years…

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #8 on: November 15, 2022, 10:40:01 AM »
I saw rygel is needing zillion of other packages.
Do you use the "official" extension or a striped down (without X and Rygel-preferences ) ?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14851
Re: Is "Gnu screen" available ?
« Reply #9 on: November 15, 2022, 11:00:36 AM »
I was using the extension from the repo.

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #10 on: November 19, 2022, 05:00:08 PM »
Hi,

Back on screen compilation.

An update would be appreciated - see the extension section of the wiki for how to compile/submit.

See also: http://www.tinycorelinux.net/9.x/x86_64/tcz/src/screen/compile_screen

This compilation procedure doesn't work anymore, as screen 4.9.0 comes without configure ... configured : i need to run autoreconf (./autogen.sh).

I have loaded both autoconf, gettext and compiletc as found on this forum but
Code: [Select]
./autogen.sh
Can't exec "aclocal": No such file or directory at /usr/local/share/autoconf/Autom4te/FileUtils.pm line 274.
autoreconf: error: aclocal failed with exit status: 2

Is aclocal in any extension or do I have to install it as well ?

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #11 on: November 19, 2022, 07:23:53 PM »
Ok found it : I have install automake as well.

Offline destroyedlolo

  • Jr. Member
  • **
  • Posts: 50
    • destroyedlolo's website
Re: Is "Gnu screen" available ?
« Reply #12 on: November 20, 2022, 12:07:16 PM »
Hello,

I submitted Gnu Screen 4.9.0 extension  :)

The build procedure is extensively detailed if someone want to build for other architecture than x86.

Bye

Laurent