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

Unable to compile calcurse on Ubuntu 18.04 #453

Open
fi-do opened this issue Mar 28, 2023 · 2 comments
Open

Unable to compile calcurse on Ubuntu 18.04 #453

fi-do opened this issue Mar 28, 2023 · 2 comments

Comments

@fi-do
Copy link

fi-do commented Mar 28, 2023

Version information:
calcurse 4.8.0
Ubuntu 18.04
gcc 7.5.0

Bug description:
I try to compile calcurse from the source code. In order to do that, I installed libncurses5. After the configuration step, when executing make, I get the following error:
In file included from calcurse.c:39:0: calcurse.h:49:2: error: #error "Missing ncurses header. Aborting..." #error "Missing ncurses header. Aborting..."
Checking with 'locate ncurses' I am able to find some related files at:

  • /usr/include/ncursesw
  • /lib/i386-linux-gnu/libncurses.so.5
  • /lib/x86_64-linux-gnu/libncurses.so.5
  • /usr/lib/x86_64-linux-gnu/pkgconfig/ncurses.pc
  • ...

Reproduce:

download https://www.calcurse.org/files/calcurse-4.8.0.tar.gz
unpack calcurse-4.8.0.tar.gz
cd calcurse-4.8.0
sudo apt-get install libncurses5-dev libncursesw5-dev
./configure
make

Expected Behavior:
Compile source code

Screenshots:
Configure Output
Make Output

Thanks in advance,
fi-do

@lfos
Copy link
Owner

lfos commented Apr 15, 2023

Have you tried installing libncurses5-dev?

@pmodin
Copy link

pmodin commented Feb 27, 2024

I also got a ncurses error when trying to build (Ubuntu, plus debian and arch via docker), but after reverting bea7349 and wondering why it worked I found out that I was missing autoconf-archive 🤦

$ ./configure
[...]
0.889 ./configure: line 8354: AX_WITH_CURSES: command not found
0.889 configure: error: Either ncurses or ncursesw library is required to build calcurse!

Installing autoconf-archive made everything compile just fine.

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

3 participants