Software [SOLVED] screen command not upgrading?


gamelaw

Still Fresh
Joined
Oct 29, 2010
Messages
10
Latest firmware comes with screen version 4.00.03 - which does not support vertical split panes. Version 4.0.1 and above do. Opkg repo has version screen - 4.0.3-r1.5. But when I try to upgrade, the system will not let me:

Code:
openpandora:~$ screen -version
Screen version 4.00.03 (FAU) 23-Oct-06
openpandora:~$ sudo opkg remove screen
Password:
Collected errors:
 * print_dependents_warning: Package screen is depended upon by packages:
 * print_dependents_warning:    task-pandora-core
 * print_dependents_warning: These might cease to work if package screen is removed.

 * print_dependents_warning: Force removal of this package with --force-depends.
 * print_dependents_warning: Force removal of this package and its dependents
 * print_dependents_warning: with --force-removal-of-dependent-packages.
openpandora:~$ sudo opkg --force-depends remove screen
Removing package screen from root...
openpandora:~$ screen -version
-bash: /usr/bin/screen: No such file or directory
openpandora:~$ sudo opkg install screen
Installing screen (4.0.3-r1.5) to root...
Downloading http://openpandora.org/feeds/unstable/armv7a/screen_4.0.3-r1.5_armv7a.ipk.
Configuring screen.
openpandora:~$ screen -version
Screen version 4.00.03 (FAU) 23-Oct-06

The only thing I can think of is that the repo version dropped the leading zeros and is in fact the same as the run-time version.

Can someone make an updated screen command? While you're at it, I'd like to throw my vote in there that all of the CLI-love commands need to be true terminal commands for those of us who live SSH'ed into our Pandoras.

Randel
 
Tried opkg upgrade for you, and installing the -dev version, but did not succeed.

Software is here: http://ftp.gnu.org/gnu/screen/ and as you can see there, there is a time gap between 2008 and 2014 so taking the 2008.
And compiler here: http://repo.openpandora.org/?page=detail&app=codeblocks6022 (too big, I used the old one)
With instructions: https://pandorawiki.org/Compile_on_the_Pandora

Codeblock has 2 items, we run: in Menu / Development / Dev. Command Line Interface

We untar the data, then run "make" twice. (too lazy for the readme)... and after 3 minutes a compiled version rolls out, and we run it:

Code:
./screen

Screen version 4.00.03 (FAU) 23-Oct-06
:
:
D'oh!
[doublepost=1561579419,1561577296][/doublepost]./configure && make for the latest produces a weird binary that has errors.

Here is 4.2.0 Hope I didn't forget libs
 

Attachments

  • screen.zip
    275.8 KB · Views: 225
FBnil,

Thank you for putting in that effort. I didn't know where you intended the screen & lib to go so I just put them in my ~/ directory.
When I run your screen build, I get:

Code:
openpandora:~$ ./screen             
./screen: error while loading shared libraries:
libncursesw.so.5:
cannot open shared object file: No such file or directory

I noticed by a forum search that at one point CLI-Love had the same problem. Any advice?

Thank you, again!

Randel
 
Last edited:
It works!!!

I'll I had to do, after installing FBnil's screen, was:
Code:
openpandora:~$ sudo opkg install ncurses
Upgrading ncurses on root from 5.4-r19.5 to 5.9-r2.5...
Downloading http://openpandora.org/feeds/unstable/armv7a/ncurses_5.9-r2.5_armv7a.ipk.
Configuring ncurses.

Then when I got:

Code:
openpandora:~$ ./screen
./screen: error while loading shared libraries:
libelf.so.1: cannot open shared object file:
No such file or directory

I just:

Code:
openpandora:~:$ sudo cp ./libelf.so.1 /lib

And now it works!!! Thank you so much, FBnil!!!
 
Thanks for posting that @randelreiss because I already had done a "opkg upgrade" (all the libs were already in the higher version), the make linked to the newer libraries. So I could not find the problem... *pfew*
 
Back
Top