Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing progress #165

Open
jingxuanlim opened this issue Dec 2, 2021 · 7 comments
Open

Trouble installing progress #165

jingxuanlim opened this issue Dec 2, 2021 · 7 comments

Comments

@jingxuanlim
Copy link

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!

@Xfennec
Copy link
Owner

Xfennec commented Dec 2, 2021

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').

@jingxuanlim
Copy link
Author

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!

@Xfennec
Copy link
Owner

Xfennec commented Dec 3, 2021

What's the Linux distrib ?

@jingxuanlim
Copy link
Author

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

@vleeuwenmenno
Copy link

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.

@Xfennec
Copy link
Owner

Xfennec commented Mar 13, 2023

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")

@YuyangXueEd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants