Xfennec / progress

Linux tool to show progress for cp, mv, dd, ... (formerly known as cv)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble installing progress

jingxuanlim opened this issue · comments

Hi, I am having trouble installing and compiling progress, and would like to get some help.

yum can't find the package:

$ sudo yum install progress
Last metadata expiration check: 0:02:40 ago on Wed 01 Dec 2021 10:14:30 PM EST.
No match for argument: progress
Error: Unable to find a match: progress

Problems with make

$ cd progress
(master) progress $ make
Makefile:12: *** "ncurses package not found".  Stop.
(master) progress $ sudo make
cc -g -Wall -D_FILE_OFFSET_BITS=64 -c progress.c
Assembler messages:
Fatal error: can't create progress.o: Permission denied
make: *** [Makefile:29: progress.o] Error 1
(master) progress $

Any help appreciated!

From the main page of the project:

It depends on library ncurses, you may have to install corresponding packages (may be something like 'libncurses5-dev', 'libncursesw6' or 'ncurses-devel').

Hi @Xfennec, thanks for responding.

I forgot to mention that ncurses was already installed before I tried to install progress. This is what it says when I tried to install it again.

~ $ sudo yum install ncurses-devel
sensu_stable                                                                            501  B/s | 833  B     00:01
sensu_stable-source                                                                     689  B/s | 819  B     00:01
Package ncurses-devel-6.1-9.20180224.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

What's the Linux distrib ?

Sorry for the delayed reply.

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 7.6 (Nitrogen)
Release:        7.6
Codename:       Nitrogen

I don't know if this is still relevant but I am having trouble installing this on my Rocky Linux 9 server.
Same issue, can't find the package .... and I can't seem to compile it because it can't find a file.

Sorry for my (very) late answer.

@jingxuanlim I can only test on a CentOS Linux release 7.9.2009 (close to Scientific Linux 7.6) and ncurses-devel does the trick. So ncursesw's not present on your system? Can you search the package that may provide this binary?

@vleeuwenmenno You are talking about a missing package? Rocky Linux 9 may have changed the name of ncurses-devel, can you look for the replacement? (ex : dnf provides "*/ncursesw")

Hello, I also have this problem in my server. Sadly I have no access to the sudo so I can only compile ncurses 6.4 on my own directories. I added to my PATH but it still shows this problem. Would you mind helping me with that?

$ lsb_release -a
LSB Version:    :core-4.1-amd64:core-4.1-noarch
Distributor ID: Scientific
Description:    Scientific Linux release 7.9 (Nitrogen)
Release:        7.9
Codename:       Nitrogen

And I believe I have ncurses lib installed correctly:

# s @ w7568 in ~/RDS/.local/lib [21:47:29] 
$ ls
cmake  libform.a    libmenu.a    libncurses.a    libncurses_g.a    libpanel.a    pkgconfig
gcc    libform_g.a  libmenu_g.a  libncurses++.a  libncurses++_g.a  libpanel_g.a  terminfo